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

#1019: winGRASS: 'layer manager' window hidden by 'mapdisplay' windows
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#1019: winGRASS: 'layer manager' window hidden by 'mapdisplay' windows
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Keywords: wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hellik):

Replying to [ticket:1019 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?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1019#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1019: winGRASS: 'layer manager' window hidden by 'mapdisplay' windows
--------------------------+-------------------------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: wingrass
  Platform: MSWindows 7 | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1019#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>