#1759: Selecting maps in dropdown menu: slider to move up/down maps does not work
------------------------+---------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: Default | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
When running GRASS (6.4 or 7.0) under Ubuntu (11.10 and 12.04), the slider
to move up/down in the dropdown list of maps does not work. It does appear
(see attached screenshot), but when clicking on it it disappears.
This affects all screens with the option to select a layer (i.e., the gui
of almost all grass functions)
It is also not possible to move down or up the list with maps using the
keyboard arrow (should that be a feature request?). Thus, the only two
ways to select maps is by scrolling using the mouse wheel, or, when one
wants to select one map only, typing in the first letter(s) of the map
name.
Although specific to Ubuntu (I suspect), it does seriously affect the user
experience of these users (not to be overly dramatic, but to illustrate
the problem, I finally got to report this because I am getting RSI
problems due to too much use of the mouse wheel)
Replying to [ticket:1759 pvanbosgeo]:
> When running GRASS (6.4 or 7.0) under Ubuntu (11.10 and 12.04), the
slider to move up/down in the dropdown list of maps does not work. It does
appear (see attached screenshot), but when clicking on it it disappears.
> It is also not possible to move down or up the list with maps using the
keyboard arrow (should that be a feature request?). Thus, the only two
ways to select maps is by scrolling using the mouse wheel, or, when one
wants to select one map only, typing in the first letter(s) of the map
name.
The TreeCtrl demo works. I can move up and down the folders with both the up and down keyboard key and the mouse (see screenshot for latter).
Ubuntu 10.04 does not have the Unity interface yet I believe. My assumption was the problem is related to this. However, as said, the TreeCtrl demo works.
Maybe the following information is of use? GRASS is compiled with Python 2.7.3 and wxPython 2.8.12.1 (the demo package is Python 2.8 I see). I have compiled GRASS (both 6.4.3 and 7.0 from source, Python and wxPython are the default installs on Ubuntu 12.04)
Cheers
Paulo
On Sat, Oct 6, 2012 at 12:47 PM, GRASS GIS <trac@osgeo.org> wrote:
#1759: Selecting maps in dropdown menu: slider to move up/down maps does not work
---------------------------±-----------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-trunk
Keywords: map selection | Platform: Linux
Cpu: x86-64 |
---------------------------±-----------------------------------------------
Changes (by annakrat):
keywords: => map selection
component: Default => wxGUI
Comment:
Replying to [ticket:1759 pvanbosgeo]:
When running GRASS (6.4 or 7.0) under Ubuntu (11.10 and 12.04), the
slider to move up/down in the dropdown list of maps does not work. It does
appear (see attached screenshot), but when clicking on it it disappears.
It is also not possible to move down or up the list with maps using the
keyboard arrow (should that be a feature request?). Thus, the only two
ways to select maps is by scrolling using the mouse wheel, or, when one
wants to select one map only, typing in the first letter(s) of the map
name.
The TreeCtrl demo works. I can move up and down the folders with both the up and down keyboard key and the mouse (see screenshot for latter).
Ubuntu 10.04 does not have the Unity interface yet I believe. My assumption was the problem is related to this. However, as said, the TreeCtrl demo works.
Maybe the following information is of use? GRASS is compiled with Python 2.7.3 and wxPython 2.8.12.1 (the demo package is Python 2.8 I see). I have compiled GRASS (both 6.4.3 and 7.0 from source, Python and wxPython are the default installs on Ubuntu 12.04)
Cheers
Paulo
On Sat, Oct 6, 2012 at 12:47 PM, GRASS GIS <trac@osgeo.org> wrote:
#1759: Selecting maps in dropdown menu: slider to move up/down maps does not work
---------------------------±-----------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-trunk
Keywords: map selection | Platform: Linux
Cpu: x86-64 |
---------------------------±-----------------------------------------------
Changes (by annakrat):
keywords: => map selection
component: Default => wxGUI
Comment:
Replying to [ticket:1759 pvanbosgeo]:
When running GRASS (6.4 or 7.0) under Ubuntu (11.10 and 12.04), the
slider to move up/down in the dropdown list of maps does not work. It does
appear (see attached screenshot), but when clicking on it it disappears.
It is also not possible to move down or up the list with maps using the
keyboard arrow (should that be a feature request?). Thus, the only two
ways to select maps is by scrolling using the mouse wheel, or, when one
wants to select one map only, typing in the first letter(s) of the map
name.
#1759: Selecting maps in dropdown menu: slider to move up/down maps does not work
---------------------------+------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-trunk
Keywords: map selection | Platform: Linux
Cpu: x86-64 |
---------------------------+------------------------------------------------
Comment(by annakrat):
I tried wxpython demo with Ubuntu 12.04 and the problems are there too.
The only thing I can recommend you is to disable the overlay scrollbar
feature as described [http://askubuntu.com/questions/36448/is-there-a-way-
to-blacklist-an-individual-application-from-using-overlay-scrollb here],
then it is working correctly.
I have no idea why the arrows don't work at all. This widget is full of
bugs. Maybe we should use a different one, there is
[http://wxpython.org/docs/api/wx.lib.combotreebox-module.html
ComboTreeBox] which seems to have the same functionality and it is working
properly.
#1759: Selecting maps in dropdown menu: slider to move up/down maps does not work
---------------------------+------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: svn-trunk
Keywords: map selection | Platform: Linux
Cpu: x86-64 |
---------------------------+------------------------------------------------
Comment(by pvanbosgeo):
Brilliant, thanks a lot for pointing out these solutions! Hopefully this
can be fixed permanently, but I am already very happy with this temporary
solution.
I know this is marked as "closed", but I do want to just chime in to say
that this a problem on ANY linux windowing system using overlay
scrollbars. That includes both Unity and Xfce, and perhaps several others.
Thus, anyone trying to use GRASS on these systems is going to run intot
this problem, and it is a BIG problem, as it renders GRASS basically
unuseable. This may be related to other, more deeper problems with GRASS
menus, but since there is such an easy, very non-invasive way to fix this
for most by adding the line:
{{{
export LIBOVERLAY_SCROLLBAR=0
}}}
to the grass startup script, why not just do that by default?