[GRASS-dev] [GRASS GIS] #3201: wxGUI nviz: resolution settings widget broken in wxPython 3

GRASS GIS trac at osgeo.org
Mon Nov 7 06:53:37 PST 2016


#3201: wxGUI nviz: resolution settings widget broken in wxPython 3
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  critical     |  Milestone:  7.2.0
 Component:  wxGUI        |    Version:  svn-releasebranch72
Resolution:               |   Keywords:  nviz
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+---------------------------------

Comment (by neteler):

 Below the update from the Fedora packager of wxPython3:


 On 11/07/2016 03:00 PM, bugzilla @ redhat.com wrote: Comment 9 from Scott
 Talbert

 https://bugzilla.redhat.com/show_bug.cgi?id=1371036

 > markusN wrote:
 >> It seems that the solution for GRASS GIS would be the same, to make the
 >> SpinButtons bigger:
 >> https://trac.osgeo.org/grass/attachment/ticket/3201/spinctrl.diff
 >>
 >> The issue is: if all projects using SpinCtrl have to change their
 button
 >> sizes, wouldn't it be better to fix Fedora's wxPython3 package? Our
 >> developers on Ubuntu do not have such issues.

 The !SpinButton sizing thing cannot be fixed in wxPython - it has to be
 fixed in
 individual applications.  This is really a problem because the underlying
 GTK
 !SpinButton widget is much wider in GTK+3 than it is in GTK+2.

 Compare these two and you will see the problem:
  * https://developer.gnome.org/gtk2/stable/GtkSpinButton.html
  * https://developer.gnome.org/gtk3/stable/GtkSpinButton.html

 The reason you do not see it under Ubuntu is that Ubuntu's wxPython
 package
 still uses GTK+2.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3201#comment:7>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list