Re: [i3] pan icon in display

  • From: Miguel de Val-Borro <miguel.deval@xxxxxxxxx>
  • To: Discussions/Questions about the i3 window manager <i3-discuss@xxxxxxxxxxxxx>
  • Date: Mon, 12 Sep 2011 21:26:21 +0200

Hi Michael,

On Mon, Sep 05, 2011 at 02:43:53PM +0200, Michael Stapelberg wrote:

Excerpts from Miguel de Val-Borro's message of 2011-08-28 23:24:36 +0200:
The pan icon in Imagemagick's display should appear only when the size
of the image is largen than the screen. However in i3 the panning icon
also appears when the image is smaller than the screen. Please find
Indeed, I can reproduce that (open 'display' in a floating window, the
floating
window will end up having a smaller rectangle than the app requested).

I created a ticket to track this: http://bugs.i3wm.org/ticket/513

Thanks for confirming this problem.

attached the relevant part of my logfile with verbose output. Another
perhaps unrelated problem is that display opens the image with
coordinates 640,640 by default in i3 so in this example I have used
'display -geometry +0+0' to center the image.
One of the problems with ImageMagick’s initial geometry seems to be that it is
not multi-monitor aware. However, judging from your logfile, you only have a
single monitor with 1280x1024 pixels. I’m not sure why ImageMagick requests
(640,640)…

I always get a (640,640) position from ImageMagick for my single monitor
setup. According to the documentation the default offset should be +0+0
and this seems to work fine on wmii.

http://www.imagemagick.org/www/command-line-processing.html#geometry

Thanks,
Miguel

Other related posts: