[Geany] Load files from last session

Nick Treleaven nick.treleaven at xxxxx
Thu Nov 9 16:06:50 UTC 2006


On 08/11/06 22:37:33, Rowan Lewis wrote:
> Nick Treleaven wrote:
>> On 08/11/06 05:08:44, Rowan Lewis wrote:
>>> Nick Treleaven wrote:
>>>> On 05/11/06 00:31:58, Rowan Lewis wrote:
>>>>> Right! 30 seconds after posting the last bug, I noticed this:  
>>>>> When "Load files from the last session" is enabled, and you close  
>>>>> geany then open it again, the files from the last session are not  
>>>>> open.
>>>> [...]
>>>> I'm guessing it's one of these things that you experienced - so  
>>>> can you give more information to reproduce this - e.g. what you  
>>>> did from starting just one instance of Geany until closing it.
>>> Ok, this is a pretty clear bug, what I did:
>>> 
>>> 1. Opened geany (the first instance).
>>> 2. Opened a file and edited it, saved.
>>> 3. Closed geany and opened it again.
>>> 
>>> The file/files I'd previously been working on where not re-opened.  
>>> [...]
>> OK, could you send your ~/.geany/geany.conf please? It may help with  
>> debugging.
>> 
>> A few other questions, to try to nail down the problem:
>> When opening files, do you mean from the open dialog?
>> Does opening files from the command-line open files in an existing  
>> first instance of Geany? (i.e. does the socket code work?)
>> Also what distro/OS are you running Geany on?
>> Does the session restoring work for different files/at all?
>> [...]
> Right, first the questions:
> 
> 1. Either from the open dialog or recent files menu.
> 2. Yep, opening from the command line opens in the first instance.
> 3. Running on Ubuntu 6.06 in Gnome.
> 4. It doesn't work for any of the files that I've edited.
> 5. None of the files I've worked on have a path over 256 characters.
> 
> I've attatched the config file, hope it helps.
> [...]
Thanks for the info. I found a bug in the session loading code this  
morning which might affect this - could you try SVN r980?

Some more things if the SVN still fails - was the config file you sent  
from after closing Geany with files open, or after the session failed  
to load? If the former could you send it again straight after quitting  
geany with files open please ;-) Also the output of 'ls -l' for any  
file which isn't reopened, plus any details about the file system the  
files are on (e.g. /etc/mtab entry or 'mount' output for the  
filesystem).

Regards,
Nick



More information about the Users mailing list