[GRASS-dev] [GRASS GIS] #2026: v.surf.rst window too wide

#2026: v.surf.rst window too wide
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
There's a bug in automatic module window generation as it generates
v.surf.rst window too wide - it's wider than 1440px (my monitor horizontal
resolution) and it's not possible to make window more narrow, only wider.

GRASS SVN Revision: 56987M
wxPython: 2.9.4.1

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026&gt;
GRASS GIS <http://grass.osgeo.org>

#2026: v.surf.rst window too wide
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

This must be a wxPython 2.9 bug?

{{{
GRASS 7.0.svn (nc_spm_08_grass7):~ > v.surf.rst &

GRASS 7.0.svn (nc_spm_08_grass7):~ > xwininfo
...
xwininfo: Window id: 0x6200072 "v.surf.rst [vector, surface,
interpolation, 3D]"
...
   Width: 620
   Height: 500

GRASS 7.0.svn (nc_spm_08_grass7):~ > wx-config --version
2.8.12

GRASS 7.0.svn (nc_spm_08_grass7):~ > g.version -g
version=7.0.svn
date=2013
revision=57044M
build_date=2013-06-09
}}}

No such problem on Fedora 18.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2026: v.surf.rst window too wide
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by annakrat):

It should be fixed in r59497. Please test (tests on other platforms are
needed too). It affected many other modules which has long description.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2026: v.surf.rst window too wide
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by marisn):

Seems to be fixed.

Tested with: GRASS version: 7.1.svn GRASS SVN Revision: 60684M wxPython:
3.0.0.0

Needs backporting to 7.0 ? Leaving open.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2026: v.surf.rst window too wide
---------------------+------------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
  Platform: Linux | Cpu: Unspecified
---------------------+------------------------------------------------------
Changes (by annakrat):

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

Comment:

Replying to [comment:3 marisn]:
> Seems to be fixed.
>
> Tested with: GRASS version: 7.1.svn GRASS SVN Revision: 60684M wxPython:
3.0.0.0
>
> Needs backporting to 7.0 ? Leaving open.

I realized that the change didn't work well on Windows, so I tried to fix
that in r60689. Everything is backported in r60690.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#2026: v.surf.rst window too wide
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by mlennert):

I'm getting this same bug in 6.4.5RC1. Is it possible to backport the
solution ?

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

#2026: v.surf.rst window too wide
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by annakrat):

Backported in r65341.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2026#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>