[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GWorkspace - viewer preference persistence
From: |
Riccardo Mottola |
Subject: |
Re: GWorkspace - viewer preference persistence |
Date: |
Thu, 12 Sep 2013 11:51:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; NetBSD i386; rv:17.0) Gecko/20130221 Thunderbird/17.0.2 |
Hi,
On 09/12/13 06:42, Germán Arias wrote:
On 2013-09-11 03:54:23 -0600 Riccardo Mottola <riccardo.mottola@libero.it>
wrote:
Sorry, the problem is only with directories.
Actually the problem is real and for many different errors, I looked at
the code closely. You can:
1) mark a file read-only, try to rename it later
2) try to rename a file to zero-length
3) try to rename a directory with a ".app" extension
4) there are a couple of other exceptions you can trigger
I checked the code, which did no t change significantly over the years,
but used to work! (if you try on debian where all packages are stone-age
old, everything works!
The code does:
-> error condition
-> Show alert panel
-> run stop-editing code & return
Essentially it never stop editing properly and gets in a sort of loop.
A quick fix is to "stop" the editing before runnig the alert panel: it
will work (except for the fact that to continue editing you need to
click on another file and get back). But this is not the real solution:
for a panel with a YES/NO choice... you can't :)
Currently I'm at loss here
Riccardo
PS: while debugging this I found an incredible number of exceptions!
being in the debugger showed them, I fixed all of them :) Fix this and
the next GWorkspace will be great! hah!