-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IconBox moves across screens #40
Comments
Hi @afhp-2020, Thanks for your bug report, and apologies it's taken me this long to respond. Would you mind having a look at the So thanks again, and let me know whether I've made things better, worse, or no change! Thomas |
Hello Thomas, Assuming I got the right version (I really don't "get" git, apparently -- removed the build directory completely, re-cloned from master, Earlier I modified button mappings so that icons would rearrange both when iconizing or restoring a window; the function is still
No change : any window will iconize on the monitor it's opened. |
A slow and inelegant workaround that works in my specific use-case is to force the icons to the primary screen after the PlaceAgain:
It's slow and causes multiple visible redraws of the icons, but it might do the trick until this issue is cleared. No idea how good this workaround is beyond my own use, either, I suspect it's not particularly portable. |
Hi @afhp-2020, It's portable. This is on my list to look at. Hopefully over the weekend. Kindly, |
When the IconBox style is used to specify a particular screen, use the existing API to reference that screen. Fixes #40
When the IconBox style is used to specify a particular screen, use the existing API to reference that screen. Fixes #40
When the IconBox style is used to specify a particular screen, use the existing API to reference that screen. Fixes #40
Hi @afhp-2020, Sorry it's taken me so long to get around to looking at this. So... some changes which I've made to this functionality -- see the
I can't reproduce the moving icons behaviour -- but at the moment, if an iconified window is moved between screens, when that window is deiconified, the window will map back to the original screen it was on. Not sure if this behaviour should change or not. |
Hello Thomas, No problem regarding the delay, I'm sure life is interfering :) A clean build of
Now for the tests:
Adding a second IconBox definition
One IconBox, no screen definition
Hope that's clear. I'm attaching the log regardless ; I'll try to come up with a more systematic/consistent test and/or a video if required. I agree that a window should reopen on the original screen regardless of where its icon moved, that's just normal, expected behavior. Regarding icons placement I suppose it's a bit more complex. Just my opinion here but I would expect the following:
I hope this helps. I'm confident we'll get to the root of this one :) |
Hi @afhp-2020, Thanks for the additional information. If you can take a video of what's going on, that will help. Cheers, |
Video sent by e-mail, too large for github. |
I'm going to leave this as-is for the 1.0.0 release; moving the target milestone to post-1.0 |
When the IconBox style is used to specify a particular screen, use the existing API to reference that screen. Fixes #40
I'm closing this for now. |
Hello Thomas,
I'm intrigued by this closure.
I rebuilt fvwm3 from a new git pull (previous directory got corrupted
in an unrelated operation) a few hours ago, and the bug is still
present. Have I missed a fix ?
…On Mon, Oct 28, 2024 at 4:26 PM Thomas Adam ***@***.***> wrote:
I'm closing this for now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The system has two randr screens, DVI-I-1 and DP-2. A single one-row iconbox was initially defined (under fvwm2):
This definition has been adapted for fvwm3:
The windows are iconized with a
Mouse
definition callingIconify
, and restored according to the functionRegardless of the above configuration, windows on DP-2 are always initially iconized according to the defined geometry, but on DP-2.
Moreover, the iconbox might jump screens.
Given windows w1s1, w2s1 on screen 1 (DVI) and w3s2 on screen 2 (DP):
With the explicit placement of the iconbox using the
IconBox screen
argument, all icons should always be put on DVI-I-1 regardless of the original window's screen.I suspect that the jumping around part has to do with the parameters to
DeiconifyAndRearrange
but I haven't been able to find theScreen
-related parameter to fix it.The text was updated successfully, but these errors were encountered: