Summary: | Don't create different accesskeys for the same URL | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Rolf Eike Beer <kde> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bugzilla, finex |
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Untested try to ignore duplicate URLs |
Description
Rolf Eike Beer
2006-02-20 17:41:04 UTC
I just run into something similar ... in my case, I have explicitly set the same accesskey for the same href targets but only the first one is being displayed after hitting the Ctrl key (the second one does not display any accesskey at all). - I guess if such behaviour has something to do with bug 121144 but it seems that the patch deals with javascript only while I have static links? using Konqueror 3.5.6 Created attachment 39337 [details]
Untested try to ignore duplicate URLs
The basic idea behind this patch is that all URLs that already have an accesskey manually assigned will be ignored when the remaining URLs will get the remaining keys assigned. It's ownly compile tested.
If this is acceptable please tell me when I should commit this.
@Rolf: you should post the patch in the KDE reviewboard. http://techbase.kde.org/Contribute/Send_Patches http://reviewboard.kde.org/ SVN commit 1174506 by dakon: avoid duplicate accesskeys for the same URL BUG:122356 REVIEW:5134 M +14 -4 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1174506 SVN commit 1180870 by thiago: Revert commit 1174506 "avoid duplicate accesskeys for the same URL" This introduced an infinite loop in the access-key resolution. Go to a bugzilla bug comment and press Ctrl -- konq locks up due to the infinite loop. CCBUG:122356 M +4 -14 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1180870 SVN commit 1183254 by dakon: avoid duplicate accesskeys for the same URL, this time without endless loop CCBUG:122356 M +16 -4 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1183254 |