! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Default program dialog remembers setting even if cancelled
Status:
RESOLVED: FIXED

Comments

Description James Bellinger 2012-05-01 02:45:05 CEST
I clicked Cancel on Mail Reader when it asked to pick a default program, after accidentally clicking Evolution. Now it starts Evolution immediately, meaning it saved my choice, instead of asking me.

Cancel should not just prevent the program from starting, when choosing a default program. It should also not save the combo box selection.

I am using the XFCE 4 version downloaded from the Ubuntu 12.04 repos with Synaptic.
Comment 1 Sean Davis editbugs 2015-05-22 04:17:58 CEST
Verified the bug is still present with trunk (2015-05-21).
Comment 2 Simon Steinbeiss editbugs 2017-05-21 00:36:20 CEST
Sorry, I don't see how this is a bug. As there is no save button, how else would this work?
Comment 3 Sean Davis editbugs 2017-06-15 05:14:34 CEST
The preference should only be set if the application is selected and then launched.  With the current implementation, the selection is saved immediately when the combobox is changed.  This should be a small and easy fix, let's try to knock this out soon.
Comment 4 Git Bot editbugs 2017-06-16 04:26:09 CEST
Sean Davis referenced this bugreport in commit 1c64787b0c25f18b924de6a98423e76a3a9ac772

Add new exo_helper_database_clear_default, discard preferred application if dialog is canceled (Bug #8802)

https://git.xfce.org/xfce/exo/commit?id=1c64787b0c25f18b924de6a98423e76a3a9ac772
Comment 5 Sean Davis editbugs 2017-06-16 04:26:55 CEST
With the above commit, the selection is discarded if the dialog is cancelled.

Bug #8802

Reported by:
James Bellinger
Reported on: 2012-05-01
Last modified on: 2017-06-16

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Additional information