[GRASS-dev] Re: [GRASS GIS] #1378: Error when clicking 'Set Font'
dialog in wxGUI settings
GRASS GIS
trac at osgeo.org
Wed Jul 6 01:05:00 EDT 2011
#1378: Error when clicking 'Set Font' dialog in wxGUI settings
--------------------------------------+-------------------------------------
Reporter: epatton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-develbranch6
Keywords: font, set font, settings | Platform: Linux
Cpu: x86-32 |
--------------------------------------+-------------------------------------
Comment(by cmbarton):
I looked at this in 6.5 svn. As soon as I added a debug statement, the
font dialog popped up and saved OK. From then on it has been fine. I think
that perhaps this is caused by 1) a changed in the wxgrass settings file
(from "display" to "appearance" in the settings dictionary and 2) a lack
of error trap for the first time font setting is called with the new
format for .wxgrass. This can easily be fixed.
BUT...
I also found that the standard wxPython font dialog now works for the Mac
with wxPython stable 2.8.12. I left wxPython font dialog code in
preferences.py, commented out, when the standard font dialog broke. This
now works. So here is a question for you all. Do we: 1) simply add an
error trap to fix the custom font dialog that is being used right now (but
is partly broken), 2) replace the custom font dialog with the wxPython
standard one (i.e., uncomment out the code; this brings up a platform
specific font dialog), or 3) fix the custom dialog for the 6.x series
(thinking that not everyone with a Mac who compiles will have the newest
wxPython) and go back to the standard font dialog for GRASS 7.x?
Michael
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1378#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list