Bug 182872 - Search bar gets activated even when it's hidden
Summary: Search bar gets activated even when it's hidden
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 15:19 UTC by Christoph Lange
Modified: 2009-02-14 19:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Lange 2009-02-02 15:19:43 UTC
Version:           4.2.0 (using 4.2.00 (KDE 4.2.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-tuxonice-r1

I usually have the search bar disabled.  However, I forgot to disable the "s" default shortcut for it as well.  I usually select tassk by typing their name, but when I wanted to type an "S" as a part of some name, the (hidden) search bar was selected, and the rest of my input went into the search bar.

I'm not sure whether this is a bug or a feature, though.  _I_ don't expect a hidden search bar to work, but some other power user might want to hide the search bar but still have it accessible.
Comment 1 Thorsten Staerk 2009-02-02 19:15:12 UTC
I have good news for you, I re-wrote the mainwindow code so that it only displays the kpart. I think the S button no longer works anyway :)

Sorry for the sarcasm :)
Comment 2 Christoph Lange 2009-02-03 12:52:31 UTC
(In reply to comment #1)
> I have good news for you, I re-wrote the mainwindow code so that it only
> displays the kpart. I think the S button no longer works anyway :)
> 
> Sorry for the sarcasm :)
You know this quote from Larry Wall?  "Let's call it an accidental feature" :-P
Comment 3 Thorsten Staerk 2009-02-14 17:57:43 UTC
Damn... confirmed for trunk.
Comment 4 Thorsten Staerk 2009-02-14 18:05:33 UTC
SVN commit 926100 by tstaerk:

Only focus searchbar if it is visible.
BUGS:182872


 M  +1 -1      timetrackerwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=926100
Comment 5 Thorsten Staerk 2009-02-14 19:22:02 UTC
SVN commit 926149 by tstaerk:

Only focus searchbar if it is visible. This is a backport of 926100.
CCBUGS:182872


 M  +1 -1      timetrackerwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=926149