New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't display the qgis window on a second monitor that isn't present #10499
Comments
Author Name: Gary Sherman (@g-sherman) QGIS stores the window geometry (position and size) on exit and restores it the next time you run it. It has no way of knowing about your monitor configuration and blindly (no pun intended) restores the last used position. I've seen this happen with other applications that go from a dual monitor setup to a single monitor. The only work around at this point is to edit your QGIS preferences and delete the geometry so it will start up in a default position. You can find the preferences in ~/Library/Preferences/org.qgis.qgis.plist. Edit Geometry.x and Geometry.y to a sane value for the Powerbook (eg. 50,50).
|
Author Name: anonymous - (anonymous -) Qt provides the class QDesktopWidget, which provides access to screen information on multi-head systems. This would allow qgis to deal better with moving from a multi-head display to a single-head display. I'd call this an enhancement for a future version.
|
Author Name: Tom Elwertowski (Tom Elwertowski) Qt 4.2 provides new QWidget methods saveGeometry and restoreGeometry which will adjust geometry if the saved location is not visible. The only drawback to using these methods is that a binary object rather than user editable coordinates are stored in the preferences file.
|
Author Name: Tom Elwertowski (Tom Elwertowski) Fixed by cbaff6a (SVN r7697).
|
Author Name: LarsSt - (LarsSt -) problem still exists for toolbars. If the toolbar is placed on a second screen it is 'lost' if this monitor is disconnected. To switch the toolbar off and on again does not fix this problem. (MacOS 10.5.2 / QGIS 0.10)
|
Author Name: Tom Elwertowski (Tom Elwertowski) The lost toolbar is a Qt bug. I have submitted a report to Trolltech. If you have Apple's Developer Tools installed, you can recover the toolbar by using the Property List Editor to delete the UI.state property in ~/Library/Preferences/org.qgis.qgis.plist You can also delete the plist file but you will loose all qgis settings. |
Author Name: Tom Elwertowski (Tom Elwertowski) The Trolltech Task Tracker entry for this bug is |
Author Name: Tim Sutton (Tim Sutton) Reviewed the bug on trolltech tracker...the issue still seems to be pending. |
Author Name: Paolo Cavallini (@pcav) It seems a problem outside QGIS reach: now thet it has been forwarded upstream, better closing it here? |
Author Name: Giovanni Manghi (@gioman) The ticket on the qt bug tracker has been closed: expired (Scheduled for? Some future release). Better closing this? |
Author Name: Paolo Cavallini (@pcav)
|
Author Name: fosnight-usgs-gov - (fosnight-usgs-gov -)
Original Redmine Issue: 440
Redmine category:gui
Assignee: Tom Elwertowski
I use a Powerbook G4 running Mac OS 10.4.8 with a 2nd monitor at work, but frequently use the Powerbook at home and on travel without the second monitor. If QGIS is used with an extended Desktop with the QGIS window open in the 2nd monitor, when I next use QGIS without the second monitor QGIS does not seem to realize that the 2nd monitor is no longer available. I was not able to get QGIS to open a window on the Powerbook monitor.
The text was updated successfully, but these errors were encountered: