I originally deliberately didn't murky the problem with Vscode, it is different, but will explain.
- it has a fixed left narrow sidebar with icons for selecting which of several sidebar contents is shown (and unhides the sidebar if an icon is selected). It is not resizable or removable (at least as I can find) so confusion with window resize is not a problem.
Yes, that's true and this would help us because then the handle would be far enough from the window edge and would be draggable but we don't have it in Geany.
- the actual sidebar contents is resizable, but it can only be dragged to a minimum (dunno where its defined but its about 15 characters)
- but if the handle cursor is continually dragged passed the minimum and close to the left edge it will activate the "hide sidebar" action instead of the "resize" action. There will be no handle. When the "unhide sidebar" is actioned it will come back to the original size not the minimum value.
This is pretty much the behavior I implemented in #4023. For (2) i used 10px as the minimum.
We neither of us understand why it works in some places and not others, claims that "only code is needed" is as bad as "just CSS" and we need to understand it first.
I think I understand very well why it doesn't work and tried it to describe but maybe not clearly enough. On macOS you always get window resize cursor in a certain range around the window edge - this is marked by the red lines below:
Screenshot.2024-11-01.at.17.14.57.png (view on web)So whenever you are within this area with the mouse pointer, you will resize the whole window (I think the application doesn't receive the corresponding event at all in this case, it's processed by macOS window manager). You can notice the separator handle is present in the screenshot but because of the fact that window borders are near zero on macOS, it's very close to the edge and within the "red" area and therefore undraggable.
I can imagine you could get the same on linux with some window managers and window manager themes (this is not about GTK themes).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.