Opened 5 years ago

Last modified 5 years ago

#3923 new defect

g.gui.gmodeler: scroll bar not shown or too short

Reported by: neteler Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: wxGUI Version: git-releasebranch78
Keywords: g.gui.gmodeler Cc:
CPU: Unspecified Platform: Unspecified

Description

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 (?).

Attachments (1)

model_too_big.gxm (4.3 KB ) - added by neteler 5 years ago.
Sample large model (subset showing scrollbar issue)

Download all attachments as: .zip

Change History (6)

by neteler, 5 years ago

Attachment: model_too_big.gxm added

Sample large model (subset showing scrollbar issue)

comment:1 by neteler, 5 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:2 by pesekon2, 5 years ago

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?

comment:3 by neteler, 5 years ago

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...

comment:4 by neteler, 5 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:5 by neteler, 5 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.