[PATCH] Permanent clear button for KLineEdit

Alexander Dymo alexander.dymo at gmail.com
Wed Mar 25 16:51:28 GMT 2009

On Wednesday 25 March 2009 18:26:32 Aaron J. Seigo wrote:
> > when this came up a few weeks ago, several people agreed that the
> > disappearing clear button in bad ui design.
> can you explain more, please?
> here's the rational for the appearing/disappearing button:
> * it signals when there is something it can actually do; no text? it
> doesn't do anything. why be there
> * it cuts down on visual noise. when they are always on and you have a
> dialog with a bunch of blank text fields is looks a lot worse and the user
> is confronted with a lot more visual noise for no reason at all

This question reminds me about similar problem with non-relevant menu items. 
You can either hide the item or disable it. AFAIK the current answer is 

What if we try the same approach here?

We could grey out this "clear" button when there's no text and disable onclick 
for it. This would solve the first problem Aaron listed.

We could also make it as light grey as possible to cut down visual noise to 
solve the second problem.

More information about the kde-core-devel mailing list