Opened 15 years ago
Closed 14 years ago
#1019 closed enhancement (fixed)
winGRASS: 'layer manager' window hidden by 'mapdisplay' windows
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | wingrass | Cc: | |
CPU: | Unspecified | Platform: | MSWindows 7 |
Description
The stacking order of the 'layer manager' window and the 'map display' windows are suboptimal: Currently on XP, Windows7 (more?) the wxGUI opens and the layer manager window is in the background which the empty map display overlaying it and hiding the menu.
Related answer from ML:
On Wed, Jan 20, 2010 at 7:41 AM, Glynn Clements wrote:
I don't think that it's a bug as such, just that you don't have precise guarantees as to the order in which some things happen.
You may be able to solve the issue by adding an idle handler, and moving the layer manager to the top the first time that it triggers.
Alternatively, wait for the first EVT_PAINT event on the display window, and move the layer manager to the top at that point. EVT_PAINT shouldn't occur until the window has been realised.
Idea: Perhaps the map display could be opened, then sleep some nanoseconds, then open the menu to enforce it to open over (after) the empty map display?
Markus
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 14 years ago
Replying to neteler:
The stacking order of the 'layer manager' window and the 'map display' windows are suboptimal: Currently on XP, Windows7 (more?) the wxGUI opens and the layer manager window is in the background which the empty map display overlaying it and hiding the menu.
Related answer from ML:
On Wed, Jan 20, 2010 at 7:41 AM, Glynn Clements wrote:
I don't think that it's a bug as such, just that you don't have precise guarantees as to the order in which some things happen.
You may be able to solve the issue by adding an idle handler, and moving the layer manager to the top the first time that it triggers.
Alternatively, wait for the first EVT_PAINT event on the display window, and move the layer manager to the top at that point. EVT_PAINT shouldn't occur until the window has been realised.
Idea: Perhaps the map display could be opened, then sleep some nanoseconds, then open the menu to enforce it to open over (after) the empty map display?
Markus
still an issue, closing the ticket?
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
AFAIK it has been fixed with the resizing/repositioning of the wxGUI. Closing.
In Vista things are eaven worse - sometimes when WxGUI Layer window is below Map window, clicking on Layer window in task bar doesn't bring it up. I have to click two or more times on Layer manager window in taskbar to bring it forward. No idea why Vista so much dislikes wxgui windows, still there migh be something specific how those windows are created/defined.