hAs detailed here, only a summary warning that "one or more" errors occurred is given if there is a failure when opening a project: ttps://github.com/geany/geany/issues/777#issuecomment-160059074
It seems that in this case some files that were open in the project had moved due to a system re-installation. However this remains guesswork since the errors are not reported in the status window. Only the file that opened successfully get reported.
On closing the project only open files are included so subsequently opening the project does not repeat the error.
Clearly explicit error messages should be given , probably in the status window.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778
Suggest the message says:
Failed to load one or more session files, see Help->Debug Messages for more information.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160097805
That sounds like it but it only appeared the first time there is an error, since non opened files are not stored on saving the project.
This should be easy to reproduce by deleting a project file after closing a project then re-opening.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160203698
I did test it to see the output, and agree the existing message is a bit vague (it should tell to look in debug messages for more info as I mentioned, since it shows the individual files that failed to load).
But it's kind of not an (hard) error since those files are just "session files", it's not like in some IDEs where you explicitly add files to the project, they're more or less just "recently used" files. It would probably kind of annoying if Geany made a big stink for them (ex. modal dialogs), and if it didn't ever prune the list, it could grow indefinitely, so it would be tricky to make it keep warning about missing session files.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160241634
I believe Geany is operating correctly in re-writing the session with the current open files on each close.
And the message actually says "session files", but it indeed could point to the help->debug messages.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160242355
``` I believe Geany is operating correctly in re-writing the session with the current open files on each close. ```
Agreed, I was not suggesting otherwise, simply noting that it was not possible to re-examine what happened since the error removes itself.
I went to the "Messages Window" expecting to find more detail on one of the tabs. It appears that the relative information is on the help menu. It may be worth considering if that is the most appropriate place.
Generally I would expect abstract functional information in the help menu not run time session related messages. I would suggest this debug window would be more logically organised as an additional tab on the Messages Window.
If you need to point the user to help | debug it may be because the user is unlikely to look there unless you tell him to. This suggests a design layout error.
``` But it's kind of not an (hard) error since those files are just "session files", ```
Well either Geany stores and opens the files the user was working on or it does not. If it is an intended functionality and it does not work it's an error. If something external to Geany causes it to fail the user needs to know that normal functionality did not happen.
I agree with the design choice to limit the situations in which modal dialogues pop up. They can be very annoying and should be reserved for more serious errors. However, one thing I have noted elsewhere is that I find the quiet status bar messages far too discrete. I had a separate situation where something ( file save ? ) was failing and I had to repeat it about four times before I noticed something had had changed on the periphery of the display.
I will open a separate issue about that.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160254815
BTW I just tested this by deleting a session file and reopening to look at help | debug. The file path is shown with %2F instead of slash separators. The other messages in the list are displayed normally.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160254998
BTW I just tested this by deleting a session file and reopening to look at help | debug. The file path is shown with %2F instead of slash separators. The other messages in the list are displayed normally.
See #779
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160255200
If you need to point the user to help | debug it may be because the user is unlikely to look there unless you tell him to. This suggests a design layout error.
Quite possibly, the reasoning behind the separation is AFAICT lost in the mists of time. Major changes to the UI will have to be bikeshedded (nothing bikesheds like a proposed UI change) and will take time. Adding to the message is something that might happen quickly.
Well either Geany stores and opens the files the user was working on or it does not. If it is an intended functionality and it does not work it's an error.
No, its not an "error" it can happen for any number of external situations, temp files deleted, remote systems not mounted, etc
But your point that the information about why should be easier to find is valid.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160259154
``` No, its not an "error" it can happen for any number of external situations, temp files deleted, remote systems not mounted, etc ```
I was not saying it was an error ( bug ) in Geany but it is an error condition that Geany should flag to the user even if the cause is external. I think we are basically in agreement.
A quick sticking plaster solution would be tag " see Help | Debug" on the end of the existing msg in the status window. I would suggest a TODO for moving that content to the Messages Window. It would not be a major UI overhaul.
Adding a new tab to the window is trivial. The Help debug window is certainly an object to using that objects name to point to the new tab should mean all data sent there ends up in the right place.
I don't have time to invest in implementing it but it does not seem major upheaval in terms of coding.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/778#issuecomment-160264066
github-comments@lists.geany.org