When the user drags the message window or the sidebar window too much towards the edge of the main window, it may become too hard or even impossible to drag them back as towards the edge of the main window the cursor resizes the main window and doesn't allow dragging the sidebar separator. The only workaround in this case is to manually edit the Geany config file which is annoying.
This patch does two things:
1. When the sidebar/msgwindow divider is dragged to the edge of the window, at the 10px distance from the window border it "snaps" completely to the edge and toggles sidebar/msgwindow visibility.
2. When sidebar/msgwindow is toggled to be shown again, if its previous distance from the edge of the window is less than 10px, its size is restored to some reasonable size (300px for the sidebar, 200px for the message window)
This patch has been tested with all the sidebar/msgwindow location settings and should work correctly in all the configurations.
Fixes #4017.
Fixes #1753.
Fixes #3329.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4023
-- Commit Summary --
* Improve sidebar and message window resizing behavior
-- File Changes --
M data/geany.glade (2)
M src/callbacks.c (37)
M src/msgwindow.c (15)
M src/ui_utils.c (13)
-- Patch Links --
https://github.com/geany/geany/pull/4023.patchhttps://github.com/geany/geany/pull/4023.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4023
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/4023(a)github.com>
Added new theme.
I was to make index but can't at the moment because of few dependencies that i need to install before doing that.
I like Geany editor alot. Regards!
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-themes/pull/66
-- Commit Summary --
* added theme config and screenshot image for dark-lue theme :)
-- File Changes --
A colorschemes/dark-lue.conf (117)
A screenshots/dark-lue.png (0)
-- Patch Links --
https://github.com/geany/geany-themes/pull/66.patchhttps://github.com/geany/geany-themes/pull/66.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-themes/pull/66
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-themes/pull/66(a)github.com>
As the movie shows: dragging a pane on the right, that has been closed, in order to reopen it, is much easier than performing the same operation on a closed pane on the left.
https://github.com/user-attachments/assets/a4a85ec5-91e3-4f1b-870c-8fb16cc3…
Please could Geany enhance the **show message window** action to open such a closed left pane at 1/3 width, without having to drag it, to overcome this problem?
![python_geany](https://github.com/user-attachments/assets/05af6a6e-0f9c-4012-8a3c-015e91c60e09)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4017
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4017(a)github.com>
@elextr Thanks for the explanation elextr.
I did not know that /tmp/ gets emptied and indeed the note that you mention could have give me a hint even though I would not think it would apply to the default directory which geany selects(tmp).
Lots of people who switch for geany come from notepadqq or notepadd++ and whenever you open a new note and don't save it and restart your pc, you can retrieve it, so many people are used to this default safe behavior.
+ Seeing a file with a filename created automatically by geany really implies for me that it must be saved somewhere where it won't be deleted.
I changed the default saving folder now of course
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/640#issuecomment-2465610833
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/640/2465610833(a)github.com>
Hello!
This is just a request to add the [Zig language](https://ziglang.org/) support (syntax highlight, file type choice (.zig), ability to build and execute, etc.)
I haven't seen a similar open issue, so decided to file one.
Thank you!
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3724
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3724(a)github.com>