-
Notifications
You must be signed in to change notification settings - Fork 2
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
i3move: margin not respected & problems with large windows #3
Comments
RE: point 1, yes that is an issue. With your config, I would expect the window to snap to the bottom edge of the bar when moving upward, and 1px from the edge of the other sides of the screen. If that makes sense. It's strange how the window snaps past polybar at the top but then leaves a gap at the bottom. It's almost like it's interpreting the top margin as the bottom one and vice versa. I just tried your config and it worked as expected. So I'm not sure how best to isolate the issue and figure out what's going wrong. But when I have more time, I'll try using a setup more like yours, with polybar and my smaller screen on the left. Are you using the most recent version of i3move from github? Or from AUR (if so, which package)? What version of i3 are you using? Can you show your i3move keybinds? Also I noticed Super+I in the video, what is that bound to? Looks like it's changing focus between monitors? Can you also send the output of |
Am using latest i3move from github, ie https://github.com/DMBuce/i3b/blob/23c09740e8a9c81419bef886b677ea2b6af2585e/bin/i3move
Note both issues also reproduce at work where the smaller screen is below the larger one.
built from i3/i3
That was likely a typo, shouldn't have anything bound to it. Relevant i3move binds are:
Note there's a third screen that was excluded from the recording -- vertical one to the very right. But as mentioned, it also reproduces with 2 screens, including when smaller one is placed below the larger one. |
Here's reproduction with the other setup - smaller screen below larger one. Note it's briefly OK if the window is dragged (manually/with a mouse) to the middle of smaller screen. i3move-repro2.webm
|
@DMBuce any chance you'll be able to take a look at this? |
Sorry, I looked into it a while back and never followed up. Back then I tried upgrading i3:
After updating i3 and trying a few different monitor setups, I wasn't able to reproduce the issue. Putting my smaller monitor on the left/right/above/below my larger one didn't seem to make any difference. Your xrandr output looked ok to me, but just for shiggles I also tried copying it to a file, adjusting the relevant lines with my own monitor's dimensions, and modifying i3move to read from the file instead of xrandr. But the script still behaved as expected for me. Since I'm not able to reproduce the issue, I'm not sure how to troubleshoot it. |
To be clear, none of the two observations reproduced on your end? |
Right, I did not experience either issue. |
This is report of two issues. Please refer to attached video of reproduction.
Note the video is of two screens side-by-side; left is smaller, right a larger one.
top margin not respected
Note how the window will cover the polybar in top, but leave a gap at the bottom. Do I misunderstand top & bottom margins, or is it an issue?
if window is a considerable fraction of a screen size, then i3move will sometimes have problems moving it around. This occurs in the video after
galculator
window size is increased, on the smaller screen (left). Note after some moving around the problem is fixed.~/.config/i3move:
i3move-bugreport.webm
The text was updated successfully, but these errors were encountered: