[GRASS-dev] [GRASS GIS] #3923: g.gui.gmodeler: scroll bar not shown or too short

#3923: g.gui.gmodeler: scroll bar not shown or too short
----------------------------+---------------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: git-releasebranch78
Keywords: g.gui.gmodeler | CPU: Unspecified
Platform: Unspecified |
----------------------------+---------------------------------
In large models (subset attached) the scroll bar doesn't work properly.

Effectively, only a part of the model can be seen. Apparently the
scrollbar length is not yet properly calculated from "action" maximum of
all position coordinates (?).

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

#3923: g.gui.gmodeler: scroll bar not shown or too short
--------------------------+---------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: g.gui.gmodeler
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by neteler):

* Attachment "model_too_big.gxm" added.

Sample large model (subset showing scrollbar issue)

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

#3923: g.gui.gmodeler: scroll bar not shown or too short
--------------------------+---------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: g.gui.gmodeler
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by pesekon2):

It seems like the scrollbars in wxPython cannot be bigger than 1638
points; I did not find any reference for that, but always ended with an
error coming from wxPython in such a moment.

Maybe the more interesting question is how this model was
created/extracted as I doubt that you had scrolled to position
"932,32894794" (see line 65 of your model) - as the scrollbars do not
allow the user to scroll to such an obscene position, either the xml was
modified or the problem appeared already when exporting the model. Could
you provide a hint on how to reproduce this extraction?

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

#3923: g.gui.gmodeler: scroll bar not shown or too short
--------------------------+---------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: g.gui.gmodeler
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by neteler):

I got feedback from the student (who finished the thesis): she said that
she added the model parts through the interface.

Probably no way to reconstruct how this happened...

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