You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Now Super+= can increase the window width until screen_width - 2*horizontal_margin, and Super+F sets the width to screen-width - 2*minimum_margin, where minimum_margin is initialized as Math.min(15, prefs.horizontal_margin).
And if I switch to the maximized window which is off screen quickly (without showing the minimap), its width will be decreased to a smaller value, otherwise the width remains unchanged. This only happens when an external monitor is connected.
Plus, when I swipe the view quickly, the first or last window will "snap" to the screen edges, with a gap of minimum_margin but I think this should be horizontal_margin. Also when I switch the focus mode from EDGE to DEFAULT it will snap to screen edges with a gap of window_gap instead of horizontal_margin.
To Reproduce
Steps to reproduce the behavior:
Set horizontal margin to 64.
Maximize a window by Super+F (its width would be screen_width - 2*minimum_margin, while I believe it should be screen_width - 2*margin).
Expected behavior Horizontal margin and vertical margin define the maximum view region in the screen so I believe the active window should never exceed it.
lost-melody
changed the title
Maximized window width and long swipe gestures should respect horizontal margin
Maximized window width should respect horizontal margin
Jan 9, 2025
Describe the bug
Now
Super
+=
can increase the window width untilscreen_width - 2*horizontal_margin
, andSuper
+F
sets the width toscreen-width - 2*minimum_margin
, whereminimum_margin
is initialized asMath.min(15, prefs.horizontal_margin)
.And if I switch to the maximized window which is off screen quickly (without showing the minimap), its width will be decreased to a smaller value, otherwise the width remains unchanged. This only happens when an external monitor is connected.
Plus, when I swipe the view quickly, the first or last window will "snap" to the screen edges, with a gap of
minimum_margin
but I think this should behorizontal_margin
. Also when I switch the focus mode from EDGE to DEFAULT it will snap to screen edges with a gap ofwindow_gap
instead ofhorizontal_margin
.To Reproduce
Steps to reproduce the behavior:
Super
+F
(its width would bescreen_width - 2*minimum_margin
, while I believe it should bescreen_width - 2*margin
).Expected behavior
Horizontal margin and vertical margin define the maximum view region in the screen so I believe the active window should never exceed it.
System information:
The text was updated successfully, but these errors were encountered: