[GRASS-dev] [GRASS GIS] #3242: Gui does not disply correctly and locks up when scrolling down to make alternative mapsets visible in d.vect and d.rast.

#3242: Gui does not disply correctly and locks up when scrolling down to make
alternative mapsets visible in d.vect and d.rast.
-----------------------+-------------------------
  Reporter: ewcgrass | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: critical | Milestone: 7.0.6
Component: wxGUI | Version: 7.2.0
Resolution: | Keywords:
       CPU: x86-64 | Platform: Linux
-----------------------+-------------------------

Comment (by neteler):

Replying to [comment:19 ewcgrass]:
> This problem still exists and can be a real game stopper when it occurs
during a long working session.

Yes, it also eats the laptop battery....

> Scott Talbert on Redhat Bugzilla (Bug # 1411165) suggests (comment 3)
that message flooding may be a widget sizing issue that needs to be fixed
in GRASS. Nothing more appears to have been done upstream since Markus
last commented on 10 January 2017. Your thoughts Markus?

I have opened a new bug report for this upstream for high CPU usage:
https://bugzilla.redhat.com/show_bug.cgi?id=1440434

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

#3242: Gui does not disply correctly and locks up when scrolling down to make
alternative mapsets visible in d.vect and d.rast.
-----------------------+-------------------------
  Reporter: ewcgrass | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: critical | Milestone: 7.0.6
Component: wxGUI | Version: 7.2.0
Resolution: | Keywords:
       CPU: x86-64 | Platform: Linux
-----------------------+-------------------------

Comment (by neteler):

I found a wxGTK demo which behaves similarly - CPU usage at 100%:

{{{
cd /usr/share/doc/wxPython-docs/demo/
python run.py Calendar.py
# --> click button, CPU will go up
}}}

(from wxGTK3-3.0.2-32.fc25.x86_64 + wxPython-docs-3.0.2.0-11.fc25.noarch)

Do we use the same widget(s)?

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

#3242: Gui does not disply correctly and locks up when scrolling down to make
alternative mapsets visible in d.vect and d.rast.
-----------------------+-------------------------
  Reporter: ewcgrass | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.6
Component: wxGUI | Version: 7.2.0
Resolution: invalid | Keywords:
       CPU: x86-64 | Platform: Linux
-----------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => invalid

Comment:

The high CPU problem has been fixed: wxGTK3-3.0.3 was backported to Fedora
25 and 26 (see https://bugzilla.redhat.com/show_bug.cgi?id=1440434).

The annoying warnings "Gtk-CRITICAL : gtk_box_gadget_distribute: assertion
'size >= 0' failed in !GtkCheckButton" are unrelated and need to be fixed
in GRASS GIS itself (different bug report).

Closing this report (I have chosen "invalid" since the reason was wxGTK3).
Feel free to reopen if anything in this report was not fixed.

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