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
If I snap the discord window to the screen corner then the collapsing/uncollapsing elements like member/channel/server lists seems to be inconsistent. I guess, clips below showcase it enough: I snap the window to the same edge but it can result in both collapsed/uncollapsed situations.
Steps to reproduce the behavior
Turn on Size Collapse feature of the plugin;
Snap discord to an edge of the screen on Windows machine;
See how it inconsistently collapses/uncollapses elements;
Expected behavior
The plugin should properly see to which exact size the discord window should be resized after snapping.
Screenshots
half.mp4full2.mp4
Desktop
OS: Windows 11 24H2
Discord Version: Stable
Enabled Theme(s): None
Enabled Plugins: Turned everything else off for testing
Additional context
Otherwise, the plugin works fine for like cursor-arrows resize. Not sure if there is something wrong in my settings. And I think this wasn't happening with 8.x.x version of the plugin. Maybe, this is some Windows^tm tier problem.
Also same can happen when using maximize button.
The text was updated successfully, but these errors were encountered:
For some context, the plugin calls on window.outerHeight/outerWidth for its calculations, which are standard JS window properties. It seems this is caused by the window being refreshed halfway through resizing, and the onresize event not being fired once snapping is complete.
That could be an issue with Electron or even a Windows issue, which would make it hard to account for without some hackery. Does it still happen if you disable "Animation effects" in Widows settings?
I'll see what I can do, but I can't promise a quick fix on this one unfortunately.
Describe the bug
If I snap the discord window to the screen corner then the collapsing/uncollapsing elements like member/channel/server lists seems to be inconsistent. I guess, clips below showcase it enough: I snap the window to the same edge but it can result in both collapsed/uncollapsed situations.
Steps to reproduce the behavior
Expected behavior
The plugin should properly see to which exact size the discord window should be resized after snapping.
Screenshots
half.mp4
full2.mp4
Desktop
Additional context
Otherwise, the plugin works fine for like cursor-arrows resize. Not sure if there is something wrong in my settings. And I think this wasn't happening with 8.x.x version of the plugin. Maybe, this is some Windows^tm tier problem.
Also same can happen when using maximize button.
The text was updated successfully, but these errors were encountered: