You are not logged in.

#1 2017-02-18 03:00:44

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

[i3][imagemagick] windows are not properly sized

When I use display command from openmagick, floating dialog windows are not properly sized. I did report the issue on github, and it appears that issue is specific for i3, as I could not reproduce the same with openbox.

https://github.com/ImageMagick/ImageMagick/issues/379

image_full.jpg
please enlarge and look at the small window over command window titled "browse and .."

xprop command for the window in questions (when using i3) shows that window sizing hint given by the imagemagick is only 1x1.

┌─[Wed Feb 15][11:50:27][~]
└─╼ xprop
_NET_WM_STATE(ATOM) =
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
WM_TRANSIENT_FOR(WINDOW): window id # 0x2c00083
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "display", "Display"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x2c00083
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 683, 683
		[b]program specified size: 1 by 1[/b]
		program specified resize increment: 1 by 1
		program specified base size: 1 by 1
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "pathy"
WM_COMMAND(STRING) = { "display", "Pictures/wallpaper/chaku.jpg" }
WM_ICON_NAME(STRING) = "Browse and Select a File"
WM_NAME(STRING) = "Browse and Select a File"

However when I use openbox the window is properly sized and the sizing hint is also apropriate.
Another point is the first dialog window (command window), created by left click on the image window has proper size (as seen in the above image) but all subsequent window are tiny and needs to be manually resized.

Last edited by Docbroke (2017-02-18 03:05:27)

Offline

#2 2017-02-18 22:05:41

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [i3][imagemagick] windows are not properly sized

you should open a bug report at i3wm.org

Offline

#3 2017-02-19 05:44:59

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [i3][imagemagick] windows are not properly sized

Bugreport filed at i3

Offline

#4 2017-02-19 08:19:49

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [i3][imagemagick] windows are not properly sized

Issue closed at i3 as i3 devs think it as an imagemagick issue. However one of the i3 dev has subscribed to imagemagick issue, to see why imagemagick sets improper window size hint under i3.

Last edited by Docbroke (2017-02-19 08:52:41)

Offline

Board footer

Powered by FluxBB