[xmonad] Issue 191 in xmonad: Mirror makes hint-respecting layouts misbehave

codesite-noreply at google.com codesite-noreply at google.com
Sun May 25 12:48:17 EDT 2008


Issue 191: Mirror makes hint-respecting layouts misbehave
http://code.google.com/p/xmonad/issues/detail?id=191

New issue report by curolan.zebeth:
What steps will reproduce the problem?
1. set your layoutHook to something like Mirror (HintedTile ...)
2. open mplayer and tile it
3.

What is the expected output? What do you see instead?
I expect mplayer to get a window that respects its size hints. Instead,
it appears weirdly distorted because Mirror swaps x and y coordinates
before calling HintedTile and "unswaps" them again in the coordinates
returned from HintedTile. This works for "normal" layouts, but HintedTile
calls mkAdjust to apply size hints to its windows. The result is that
windows get their preferred height as width and vice versa.
This happens for any hint-respecting layout under Mirror.

What version of the product are you using? On what operating system?
xmonad-darcs, xmonad-contrib-darcs, gentoo linux.


Please provide any additional information below.
To fix this issue, mkAdjust would need to magically know whether it was
called from a context in which the coordinate system was transformed
somehow.


Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list