Closed donaldcallen closed 3 years ago
It seems likely that this is related to #106. Please see comments there.
On Tue, May 2, 2017 at 10:47 AM, donaldcallen notifications@github.com wrote:
Please include the smallest configuration file that reproduces the problem you are experiencing:
---- xmonad example config file.---- A template showing all available configuration hooks,-- and how to override the defaults in your own xmonad.hs conf file.---- Normally, you'd only override those defaults you care about.--
In other words, the smallest config file you can come up with is the evil one that overrides everything in a way that locks you to a single release of xmonad. This is arguably broken no matter what.
Did you even read what the comment says? Or does the word "normally" mean something different to you? Also you have already used it with versions it may well be incompatible with, because the past several versions have a very large DO NOT USE in the mega-example. Or did you remove that as being pointless?
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
On 2 May 2017 at 11:29, Peter J. Jones notifications@github.com wrote:
It seems likely that this is related to #106 https://github.com/xmonad/xmonad/issues/106. Please see comments there.
Removing SimpleFloat seems to have made the placement of newly-created floating windows much more sensible, so I think your suggestion was helpful. Thank you.
But testing this has brought up another issue: the complexity of the floating windows placement algorithm. I am using a financial management application, newcash, that I wrote myself (C, gtk3, sqlite3). My xmonad.hs requests that newcash windows float; like Gimp, it's just not the right sort of application for tiling. I display a window containing the transactions that move money in or out of a particular account. If you select a transaction, you can display its splits in yet another window. I just tried creating a lot of those split-windows. Generally the placement was sensible, but as free screen space began to get scarce, the placement of each window took longer and longer. At one point, the whole window manager got hung for a couple of minutes, no response to any window manager gestures, such as switching tags or attempting to quit. I thought it was dead and was thinking about rebooting when it came back to life. So I think it's just the placement algorithm getting extremely slow when the screen gets crowded. Shall I file another problem report about this?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xmonad/xmonad/issues/105#issuecomment-298670206, or mute the thread https://github.com/notifications/unsubscribe-auth/AEzjJ8ycrPzIbOQIYb2Y5a-d97FL4sDDks5r10vngaJpZM4NOPoV .
On Tue, May 2, 2017 at 2:17 PM, donaldcallen notifications@github.com wrote:
But testing this has brought up another issue: the complexity of the floating windows placement algorithm
Floating windows are an utter hack. This is an ancient bug. :(
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
This looks like a bug in XMonad.Hooks.Place, but we don't have any reproduction steps here, and the maintainer of that module is long gone from xmonad development, so it's unlikely we'll be able to fix this. I'll close this now. If this is still an issue for you, please include reproduction steps or at least a video of the bug being reproduced.
I see this somewhat regularly with XMonad.Hooks.Place and the Ubuntu upgrade dialog — but that is pretty obviously using the last size it had, so it's an interaction which includes the program ignoring the size that xmonad gives the window.
Problem Description
New floating windows sometimes are created partially off-screen
Configuration File
Please include the smallest configuration file that reproduces the problem you are experiencing:
Checklist
[ ] I've read CONTRIBUTING.md
[ ] I tested my configuration with xmonad-testing