! 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 !
Better file chooser for the shortcuts plugin
Status:
CLOSED: FIXED
Product:
Xfce4-settings
Component:
Keyboard Settings

Comments

Description Nick Schermer editbugs 2006-06-02 11:25:45 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060503 Firefox/1.5.0.3 (Swiftfox)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060503 Firefox/1.5.0.3 (Swiftfox)

The current file choose could hang the system, the one used in the Thunar uca editor is much better and Benny probably wouldn't mind if we use it here ^_~.

Reproducible: Always

Steps to Reproduce:
1. Can use 100% cpu if file not found
Comment 1 Nick Schermer editbugs 2006-06-02 11:26:36 CEST
Created attachment 588 
file chooser from thunar for keyboard plugin
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-06-02 16:58:20 CEST
Um, XfceFileChooser is just a wrapper around GtkFileChooser.  In other words, they're the same thing.  Not saying it shouldn't be changed, since XfceFileChooser is deprecated, but I'm not sure why you're saying this is "from thunar".
Comment 3 Nick Schermer editbugs 2006-06-02 18:23:23 CEST
The code is copied from thunar, because it has a better way of checking (if the file exists). So that's why it's from thunar...
And i know the old code is a wrapper, but who cares? If gtk can provide what we need, why to use a wrapper?

Anyway this patches fixes the issue and makes the dialog a bit better for finding executables.
Comment 4 Jean-François Wauthy editbugs 2006-06-02 19:34:41 CEST
thanks for the patch committed with revision 21949
Comment 5 Olivier Fourdan editbugs 2006-06-02 20:34:52 CEST
In the good old days, it was not uncommon that patches were required to use the same source  indenting scheme as the patched code, to keep readability and the code homogeneous. I admit that I liked that time...
Comment 6 Jean-François Wauthy editbugs 2006-06-02 20:57:42 CEST
i changed the indentation style, i must admit i forgot (many things in my mind these days)
Comment 7 Nick Schermer editbugs 2006-06-02 22:23:23 CEST
Sorry for the indenting, i was a bit in a hurry, so i never though about it.

Bug #1886

Reported by:
Nick Schermer
Reported on: 2006-06-02
Last modified on: 2009-07-15

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information