GNOME Bugzilla – Bug 352007
last entered text remains in entry
Last modified: 2006-09-02 20:20:47 UTC
This is specifically in Entriac mode, the last searched for text remains in the entry, allowing someone who is shoulder surfing to find out what the last action I carried out was. Deskbar 2.14 used to clear the text. Clearing the text is backwards to the way the quicksearch bar in Firefox works (for example), so perhaps not a useful default, perhaps this could be a (hidden) option.
Created attachment 71248 [details] [review] Adds GConf key to enable/disable this feature This patch works with currently all UIs. Nevertheless, it might not work with custom UIs because it makes use of the cuemiac attribute.
Sebastian: I see a proble with the patch, indeed the value stored in GCONF is never read from gconf, and also it should react to changes in that key in gconf and update the boolean so it zorks for next query. Besides, could you make it non cueiac specific, for exaple by adding a new function to DeskbarUI like clear_text ? Thanks !
Created attachment 71467 [details] [review] Improved patch This patch adds the features requested by Raphael
Thanks for the patch, commited in HEAD !
A minor bug appeared: There's an attribute called self.clear_entry and a method Therefore, one of them must be renamed.
Sebastian: I opened bug #354014 about this. It has a patch, but we have to break freeze, or wait for 2.16.1...