> As both those previous issues have pointed out, it depends on themes.

It's only you who blames themes but it's Geany that does a completely crappy 
thing here.

macOS applications have 0px window border size (the content of windows goes 
completely to the edge of the window) and when you drag the separator to the 
edge, you'll get a window resize cursor at the edge and you won't be able to 
drag the separator. Yes, one could make the separator crazy big like 8px so 
it's sufficiently far from the edge and draggable but I'd claim _that_ would be 
a bad theme wasting too much space just because Geany doesn't handle the 
situation right.

What Geany should do is:
1. When you drag e.g. the sidebar separator to the edge, Geany should un-toggle 
"Show sidebar" because technically it becomes invisible. This should probably 
happen at say 20px from the edge. So dragging the separator close enough to the 
edge becomes another way to hide sidebar.
2. When showing sidebar, Geany should set the position of the separator to at 
least those 20px so it becomes draggable again.

This is by the way how other macOS applications work (maybe even done 
automatically by the framework).

I have (2) more or less done, what's missing is (1).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4017#issuecomment-2440911413
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4017/[email protected]>

Reply via email to