Skip to content
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

Closed
qgib opened this issue Dec 11, 2006 · 11 comments
Closed

Don't display the qgis window on a second monitor that isn't present #10499

qgib opened this issue Dec 11, 2006 · 11 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 11, 2006

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.

@qgib
Copy link
Contributor Author

qgib commented Dec 14, 2006

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).


  • resolution was changed from to wontfix
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Dec 14, 2006

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.


  • status_id was changed from Closed to Feedback
  • resolution was changed from wontfix to

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2006

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.


  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Nov 30, 2007

Author Name: Tom Elwertowski (Tom Elwertowski)


Fixed by cbaff6a (SVN r7697).


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented May 9, 2008

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)


  • status_id was changed from Closed to Feedback
  • resolution was changed from fixed to

@qgib
Copy link
Contributor Author

qgib commented May 14, 2008

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.

@qgib
Copy link
Contributor Author

qgib commented May 16, 2008

Author Name: Tom Elwertowski (Tom Elwertowski)


The Trolltech Task Tracker entry for this bug is
"211712":http://trolltech.com/developer/task-tracker/index_html?method=entry&id=211712.

@qgib
Copy link
Contributor Author

qgib commented Jul 14, 2008

Author Name: Tim Sutton (Tim Sutton)


Reviewed the bug on trolltech tracker...the issue still seems to be pending.

@qgib
Copy link
Contributor Author

qgib commented Apr 20, 2009

Author Name: Paolo Cavallini (@pcav)


It seems a problem outside QGIS reach: now thet it has been forwarded upstream, better closing it here?

@qgib
Copy link
Contributor Author

qgib commented Dec 8, 2009

Author Name: Giovanni Manghi (@gioman)


The ticket on the qt bug tracker has been closed: expired (Scheduled for? Some future release).

Better closing this?

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2010

Author Name: Paolo Cavallini (@pcav)


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib added Feature Request GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib added this to the Version 1.5.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant