6.4rc5: wxgui display problems

7 messages Options
Embed this post
Permalink
Moritz Lennert

6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
Working with 6.4rc5 compiled as deb packages on Ubuntu Intrepid, many of
my students had trouble with the map display in the wxgui, today. I've not
been able to reproduce it systematically, yet, and so am hesitant to file
this as a bug, but would like to know if others have seen something
similar.

Sometimes, the map display does not seem to refresh properly. Symptoms can
be:

- zooming in the display shows you the new zoomed map, but also the same
map in the previous zoom state.

- adding a new layer does not make this layer appear in the map display

- changing colors or other display parameters does not change the
appearance of the map, even after a full redraw of all maps

Saving the workspace, closing the display and then reloading the workspace
normally solves the problem.

Any hints of what might cause this and/or where I should look for more info ?

Moritz

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink

Moritz wrote:
> - changing colors or other display parameters does not change the
> appearance of the map, even after a full redraw of all maps
>
> Saving the workspace, closing the display and then
> reloading the workspace
> normally solves the problem.
>
> Any hints of what might cause this and/or where I should
> look for more info ?

you will find some more about this in the mailing list archives.


in this case r.colors modifies a support file for the map but the GUI
has no way of knowing that has happened. each render-layer in the map
display is cached separately and only recomposed if the GUI knows
that something has changed. finally all render-layers are sandwiched
with appropriate transparency into the image you see in the map display.

in the gis.m tcltk GUI Map Display window the top left button is "redraw",
but the second button in is "force redraw". After using r.colors or
similar to modify a map you'll need to hit the "force redraw" button.

not sure about the wxGUI, I don't have that near me right now, but I
expect there will be a similar button.


Hamish



     

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
hamish-2

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
In reply to this post by Moritz Lennert

Moritz Lennert wrote:

> Working with 6.4rc5 compiled as deb
> packages on Ubuntu Intrepid, many of
> my students had trouble with the map display in the wxgui,
> today. I've not
> been able to reproduce it systematically, yet, and so am
> hesitant to file
> this as a bug, but would like to know if others have seen
> something similar.
>
> Sometimes, the map display does not seem to refresh
> properly. Symptoms can be:
>
> - zooming in the display shows you the new zoomed map, but
> also the same map in the previous zoom state.

are the stale map layers actually a decorations? (grid, scalebar,
thematic layer, etc)
 
> - adding a new layer does not make this layer appear in the
> map display

hit the redraw button or tick the "[] always Render" box on the bottom
right of the map display window?


H



     

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Moritz Lennert

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
Sorry, apparently I was not clear enough:

On Thu, July 2, 2009 09:44, Hamish wrote:

>
> Moritz wrote:
>> - changing colors or other display parameters does not change the
>> appearance of the map, even after a full redraw of all maps
>>
>
> in this case r.colors modifies a support file for the map but the GUI
> has no way of knowing that has happened. each render-layer in the map
> display is cached separately and only recomposed if the GUI knows
> that something has changed. finally all render-layers are sandwiched
> with appropriate transparency into the image you see in the map display.

I know about the redraw, but this isn't the issue (actually we were
working with vectors where this is not a problem). Even a redraw does not
change the display.


On Thu, July 2, 2009 09:47, Hamish wrote:
>
> Moritz Lennert wrote:
>> - zooming in the display shows you the new zoomed map, but
>> also the same map in the previous zoom state.
>
> are the stale map layers actually a decorations? (grid, scalebar,
> thematic layer, etc)

No, it is the actual (in this case vector) map.


>> - adding a new layer does not make this layer appear in the
>> map display
>
> hit the redraw button or tick the "[] always Render" box on the bottom
> right of the map display window?

All of this has no effect. As mentioned, I have to save the workspace
file, close the workspace and reload the workspace to get correct display.

This has just bitten me again, but still not way of predicting when this
might happen...

Moritz

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
In reply to this post by Moritz Lennert
Hi,

2009/7/1 Moritz Lennert <[hidden email]>:
> Working with 6.4rc5 compiled as deb packages on Ubuntu Intrepid, many of
> my students had trouble with the map display in the wxgui, today. I've not
> been able to reproduce it systematically, yet, and so am hesitant to file
> this as a bug, but would like to know if others have seen something
> similar.

I remember that the last time when I used GRASS/wxGUI for daily
teaching GIS at the university (in the of the winter semester) I was
facing to the similar problems. Currently I do not use GRASS for daily
work/teaching, so I forgot about this hardly definable bug. In the
worst case I will check it in the beginning of the winter semester.

Sorry I have not better solution right now, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Moritz Lennert

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
On 06/07/09 15:51, Martin Landa wrote:

> Hi,
>
> 2009/7/1 Moritz Lennert <[hidden email]>:
>> Working with 6.4rc5 compiled as deb packages on Ubuntu Intrepid, many of
>> my students had trouble with the map display in the wxgui, today. I've not
>> been able to reproduce it systematically, yet, and so am hesitant to file
>> this as a bug, but would like to know if others have seen something
>> similar.
>
> I remember that the last time when I used GRASS/wxGUI for daily
> teaching GIS at the university (in the of the winter semester) I was
> facing to the similar problems. Currently I do not use GRASS for daily
> work/teaching, so I forgot about this hardly definable bug. In the
> worst case I will check it in the beginning of the winter semester.

This problem seems to show up when the Map Display windows was covered
by some other window. So, maybe some issue between the GUI and the
general Window Manager (in this case Metacity in GNOME) ?

Moritz
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Moritz Lennert

Re: 6.4rc5: wxgui display problems

Reply Threaded More More options
Print post
Permalink
On 07/07/09 09:28, Moritz Lennert wrote:

> On 06/07/09 15:51, Martin Landa wrote:
>> Hi,
>>
>> 2009/7/1 Moritz Lennert <[hidden email]>:
>>> Working with 6.4rc5 compiled as deb packages on Ubuntu Intrepid, many of
>>> my students had trouble with the map display in the wxgui, today.
>>> I've not
>>> been able to reproduce it systematically, yet, and so am hesitant to
>>> file
>>> this as a bug, but would like to know if others have seen something
>>> similar.
>>
>> I remember that the last time when I used GRASS/wxGUI for daily
>> teaching GIS at the university (in the of the winter semester) I was
>> facing to the similar problems. Currently I do not use GRASS for daily
>> work/teaching, so I forgot about this hardly definable bug. In the
>> worst case I will check it in the beginning of the winter semester.
>
> This problem seems to show up when the Map Display windows was covered
> by some other window. So, maybe some issue between the GUI and the
> general Window Manager (in this case Metacity in GNOME) ?

To continue on this: most of the time, I seem to be able to correct the
problem by dezooming and rezooming again...

Moritz
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev