Opened 13 years ago
Closed 13 years ago
#1384 closed defect (fixed)
wxGUI Preferences: apply or save settings erases Layer Manager menu
Reported by: | mmetz | Owned by: | martinl |
---|---|---|---|
Priority: | major | Milestone: | 6.4.2 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | wxGUI, Preferences | Cc: | grass-dev@… |
CPU: | All | Platform: | All |
Description
In the wxGUI Preferences dialog, when clicking on Apply or on Save, the menu bar "File Settings Raster .." is erased to blank. Cancel works.
Maybe related: in gui/wxpython/gui_modules/preferences.py, the function _updateSettings of class PreferencesDialog is never called, and the current window layout never saved. The function _updateSettings of class PreferencesBaseDialog does not check the current window layout.
Attachments (1)
Change History (7)
comment:1 by , 13 years ago
Cc: | added |
---|
follow-up: 3 comment:2 by , 13 years ago
I also cannot reproduce it (grass 7, Ubuntu 10.04, wxPython 2.8.10.1 (gtk2-unicode)). But I think that problem is caused by new code writen by me (change menu style). Menu bar is re-created always after "Apply" or "Save".
The possible solution is do not change menu style (do not re-create menu) on the fly but only after GUI restart (same as "icon theme").
follow-up: 5 comment:3 by , 13 years ago
Replying to wenzeslaus:
I also cannot reproduce it (grass 7, Ubuntu 10.04, wxPython 2.8.10.1 (gtk2-unicode)). But I think that problem is caused by new code writen by me (change menu style). Menu bar is re-created always after "Apply" or "Save".
it can be, see r46397
comment:4 by , 13 years ago
Priority: | blocker → major |
---|
I have a screenshot attached. My wxPython version is 2.8.12, recently upgraded from 2.8.11, and I can not remember having seen this before. Maybe this is the problem, because wxPython often comes with interesting changes between 2.8.x versions. Or my Fedora version of wxPython is patched to death...
Downgrading priority.
comment:5 by , 13 years ago
Cc: | added; removed |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Replying to martinl:
Replying to wenzeslaus:
I also cannot reproduce it (grass 7, Ubuntu 10.04, wxPython 2.8.10.1 (gtk2-unicode)). But I think that problem is caused by new code writen by me (change menu style). Menu bar is re-created always after "Apply" or "Save".
it can be, see r46397
patch provided by Vaclav applied in r46665 (& backported to devbr6/relbr64).
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Unable to reproduce this bug? What version of wxPython? Could you send a screenshot?