Sorry for the long delay, I was busy last week (OK, no one cares anyway)
Le 18/02/2012 02:45, Lex Trotman a écrit :
On 18 February 2012 12:13, Matthew Brush mbrush@codebrainz.ca wrote:
On 02/17/2012 09:42 AM, Dimitar Zhekov wrote:
On Mon, 13 Feb 2012 17:14:19 -0800 Matthew Brushmbrush@codebrainz.ca wrote:
- "geany xyz.txt" does not load files from session - ID: 2838686 [3]
Here it wasn't decided whether of not Geany should restore session. I suggest we discuss this question and finally either fix the bug or mark it as WONTFIX.
I don't often use Geany for opening files from the command line and usually I always have a Geany window open so if I do, it's not an issue, so I can't really provide a worthwhile opinion here.
As the bug report states, opening a file _with your file manager_ or CLI loses the last [default] session [if no geany is running]. The complaints we usually got were "I double-clicked foo.c and lost my session", to which we usually replied "use projects". So this affects the GUI, even more than CLI.
I just taught the file mangler to run geany -c so it never interrupts what a normal Geany is doing :)
I don't think that's something everybody should need to do.
Yeah, I don't usually do that either. I almost always have an instance of Geany running on my 2nd monitor and if not, I'm usually not surprised by the behaviour since I do use projects mostly unless I'm just quickly editing a file or two.
Why not have a vote and finally implement or wontfix it? I volunteer to write the preference, as a graphical or vaiouus preference, if we decide "aye".
Since there is no "always right" answer as to how Geany should react I'd say "wont change" since we have well known documented behaviour already.
I personally do think what we do is definitely the Wrong Thing. Honestly, I always have found this behavior very counter-intuitive and not helpful. I mean, if I tell Geany to restore my session, I expect it to be restored whenever I start Geany, not only in some cases.
OK, for me it's not a real problem since I always have one or more Geany instance open, but remembering the early times I did unexpectedly lost some session data because of this behavior.
To summarize, I think that the current behavior will most likely NOT be the expected one and will disturb most users. See, even us do workaround that in some ways, either using -c or having an instance always open.
So I'd say "aye" to Dimitar since he gently volunteered :) Moreover if it is a preference I don't see any loss; but I'd better see this preference turned on by default for new configurations if the restore session one is on.
That's my POV of course :)
Cheers, Colomban
Cheers Lex
I have no opposition to this, though I wouldn't even know which way to vote. Why not setup one of those online polls and send a message to the mailing list(s) and see what happens?
Cheers, Matthew Brush
Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel