[GRASS-dev] [GRASS GIS] #2680: d.mon: input file has incorrect dimensions

#2680: d.mon: input file has incorrect dimensions
-------------------------+-------------------------
Reporter: annakrat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Display | Version: svn-trunk
Keywords: d.mon | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I found two related problems with current d.mon.

1. When I resize the d.mon window, and run a d.* command, I get error:

{{{
ERROR: Cairo: input file has incorrect dimensions: expected: 640x480 got:
        861x480
}}}

2. On Windows, this is even more interesting. I open wx0 monitor, run for
example d.rast, so far good, but the second d command fails (but the
window is still the same as when it opened):

{{{
ERROR: Cairo: input file has incorrect dimensions: expected: 640x480 got:
        656x519
}}}

   These dimensions in the error are the same when running d.mon with or
without -x.

Tested on r65288 on Linux and r65276 build on Windows.

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

#2680: d.mon: input file has incorrect dimensions
--------------------------+-------------------------
  Reporter: annakrat | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: d.mon
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
* status: new => assigned
* owner: grass-dev@… => martinl
* milestone: 7.0.1 => 7.1.0

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

#2680: d.mon: input file has incorrect dimensions
--------------------------+-------------------------
  Reporter: annakrat | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: d.mon
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by martinl):

Replying to [ticket:2680 annakrat]:
> 1. When I resize the d.mon window, and run a d.* command, I get error:
>
{{{
> ERROR: Cairo: input file has incorrect dimensions: expected: 640x480
got:
> 861x480
}}}

this issue should be fixed in r65303.

> 2. On Windows, this is even more interesting. I open wx0 monitor, run
for example d.rast, so far good, but the second d command fails (but the
window is still the same as when it opened):

Let's wait for next build if it helps.

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

#2680: d.mon: input file has incorrect dimensions
--------------------------+-------------------------
  Reporter: annakrat | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: d.mon
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by martinl):

Replying to [comment:2 martinl]:

> this issue should be fixed in r65303.
>
> > 2. On Windows, this is even more interesting. I open wx0 monitor, run
for example d.rast, so far good, but the second d command fails (but the
window is still the same as when it opened):
>
> Let's wait for next build if it helps.

It seems to fix both issue.

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

#2680: d.mon: input file has incorrect dimensions
--------------------------+-------------------------
  Reporter: annakrat | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: d.mon
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by annakrat):

Thanks for quick response, I am not able to test now, feel free to close
it.

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

#2680: d.mon: input file has incorrect dimensions
--------------------------+-------------------------
  Reporter: annakrat | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.1.0
Component: Display | Version: svn-trunk
Resolution: fixed | Keywords: d.mon
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

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

Comment:

I took liberty to close the ticket, feel free to close if needed.

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