[GRASS-dev] [GRASS GIS] #3402: g.gui.gmodeler: trying to add command pushes CPU to 100% and provokes freeze
GRASS GIS
trac at osgeo.org
Wed Aug 23 03:11:50 PDT 2017
#3402: g.gui.gmodeler: trying to add command pushes CPU to 100% and provokes
freeze
--------------------------+-----------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.2.2
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: gmodeler freeze
CPU: Unspecified | Platform: Unspecified
--------------------------+-----------------------------
Comment (by mlennert):
Replying to [comment:8 mlennert]:
> However, I think I found the culprit: the tooltip ! Disabling it makes
the widget work again:
>
>
> {{{
> Index: gui/wxpython/gmodeler/dialogs.py
> ===================================================================
> --- gui/wxpython/gmodeler/dialogs.py (révision 71430)
> +++ gui/wxpython/gmodeler/dialogs.py (copie de travail)
> @@ -203,7 +203,7 @@
> lambda command: self.label.SetValue(command))
> self.search = SearchModuleWidget(parent=self.panel,
> model=menuModel.GetModel(),
> - showTip=True)
> + showTip=False)
> self.search.moduleSelected.connect(
> lambda name: self.cmd_prompt.SetTextAndFocus(name + ' '))
> wx.CallAfter(self.cmd_prompt.SetFocus)
> }}}
Just to confirm, I tried add showTip=True to the call to the same widget
in gui/wxpython/gui_core/menu.py and it creates the same kind of issue,
only that now the entire GUI freezes as soon as I call g.gui...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3402#comment:9>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list