Menu

#1036 Window position outside screen after using two monitors

open
Interface (150)
5
2012-11-08
2012-02-19
Anonymous
No

I've used Jabref with two monitors and located on the 2nd monitor. After restarting Jabref with only one monitor attached, it was not visible nor movable. I would have expected Jabref to notice that the requested window position isn't available and relocate. (the setting of the Y-value was -900, as the second screen was positioned above the first).

Cheers.

Discussion

  • Anonymous

    Anonymous - 2012-02-19

    Forgot to mention: Jabref 2.7.2 on Windows 7, with Java 6.30

     
  • Morten Omholt Alver

    Does the Y-value setting of -900 work fine when the second monitor is kept attached? Just checking; I couldn't immediately see how to obtain the actual min/max screen limits, while the *dimensions* are simple enought to get. But I'm sure there must be a way.

     
  • Morten Omholt Alver

    Ok, I think I've got it, but I don't have any easy way to test it. If you want to help out with testing, you can download a test version here:

    http://dl.dropbox.com/u/15909095/JabRef-screentest.jar

    This version should print some screen information when starting up, which you can find by opening Help -> Show error console. When only one screen is present, it makes sure not to place the window above or to the left of the screen, in addition to testing for too-large window sizes that was already present. I'm not sure if there might be a need for additional checks even when more than one screen is present.

     

Log in to post a comment.