Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189012 - New Konqueror web shortcuts (gp, gf, gb) work without being activated and override existing ones
Summary: New Konqueror web shortcuts (gp, gf, gb) work without being activated and ove...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 15:33 UTC by Alec Meyers
Modified: 2009-11-04 18:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Meyers 2007-08-15 15:33:41 UTC
I recently updated KDE from 3.5.5 to 3.5.7, and I found the following problem: 

When I type in "gp:<something>" in Konqueror's Location bar, it sends me to packages.gentoo.org (which does not even work!) instead of the site I configured for the shortcut.

I know that this is a new "feature" that was added. After the installation, I read the elog and it said:

    We've added three Gentoo-related web shortcuts: 
    - gb           Gentoo Bugzilla searching 
    - gf           Gentoo Forums searching 
    - gp           Gentoo Package searching 

    You'll have to activate them in 'Configure Konqueror...'.

The problem is, they work *without* being activated, override other enabled shortcuts and reappear after being deleted.

Reproducible: Always

Steps to Reproduce:
1. Open Konqueror
2. Type in "gp:portage" in the Location bar
   (you will be sent to packages.gentoo.org, even though Shortcut is not checked)

3. Go to Settings -> Configure Konqueror -> Web Shortcuts
4. Delete all Gentoo-related shortcuts (Gentoo Packages, Gentoo Forums, Gentoo Bugzilla) and click OK.
5. Close Konqueror, and reopen it.
6. Go to Settings -> Configure Konqueror -> Web Shortcuts
   (the Gentoo-related shortcuts are back)

7. Add a new Shortcut for that uses "gp" and have it checked (notice - Gentoo Packages was never checked)
8. Type in "gp:portage" in the location bar
   (You are still sent to packages.gentoo.org)
Actual Results:  
- Shortcuts work even if not enabled
- Shortcuts get restored on application restart
- User-made shortcuts are overridden

Expected Results:  
- Disabled shortcuts should not be active
- Deleted shortcuts should not respawn
- Enabled shortcuts should not be overridden by disabled ones
Comment 1 Roderick B. Greening 2007-08-23 22:12:20 UTC
Confirmed here as well. This functionality was recently added via the branding use flag.

As a temporary resolution, remove the branding use flag and re-emerge konqueror. This will restore previous functionality. 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2007-12-26 22:18:35 UTC
>
>    You'll have to activate them in 'Configure Konqueror...'.
>
> The problem is, they work *without* being activated, override other enabled
> shortcuts and reappear after being deleted.

What meant is that you have to de-/activate web shortcuts in Konqueror's config dialog. I do not see how these could override other shortcuts. The are no conflicting predefined ones and user defined ones have always precedence. Even tested it to be sure there is no bug in the code.