[GRASS-dev] [GRASS GIS] #306: v.in.ogr GUI is missing --o and --v

#306: v.in.ogr GUI is missing --o and --v
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
You can't use --o and --v in v.in.ogr GUI cause they are missing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/306&gt;
GRASS GIS <http://grass.osgeo.org>

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

* cc: martinl (added)

Comment:

Missing? See the attached screenshot.

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by msieczka):

I'm still missing the "Optional" tab in r33388. Translation issue? (Wild
guess.)

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by msieczka):

See the attachment.

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Use arrows to see other tabs or resize window.

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by hamish):

Replying to [comment:4 martinl]:
> Use arrows to see other tabs or resize window.

ahh,

maybe there could be a right-most greyed out "..." tab in the case there
are other hidden tabs. otherwise they are easy to miss.

possible?

Hamish

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [comment:5 hamish]:
> ahh,
>
> maybe there could be a right-most greyed out "..." tab in the case there
are other hidden tabs. otherwise they are easy to miss.
>
> possible?

if there are hidden tabs, the arrow is filled (right, left, or both).

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by hamish):

Replying to [comment:6 martinl]:
> Replying to [comment:5 hamish]:
> > ahh,
> >
> > maybe there could be a right-most greyed out "..." tab in
> > the case there are other hidden tabs. otherwise they are easy
> > to miss.
> >
> > possible?
>
> if there are hidden tabs, the arrow is filled (right, left, or
> both).

yes, but that is rather subtle.

Hamish

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by martinl):

  * priority: major => minor
  * type: defect => enhancement

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

#306: v.in.ogr GUI is missing --o and --v
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by msieczka):

  * priority: minor => major
  * type: enhancement => defect

Comment:

OK, so resizinng the window magically reveals the missing tab. But how is
the user supposed to guess he should resize the window? This is a defect.

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by martinl):

  * type: defect => enhancement

Comment:

Replying to [comment:9 msieczka]:
> OK, so resizinng the window magically reveals the missing tab. But how
is the user supposed to guess he should resize the window? This is a
defect.

Sorry, I don't see that as a defact -- some tabs are hidden because of
window size, see screenshot, arrows indicates if there are hidden tabs.

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by msieczka):

Yeah I'm still not convinced... Oh well.

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by neteler):

Replying to [comment:4 martinl]:
> Use arrows to see other tabs or resize window.

I got traped byt this also a few times and overlooked the horizontal
scroll arrows on the right. Any ideas to make that more outstanding? Eg. a
half-shown/grey tab on the right (one of those which don't fit) would make
it obvious I guess. Would that be possible? If you only see complete tabs
and then space on the right then you don't get there idea that there could
be more tabs hidden.

Markus

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [comment:12 neteler]:

> I got traped byt this also a few times and overlooked the horizontal
scroll arrows on the right. Any ideas to make that more outstanding? Eg. a
half-shown/grey tab on the right (one of those which don't fit) would make
it obvious I guess. Would that be possible?

The behaviour is dictated by the underlying widget provided by the
toolkit, e.g. GtkNotebook for wxGTK. It may be possible to modify the
appearance using the mechanisms provided by the toolkit, e.g. themes or
gtkrc.

You could use e.g. wxChoiceBook (which uses an option menu instead of
tabs) instead. The only other alternative is to construct the equivalent
of wxNotebook from the base widget classes (e.g. wxPanel, wxButton).

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

Glynn:
> The behaviour is dictated by the underlying widget provided by
> the toolkit

right, but we can make tabs at will, and we can call one "...".

Questions for working within the current toolkit:
  - can we control the order of the tabs on the fly?
  - can we make and destroy tabs on the fly?
  - can we grey out a tab?

if those things are possible maybe we can hack in a work-around.
if not, we will have to take care to talk about the little arrows
in the getting started tutorials, and perhaps file a wish upstream.

I think tabs are preferable to an options menu in this case, and
we should try and avoid getting into the widget business if possible.

Hamish

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [comment:14 hamish]:

> > The behaviour is dictated by the underlying widget provided by
> > the toolkit
>
> right, but we can make tabs at will, and we can call one "...".
>
> Questions for working within the current toolkit:
> - can we control the order of the tabs on the fly?

AFAICT, no.

> - can we make and destroy tabs on the fly?

Yes.

> - can we grey out a tab?

AFAICT, no.

> if those things are possible maybe we can hack in a work-around.

Also, I don't know how easy it is to determine the position of tabs
relative to the parent.

> if not, we will have to take care to talk about the little arrows
> in the getting started tutorials, and perhaps file a wish upstream.

Presumably other programs which use GtkNotebook has the same issue.

Hmm; a lot of programs use it for the Preferences dialog, but they usually
have a fixed number of pages. Programs with a lot of preferences (e.g.
GIMP, VLC) tend to use a list or tree control instead of tabs.

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by neteler):

Replying to [comment:14 hamish]:
> Glynn:
> > The behaviour is dictated by the underlying widget provided by
> > the toolkit
>
> right, but we can make tabs at will, and we can call one "...".

To have a pseudo tab containing a title "..." would be perfect.
If that's possible, the problem will be psychologically solved.

Markus

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by mlennert):

Replying to [comment:16 neteler]:
> Replying to [comment:14 hamish]:
> > Glynn:
> > > The behaviour is dictated by the underlying widget provided by
> > > the toolkit
> >
> > right, but we can make tabs at will, and we can call one "...".
>
> To have a pseudo tab containing a title "..." would be perfect.
> If that's possible, the problem will be psychologically solved.

Just to add my own 2 cents. I think the major problem is what you stated
earlier:

"If you only see complete tabs and then space on the right then you don't
get there idea that there could be more tabs hidden."

IMHO, it is this _space_ which is the major cause of confusion. Can this
space be controlled ?

Moritz

>
> Markus

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by cmbarton):

I've followed this but haven't had the chance to relook at the options
dialog tabs closely to see what the commotion is about until today.

The flatnotebook control, probably for nice aesthetic reasons, does not
show partial tabs but only complete ones if a window is too small to show
all tabs.

To recap, this behavior has misled some folks into thinking that there are
not more tabs to the right.

However, there is a visual clue--one that people need to get used to, of
course, but a consistent one--to additional tabs beyond the right OR left
side of the window. The little arrows on the right will be darkened in any
direction that there are hidden tabs.

There are some customizations possible for flatnotebook tabs, but I don't
see anywhere that we can change the behavior that you either see all of a
tab or you see none of the tab. The arrow buttons are a nice indicator of
hidden tabs. This is a bit of a learning curve, especially for new users.
But it's not too bad.

There are some other kinds of notebook controls, of course. Most lack
arrow buttons to move to tabs outside the window.

After we get this version well-stablized and bugs fixed, we can look into
other kinds of notebooks for the layer control area (e.g., AuiNotebook) to
see what advantages and disadvantages there might be. IMHO, the tabs we
are using now look quite nice aesthetically.

Michael

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

#306: v.in.ogr GUI is missing --o and --v
--------------------------+-------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: tabs
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: => tabs

Comment:

AFAICT the correct way to address this is with an upstream wish to the
flatnotebook people. If this is the only shortcoming of the current widget
set, it would be a shame to change it all for the want of one improvement.

filed with wx as trac ticket #9962
   http://trac.wxwidgets.org/ticket/9962

Hamish

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