https://bugs.kde.org/show_bug.cgi?id=407944

            Bug ID: 407944
           Summary: Web shortcuts that start with a dot aren't shown
           Product: krunner
           Version: 5.15.5
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: webshortcuts
          Assignee: ro...@kde.org
          Reporter: kharacter...@gmail.com
  Target Milestone: ---

SUMMARY
All the added web shortcuts that start with a dot are not shown in the Web
Shortcuts section of System Settings nor shown in KRunner. In the
`~/.local/share/kservices5/searchproviders/` directory there are files of these
shortcuts, but they are hidden (start with a dot).

STEPS TO REPRODUCE
1. Create a shortcut via the `New Web Shortcut` form in System Settings.
2. Fill the `Shortcut name` and `Shortcut URL` fields.
3. In the `Shortcuts` field enter `.demo`.
4. Submit a form.
5. Apply changes and close System Settings.

OBSERVED RESULT
The `.demo` shortcut is not shown in the KRunner and isn't shown in the list of
shortcuts in the `Web Shortcuts` section of System Settings.

EXPECTED RESULT
I expect a working shortcut or some kind of a message about an invalid shortcut
name.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.15
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0
Kernel Version: 4.18.0-20-generic
OS Type: 64-bit

ADDITIONAL INFORMATION
It is an example of content of a shortcut file in the
~/.local/share/kservices5/searchproviders/ directory:

[Desktop Entry]
Charset=
Hidden=false
Keys=.demo
Name=Demo
Query=www.google.com
Type=Service
X-KDE-ServiceTypes=SearchProvider

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to