WrapEarnPass left a comment (geany/geany#4627) I tried copying the geo to both files, but was unable to reproduce. I tried deleting the entire config directory, to allow geany to default, but even with defaults, the msg_window is still only about 200 pixels tall. ``` build@debian:~$ which geany /usr/bin/geany build@debian:~$ /usr/bin/geany --verbose Geany-Message: 08:42:10.137: No user config file found, trying to use global configuration. Geany-Message: 08:42:10.139: No user session file found, trying to use configuration file. ```
<img width="349" height="633" alt="Image" src="https://github.com/user-attachments/assets/b8a8cfc4-3c50-4b36-832e-c8acb2eb66fe" /> There is a code path in geany to try multiple config file locations if it is unable to read from the expected location: ``` file = g_build_filename(app->configdir, SESSION_FILE, NULL); if (! g_file_test(file, G_FILE_TEST_IS_REGULAR)) { if (!logged) { g_message("No user session file found, trying to use configuration file."); logged = TRUE; } g_free(file); file = g_build_filename(app->configdir, PREFS_FILE, NULL); ``` This would have allowed geany to write to both locations, and does indicate that at some point, the ```#define SESSION_FILE "session.conf"``` was/is failing the gtk g_file_test. Slightly before that, PREFS_FILE also has two locations. ``` file = g_build_filename(app->configdir, PREFS_FILE, NULL); if (! g_file_test(file, G_FILE_TEST_IS_REGULAR)) { /* config file does not (yet) exist, so try to load a global config * file which may be created by distributors */ g_message("No user config file found, trying to use global configuration."); g_free(file); file = g_build_filename(app->datadir, PREFS_FILE, NULL); } ``` So, if the session file is failing, and the prefs file failed, there is a chance that geany could split brain into 3 different paths for loading geometry. ``` app->configdir, SESSION_FILE app->configdir, PREFS_FILE app->datadir, PREFS_FILE ``` You may want to check to see if the package came with a geany.conf in addition to your ~/.config directory. The fact that there is some evidence that geany is not being allowed to use the preferred configs may indicate a failed install, or broken upgrade. If this was a linux machine, I'd purge the apt installs, and manually scrub all the geany directories (using find / -type d -name 'geany*') and reinstall from scratch. As this is not, and the source of the package is from brew, which I cannot validate, I recommend trying to install the geany.org package, and seeing if that resolves the problem. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4627#issuecomment-5179408741 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/4627/[email protected]>
