[GRASS-dev] [GRASS GIS] #1167: wx location wizard: proj4 terms fall off edge of window

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------------------+------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: Startup | Version: svn-develbranch6
Keywords: wx, location wizard | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------
Hi,

in the wxGUI startup screen location wizard, if you define custom
projection from PROJ4 terms (just cut&paste something out of the epsg
file), once you get to the Summary page the Projection: line just
continues off the right side of the window. Some sort of linewrap is
needed I guess.

(seen on ubuntu 10.04 + grass65)

cheers,
Hamish

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

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------------------+------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: Startup | Version: svn-develbranch6
Keywords: wx, location wizard | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl

Comment:

In r43567 is projstring wrapped based on spaces. Is it enough for this
ticket from your point of view?

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

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------------------+------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: Startup | Version: svn-develbranch6
Keywords: wx, location wizard | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------

Comment(by hamish):

Replying to [comment:1 martinl]:
> In r43567 is projstring wrapped based on spaces. Is it
> enough for this ticket from your point of view?

yes, that is very nice, thank you.

similar issue: define location by PRJ or WKT file falls off the right hand
side of the window in the same way if the path is very long (just happened
to me today). is there a way to wrap the string after it gets to a dirsep
past column 60-something?

Hamish

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

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------------------+------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: Startup | Version: svn-develbranch6
Keywords: wx, location wizard | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------

Comment(by martinl):

Replying to [comment:2 hamish]:
> Replying to [comment:1 martinl]:
> > In r43567 is projstring wrapped based on spaces. Is it
> > enough for this ticket from your point of view?
>
> yes, that is very nice, thank you.

better try r43924

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

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------------------+------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: wxGUI | Version: svn-develbranch6
Keywords: wx, location wizard | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------
Changes (by martinl):

  * component: Startup => wxGUI

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

#1167: wx location wizard: proj4 terms fall off edge of window
-----------------------------+----------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard | Platform: Linux
      Cpu: x86-64 |
-----------------------------+----------------------------------------------
Changes (by martinl):

  * keywords: wx, location wizard => location wizard

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

#1167: wx location wizard: proj4 terms fall off edge of window
-----------------------------+----------------------------------------------
Reporter: hamish | Owner: martinl
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.1
Component: wxGUI | Version: svn-develbranch6
Keywords: location wizard | Platform: Linux
      Cpu: x86-64 |
-----------------------------+----------------------------------------------

Comment(by martinl):

Replying to [comment:2 hamish]:
> similar issue: define location by PRJ or WKT file falls off the right
hand side of the window in the same way if the path is very long (just
happened to me today). is there a way to wrap the string after it gets to
a dirsep past column 60-something?

This issue should be fixed in r43964 (thanks to Anna Kratochvilova for the
patch).

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

#1167: wx location wizard: proj4 terms fall off edge of window
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: martinl
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.1
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: location wizard
  Platform: Linux | Cpu: x86-64
---------------------+------------------------------------------------------
Changes (by martinl):

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

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