Hmmm, noticed on another app and went back to Geany.  The behaviour here on my 
system seems to be slightly different to yours but I have found it hard to 
describe, if you don't understand it ask!!

The Geany sidebar is minimised but not hidden so there is still a handle.

The sequence of icons that the user sees as the mouse controlled position is 
moved from left to the right is:

1. the desktop cursor icon thats default on desktop
2. the window left edge resize cursor icon
3. the pane handle resize cursor icon
4. the line number margin cursor icon

The mouse moves a position it controls smoothly from left to right through a 
sequence of areas that selects the cursor icon[^1]:
```
1 desktop  |   2 outside window  |  3 pane handle  |  4 line number margin
```
Area 1 is outside area 2 and the window.
Area 2 is outside the window like a frame outside the window, it seems 
approximately the window resize icon width
Area 3 is the handle width inside the window edge, set by theme or `geany.css`
Area 4 is the line number margin as wide and set by code as line numbers change 
size.

But how the cursor icon varies in relation to the mouse position:

1. desktop cursor icon is right of the mouse position, if the mouse position is 
in area 1
2. window resize cursor icon is right of the mouse position ,if the mouse 
position is in area 2
3. handle resize cursor icon is equal left and right of the mouse position, if 
the mouse position is in area 3
4. the line number cursor icon is left of the mouse position, if the mouse 
position is in area 4

The point is that the cursor icon is visible and usable for the width of each 
area as the mouse position is in that area, it doesn't matter if the icons 
happen to be left, right or spread both sides of the position.

The widths of 1, 2, 4 are set by various things, but 3 as noted, the width of 
the handle is either the default theme settings or the CSS in `geany.css`, and 
the cursor will have that width available for the mouse position to move its 
cursor, and in that range be available to click and move the the sidebar width. 
 It is irrespective of how the cursor icons move relative to the mouse position 
and might confuse users, it is how the mouse position moves that controls the 
cursor selected.

I am not sure what you are seeing on your XFCE or Mac, it sounds like its 
different, if the mouse position width allowed for each icon is different to 
some setting or something.  But that is specific behaviour that those 
particular desktop systems have and it is different to the behaviour of 
Cinnamon which simply follows the settings and needs no fix.

So now the discussion we need to consider is how problems with Mac and XFCE can 
be approached without affecting Cinnamon that has no problem and does not need 
any fix.  As I said Mac is easy, you can apply any patch to it by itself, but 
if XFCE does something weird and Cinnamon works sensibly then code in Geany is 
going to be hard to accept for XFCE and not accepted for Cinnamon.

So more experimentation and discussion is needed with each having a different 
distro to try.

And of course what all the other desktops do might be something else making it 
even more complex.

[^1]: I tried to take pictures showing this stuff, but I couldn't get cursor 
icons to show right, so lots of words, sorry

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

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

Reply via email to