Ticket #1019 (closed enhancement: fixed)

Opened 2 years ago

Last modified 15 months ago

winGRASS: 'layer manager' window hidden by 'mapdisplay' windows

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: wxGUI Version: svn-releasebranch64
Keywords: wingrass Cc:
Platform: MSWindows 7 CPU: Unspecified

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

  Changed 2 years ago by marisn

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.

in reply to: ↑ description   Changed 15 months ago by hellik

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?

  Changed 15 months ago by neteler

  • status changed from new to closed
  • resolution set to fixed

AFAIK it has been fixed with the resizing/repositioning of the wxGUI. Closing.

Note: See TracTickets for help on using tickets.