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

            Bug ID: 513366
           Summary: Hard-coded OS name string in Discover
    Classification: Applications
           Product: Discover
      Version First 6.5.4
       Reported In:
          Platform: FreeBSD Ports
                OS: FreeBSD
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: discover
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY

When searching a package name, and Discover not finding it, a text like this
appears:

```
"keepassxc" may be available on the web. Software acquired from the web has not
been reviewed by your distributor for functionality or stability. Use with
caution.
```

Underneath the text, there's a button: `Search the Web for "keepassxc"`.
Clicking it opens a search in DuckDuckGo, as follows:
`https://duckduckgo.com/?q=Linux%20keepass&t=kde&ia=web`

As we can see, it implies Linux is in use, while FreeBSD is my current system.

STEPS TO REPRODUCE
1. Open Discover in FreeBSD
2. Search any term
3. Click "Search the Web" button.

OBSERVED RESULT

The Web search in DuckDuckGo defaults to "Linux" instead of the actual system.

EXPECTED RESULT

Dynamically get the current system, instead of using hard-coded values.

SOFTWARE/OS VERSIONS
user@freebsd ~> kinfo
Operating System: FreeBSD 15.0
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.3
Kernel Version: 15.0-STABLE (64-bit)
Graphics Platform: Wayland
Memory: 15.9 GiB of usable RAM
Graphics Processor: AMD Radeon RX 580 Series


ADDITIONAL INFORMATION

Opening this very minor issue as a bug, as it might be happening elsewhere
(e.g. right above this section in the bug report template, "SOFTWARE/OS
VERSIONS" only suggests Windows/macOS/Linux, too).
Having such values dynamically populated might also help/interfere with
localization.

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

Reply via email to