Friday, October 07, 2005

kontact tip of the (or at least my) day

i'm a huge fan of the keyboard, preferring to keep my hands on it as much as possible and viewing the mouse somewhere between "necessary evil" and "niche tool of occasionally surprising usefulness". so one of the things that always bugged me in kontact was that i couldn't (or so i thought) switch between email and the calendar with the keyboard. i could do just about everything else but that.

so i asked in #kontact and it turns out that you can switch between the various parts using the keyboard with control+#. this is one of those things you just have to know as it isn't exposed anywhere in the gui. now i'm a much happier camper (it's the small things in life, really).

but being lazy i don't like to count and i have better things to do than remember that "notes is control+6" (heaven forbid i ever add more kontact plugins ;). so i spent 15 minutes and whipped up a little patch that displays the number of the items in little bubbles when you hold down the control key. you can see the results in the screenshot to the right.

the patch can be had here but note that it's not perfect. it doesn't filter on the whole window (so if you manage to switch to the window without giving the main area focus it won't work) and if you hold down control and open a dialog it won't get the keyrelease event and turn off the bubbles (making the event filter pay attention to ctrl+ keypresses would take care of that, though). it may also be nice to have a slight delay before showing the bubbles so a quick command invocation doesn't cause them to flicker in and out.

too bad 3.5 is already feature frozen. hmm.. maybe i could pretend this is a usability bug and sneak it in after polishing it up? ;P

9 comments:

Anonymous said...

And if you use this for standard menus instead of an underscored letter, you are on step closer to the planned MS Office 12 (which interface impressed me quite a bit... quite refreshing view on how to present complex features/options in a straightforward way).

Anonymous said...

Please consider it is a (UI) bug
and as such it should be solved,
and therefor your patch should be
included in 3.5 ;)

Thanks for this great tip!

superstoned said...

get this in 3.5! get this in 3.5! get this in 3.5! or i'll nag you even more :D

seriously, if it's possible... on the other hand, i see the point in a feature freeze, so no, i'll be nice, and won't keep you awake at nights by screaming in front of your house :D

mahoutsukai said...

bug:114013 'nuff said

Lukáš Tinkl said...

By default Ctrl+number is bound to switching desktops unless I'm missing something... :p

Lukáš Tinkl said...

By default Ctrl+number is bound to switching desktops unless I'm missing something... :p

Anonymous said...

It's CTRL+F[number]. For example, press CTRL+F2 to go desktop 2.

Bansku said...

This would indeed be useful "bugfix"! A little drawback would still be that i can not reach my 10th plugin because i'm missing number "10" from my keyboard ;). Damn. Anyway these little tips make my day also and give me one more reason not to touch my mouse anymore!

Would some sort of sticky ctrl-key feature solve this annoyance? At least it would give me a few milliseconds time to type 1 and 0 in a row?

Larry Garfield said...

Without your patch, there's no indication of the functionality. With it, there's a clear user-friendly indication of the functionality.

That sounds like a usability improvement to me. Go for it