Bug 211061 - Ctrl-Home Keyboard shortcut doesn't work
Summary: Ctrl-Home Keyboard shortcut doesn't work
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.5.1
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 12:00 UTC by Jammer
Modified: 2013-02-06 23:06 UTC (History)
2 users (show)

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 Jammer 2009-10-19 12:00:08 UTC
Version:           4.3.1 (KDE 4.3.1) "release 169" (using 4.3.1 (KDE 4.3.1) "release 169", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.29-0.1-default

I'm unable to assign Ctrl-Home to take me to my homepage.

The default Alt-Home combination successfully causes Konqueror to load my homepage but Ctrl-Home (a-la Konqueror from KDE 3.5) fails.

I've tried re-assigning the keyboard shortcut but this has seemingly no effect. I note that there are two listings for "Home Page" in the Settings -> Configure Shortcuts dialogue but it makes no difference which one I select and configure with Ctrl-Home. Nothing works and I am utterly unable to get Ctrl-Home working.
Comment 1 FiNeX 2010-09-19 17:57:16 UTC
It partially works with KDE 4.4.5:

ctrl+home opens the home (file or web) in a new tab instead of the current one, moreover clicking on the "home" icon (file view) returns an error message about an invalid location.

Probably this bug has not been completely fixed.
Comment 2 Jammer 2010-09-20 00:11:31 UTC
I've tried this on Konqueror "Version 4.5.1 (KDE 4.5.1)" and the behaviour is different (almost working). I can at least assign the Ctrl-Home combination and get it to do something.

Ctrl-Home opens my home-page in a new tab
Alt-Home opens my home-page in the current tab.

Ctrl-Home should behave EXACTLY the same as Alt-Home if I've assigned the shortcut for the same action. However the same keyboard shortcut is performing a different operation. 

There is obviously more going on here than just:
Shortcut -> "maps to" Action.
Comment 3 Dawit Alemayehu 2011-12-24 06:16:16 UTC
(In reply to comment #2)
> I've tried this on Konqueror "Version 4.5.1 (KDE 4.5.1)" and the behaviour is
> different (almost working). I can at least assign the Ctrl-Home combination and
> get it to do something.
> 
> Ctrl-Home opens my home-page in a new tab
> Alt-Home opens my home-page in the current tab.
> 
> Ctrl-Home should behave EXACTLY the same as Alt-Home if I've assigned the
> shortcut for the same action. However the same keyboard shortcut is performing
> a different operation. 
> 
> There is obviously more going on here than just:
> Shortcut -> "maps to" Action.

CTRL+ always have special meaning in Konqueror. CTRL + LMB click will result in a link being opened in a new window or tab based on your configuration. The same goes for CTRL + clicking on a bookmark item ; so the Home button is not treated any differently. Not entirely sure this should be changed since it seems to have been done on purpose.
Comment 4 Jammer 2012-01-11 09:28:57 UTC
The point is that if there is an action assigned to a keyboard shortcut, the assigned keyboard shortcut should perform this action.

Alt-Home opens my homepage in the current tab: Action = "Open homepage"
If Ctrl-Home opens my homepage in a new tab, this should be a separate action: Action = "Open homepage new tab" and I should be able to assign either keyboard shortcut to either action.

I don't know if it's Konqueror or KDE which is treating the CTRL key as "special" but it really should just be another modifier key like Alt or Meta etc.
Comment 5 Dawit Alemayehu 2012-05-09 20:52:07 UTC
(In reply to comment #4)
> The point is that if there is an action assigned to a keyboard shortcut, the
> assigned keyboard shortcut should perform this action.
> 
> Alt-Home opens my homepage in the current tab: Action = "Open homepage"
> If Ctrl-Home opens my homepage in a new tab, this should be a separate
> action: Action = "Open homepage new tab" and I should be able to assign
> either keyboard shortcut to either action.
> 
> I don't know if it's Konqueror or KDE which is treating the CTRL key as
> "special" but it really should just be another modifier key like Alt or Meta
> etc.

No this is hard coded in Konqueror. It has been that way since Konqueror was created. IOW, that specific shortcut cannot be made configurable for the simple reason it is CTRL+ LMB click on the Home button. How do you make that configurable ? It is not a keyboard shortcut combination only. It involves a mouse click.
Comment 6 Jammer 2012-05-09 22:28:33 UTC
I think you are missing the point. This is not about Ctrl + LMB click on Home Icon.
This is Ctrl + Home key. I am talking about a "Keyboard Shortcut". No mouse involved.

This has NOT been this way since Konqueror was created as in KDE v3.5.X, Ctrl + Home key in Konqueror would take me to my home page in the *current* tab.

The Alt + Home key combination performs the "Open Homepage" action
The Ctrl + Home key combination performs an "Open Homepage in new tab" action.

The menu for "Settings -> Configure Shortcuts" only lists a single possible action: "Home Page" which I can assign "Ctrl + Home" to, but which behaves differently to "Alt + Home".

Again in case you missed it, this is about *KEYBOARD SHORTCUTS* and has nothing to do with clicking the mouse.
Comment 7 Jammer 2013-02-06 23:06:51 UTC
This is still broken in Konqueror v4.9.5 (Linux (x86_64) release 3.2.0-34-generic)
Step to reproduce:
1) Settings -> Configure Shortcuts
2) Locate "Home Page" and click "Alternate"
3) Click "Custom" radio button and click entry field.
4) Press "Control" and "Home" keys. Field displays "Ctrl+Home"
5) Select "OK"
6) Test by pressing "Alt-Home" when cursor is in any browser page. (Home page is displayed in current tab)
7) Test by pressing "Ctrl-Home" when cursor is in any browser page. (Home page is opened in NEW tab)

Different behaviour from the same shortcut. Bad.
The action "Home Page" in the list of shortcuts, is obviously special somehow.