[GRASS-dev] [GRASS GIS] #422: broken barscale (cairo driver)

#422: broken barscale (cairo driver)
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Keywords: cairo | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Barscale is broken in GRASS7 (cairo driver), see the attached screenshot.

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

#422: broken barscale (cairo driver)
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

  * component: default => Display

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

  * summary: broken barscale (cairo driver) => broken (d.)barscale

Comment:

Is is also broken with PNG driver:
{{{
GRASS 7.0.svn (spearfish60): >
g.region -dp
d.rast elevation.dem
d.barscale
display map.png
}}}

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [ticket:422 martinl]:
> Barscale is broken in GRASS7 (cairo driver), see the attached
screenshot.

The bug is in the display library (D_box_{abs,rel} started moving the
current point), and should be fixed with r35246.

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: fixed | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

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

Comment:

Thanks, fixed.

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

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

Comment:

Not really, try

{{{
d.barscale -s
}}}

Screenshot attached.

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by glynn):

Replying to [comment:5 martinl]:
> Not really, try
>
{{{
d.barscale -s
}}}

Different bug (D_poly*_rel() were broken). Should be fixed in r35276.

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

#422: broken (d.)barscale
--------------------------+-------------------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Resolution: fixed | Keywords: cairo
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hcho):

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

Comment:

Fixed in [http://trac.osgeo.org/grass/changeset/53874 r53874].

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