[GRASS-dev] [GRASS GIS] #1019: winGRASS: 'layer manager' window hidden by 'mapdisplay' windows

GRASS GIS trac at osgeo.org
Sun Mar 21 12:24:57 EDT 2010


#1019: winGRASS: 'layer manager' window hidden by 'mapdisplay' windows
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.0                    
Component:  wxGUI        |     Version:  svn-releasebranch64      
 Keywords:  wingrass     |    Platform:  MSWindows 7              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1019>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list