close preferences bug

Bug #145269 reported by sander
6
Affects Status Importance Assigned to Milestone
Coccinella
Invalid
Low
sander

Bug Description

When I close the preferences dialog, I always get the warning dialog with the text "The preferences have been changed. Do you want to cancel anyway?". This is also true when I did not changed any setting!!

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Low
Revision history for this message
Mats (matsben) wrote :

You need to put a trace into lib/Preferences.tcl like this:
proc ::Preferences::HasChanged {} {
    variable changed

    ::CallTrace 0

    set changed 1
}

and then post the output to me which looks like:
Tcl call trace:
 4: ::Preferences::HasChanged ...
 3: ::Sounds::CancelPrefsHook ...
 2: ::hooks::run prefsCancelHook ...
 1: ::Preferences::Cancel ...

Changed in coccinella:
status: New → Confirmed
Revision history for this message
sander (s-devrieze) wrote :

Seems to fixed. Is this possible?

Revision history for this message
Mats (matsben) wrote : Re: [Bug 145269] Re: close preferences bug

I never understood it from the beginning and don't know how it can be
fixed either :-(

On 10/14/07, sander <email address hidden> wrote:
> Seems to fixed. Is this possible?
>
> --
> close preferences bug
> https://bugs.launchpad.net/bugs/145269
> You received this bug notification because you are a bug assignee.
>

Revision history for this message
buzzdee (sebastia) wrote :

I've seen the same on OpenBSD4.5 TCL/TK 8.5.6 Coccinella-0.96.12Src

I added the call trace, here is the output:
Tcl call trace:
        4: ::Preferences::HasChanged ...
        3: ::FilePrefs::CancelPrefsHook ...
        2: ::hooks::run prefsCancelHook ...
        1: ::Preferences::Cancel ...

Revision history for this message
buzzdee (sebastia) wrote :

forget my last comment. It was triggered due to my patch to the FLC file mime type, which was invalid anyways. It showed up only up in conjunction with an old user preferences file.

sander (s-devrieze)
Changed in coccinella:
assignee: Mats (matsben) → sander (s-devrieze)
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.