Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1056 Incorrect popup placement

2.1final
open
Gerd Wagner
None
5
2013-02-14
2012-10-19
Marek
No

Popup placement is not working as intended. Sometimes the popup window X coordinate is out of main window boundary. Also the "BelowPreffered" placement is not working, please see the attached screenshot, I used bookmark popup as example (CTRL+J).

Discussion

  • Marek
    Marek
    2012-10-19

    This is fully visible popup window at full size

     
  • Marek
    Marek
    2012-10-19

    Here the popup should show "Above" the cursor and also 'X' position should be zero instead of a negative vaule, there is enough space on the right side

     
  • I am unable to reproduce this issue.. Can you supply the steps you use to reproduce? Thanks!

     
  • Gerd Wagner
    Gerd Wagner
    2013-01-08

    • labels: Core -->
    • assigned_to: Colin Bell --> Gerd Wagner
    • milestone: --> 2.1final
     
  • Marek
    Marek
    2013-02-14

    Steps:
    1.Change SQL panel layout to horizontal and arrange it similarly as on my screens.
    2. Add some bookmarks into the bookmark manager and use long name / description.
    3. Go to the SQL editor panel a enter last visible line, then press CTRL+J to open bookmark manager popup window.

    As a fix for the X coordinate, I've modified file: /trunk/sql12/fw/src/main/java/net/sourceforge/squirrel_sql/fw/completion/PopupManager.java

     
    Attachments