Bug 370195

Summary: Add bug reporting URL (if defined) to widgets' "About" page
Product: [Plasma] plasmashell Reporter: Herr Schmidt <wettererscheinung>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: aspotashev, bernhardu, bhush94, karl, kde, nate, plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=414747
https://bugs.kde.org/show_bug.cgi?id=204364
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description Herr Schmidt 2016-10-06 12:43:03 UTC
Link to Debian Wishlist-Bug which I hereby send upstream: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839716
Thanks, Maria!

Package: plasma-widgets-workspace
Version: 4:4.11.13-2
Severity: wishlist
File: plasma-widgets

Dear Maintainer,

writing bug reports about bugs in Plasma widgets or addons is sometimes quite
difficult as it is not clear to which package they belong to.

Especially if you use a non-english language, you don't even know the official
name of the widget/addon, so it is really hard work to find out where to write
the bug report to. Even in the forums people sometimes can't help you,
especially if your used language is much different than english therefore using
completely different names.

Fazit: Widgets should have an "About" Section containing at least information
about the package they belong to. This would make reporting of bug alot easier.

Thanks for your work and time!
Maria



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages plasma-widgets-workspace depends on:
ii  libc6                         2.24-3
ii  libkdecore5                   4:4.14.23-1
ii  libkdeui5                     4:4.14.23-1
ii  libkdewebkit5                 4:4.14.23-1
ii  libkio5                       4:4.14.23-1
ii  libkunitconversion4           4:4.14.23-1
ii  libplasma3                    4:4.14.23-1
ii  libplasmaclock4abi4           4:4.11.13-2
ii  libqt4-declarative            4:4.8.7+dfsg-9
ii  libqt4-network                4:4.8.7+dfsg-9
ii  libqt4-xml                    4:4.8.7+dfsg-9
ii  libqtcore4                    4:4.8.7+dfsg-9
ii  libqtgui4                     4:4.8.7+dfsg-9
ii  libqtwebkit4                  2.3.4.dfsg-8.1
ii  libstdc++6                    6.1.1-11
ii  libx11-6                      2:1.6.3-1
ii  libxcomposite1                1:0.4.4-1
ii  libxdamage1                   1:1.1.4-2+b1
ii  libxfixes3                    1:5.0.2-1
ii  libxrender1                   1:0.9.9-2
ii  plasma-dataengines-workspace  4:4.11.13-2

plasma-widgets-workspace recommends no packages.

plasma-widgets-workspace suggests no packages.

-- no debconf information

Maximiliano Curia wrote:

¡Hola Maria!

El 2016-10-04 a las 11:24 +0200, Maria escribió:
> Package: plasma-widgets-workspace Version: 4:4.11.13-2 Severity: wishlist File: plasma-widgets

> Dear Maintainer,

> writing bug reports about bugs in Plasma widgets or addons is sometimes quite difficult as it is not clear to which package they belong to.

> Especially if you use a non-english language, you don't even know the official name of the widget/addon, so it is really hard work to find out where to write the bug report to. Even in the forums people sometimes can't help you, especially if your used language is much different than english therefore using completely different names.

> Fazit: Widgets should have an "About" Section containing at least information about the package they belong to. This would make reporting of bug alot easier.

I don't see how this could be feasible under the Debian scope, but it shouldn't be too hard to do this on the upstream side of things, reporting the corresponding group (plasma, apps, extragear) and component (kdeplasma-addons, etc) a particular plasmoid belongs to. The relation between the upstream component names and the Debian source package names should be similar enough, and are probably easy to find, although you'll need to know how to report to the source package directly.

On the other hand, most kde applications have a Report Bug menu entry, that reports the issue upstream, which is the preferred report method for the not Debian specific issues, so it would make sense to add this "report bug" option to the plasmoids.

Could you please send the feature request upstream?

Happy hacking,
-- 
"Fighting patents one by one will never eliminate the danger of software
patents, any more than swatting mosquitoes will eliminate malaria."
-- Richard M. Stallman
Saludos /\/\ /\ >< `/ 

Reproducible: Always
Comment 1 Bernhard Übelacker 2017-12-02 09:34:46 UTC
It would already be very helpful if such an "About"
section would show the shared object or qml file name.
With that it would already be easier to identify the
package that provides the file.

If there are some unique translations used, one can try following
page to get a hint to which package that belongs:
  https://l10n.kde.org/dictionary/search-translations.php
Comment 2 Nate Graham 2021-03-09 04:33:24 UTC
All applets do have an "About" page now, but they don't list the package/repo name or a bug URL. Adding a bug URL or even a "Submit a bug" button seems reasonable to me. This information could be pulled from the AppStream data.
Comment 3 Nate Graham 2021-03-09 04:33:47 UTC
*** Bug 414747 has been marked as a duplicate of this bug. ***
Comment 4 David Redondo 2021-03-09 07:41:39 UTC
Do applets have appstream data? 
I was not aware that we have a mapping of applet-> bugzilla component somewhere
Comment 5 Nate Graham 2021-03-09 15:24:34 UTC
Yes, they do, as they show up in Discover. They could all probably have the bug report URL of their parent package.
Comment 6 Bug Janitor Service 2022-09-24 20:01:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/263
Comment 7 Bug Janitor Service 2022-09-24 20:04:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1176
Comment 8 Nate Graham 2022-09-27 17:21:37 UTC
Git commit 1b3267c81941ab591e117fc5be516fd8181e4c04 by Nate Graham.
Committed on 24/09/2022 at 19:22.
Pushed by ngraham into branch 'master'.

Add new bugReportUrl standard metadata property

This allows the plugin to specify a URL at which bug reports can be
filed. This is typically different from its website, which is why we
need a new property to support it.
Related: bug 204364

M  +5    -0    src/lib/plugin/kpluginmetadata.cpp
M  +8    -0    src/lib/plugin/kpluginmetadata.h

https://invent.kde.org/frameworks/kcoreaddons/commit/1b3267c81941ab591e117fc5be516fd8181e4c04
Comment 9 Nate Graham 2022-09-28 21:11:03 UTC
Git commit 15384afc34d6ba11559253f9eb4162a5a86b8b48 by Nate Graham.
Committed on 28/09/2022 at 18:59.
Pushed by ngraham into branch 'master'.

Set bugReportUrl for all applets in this repo

This way, their config/about pages will show the "Report a Bug" button.

M  +1    -0    applets/activitypager/metadata.json
M  +1    -0    applets/icontasks/metadata.json
M  +1    -0    applets/keyboardlayout/metadata.json
M  +1    -0    applets/kicker/package/metadata.json
M  +1    -0    applets/kickoff/package/metadata.json
M  +1    -0    applets/kimpanel/package/metadata.json
M  +1    -0    applets/margins-separator/metadata.json
M  +1    -0    applets/minimizeall/package/metadata.json
M  +1    -0    applets/pager/package/metadata.json
M  +1    -0    applets/showActivityManager/package/metadata.json
M  +1    -0    applets/showdesktop/package/metadata.json
M  +1    -0    applets/taskmanager/package/metadata.json
M  +1    -0    applets/trash/package/metadata.json
M  +1    -0    applets/window-list/metadata.json
M  +1    -0    containments/desktop/package/metadata.json
M  +1    -0    containments/folder/metadata.json
M  +1    -0    containments/panel/metadata.json

https://invent.kde.org/plasma/plasma-desktop/commit/15384afc34d6ba11559253f9eb4162a5a86b8b48
Comment 10 Nate Graham 2022-09-28 21:11:11 UTC
Git commit 1621b62c8331ec1fd2cbea2986b236eae61f9fb4 by Nate Graham.
Committed on 28/09/2022 at 19:45.
Pushed by ngraham into branch 'master'.

AppletConfiguration: add "Report a Bug" button to config window

When an applet's JSON metadata defines the bugReportUrl key, its
Configuration page will now display a "Report a Bug" button that the
user can click on to quickly and easily file a bug. This should make it
easier for people to file targeted bug reports that are automatically
filed to the right place so they don't need extra work by big triagers
to move them.

If the applet does not define the bugReportUrl key in its JSON metadata
file, it doesn't get this button, and there are no visual changes.
FIXED-IN: 5.27

M  +100  -83   desktoppackage/contents/configuration/AboutPlugin.qml

https://invent.kde.org/plasma/plasma-desktop/commit/1621b62c8331ec1fd2cbea2986b236eae61f9fb4
Comment 11 Nate Graham 2022-09-28 21:30:05 UTC
Git commit 56ef6cd21fe28a84c25e06b4677b27315dbf5579 by Nate Graham.
Committed on 28/09/2022 at 21:28.
Pushed by ngraham into branch 'master'.

Set bugReportUrl for all applets in this repo

This way, their config/about pages will show the "Report a Bug" button.

M  +1    -0    applets/activitybar/metadata.json
M  +1    -0    applets/analog-clock/metadata.json
M  +1    -0    applets/appmenu/package/metadata.json
M  +1    -0    applets/batterymonitor/package/metadata.json
M  +1    -0    applets/calendar/package/metadata.json
M  +1    -0    applets/clipboard/metadata.json
M  +1    -0    applets/devicenotifier/package/metadata.json
M  +1    -0    applets/digital-clock/package/metadata.json
M  +1    -0    applets/icon/package/metadata.json
M  +1    -0    applets/lock_logout/metadata.json
M  +1    -0    applets/manage-inputmethod/metadata.json
M  +1    -0    applets/mediacontroller/metadata.json
M  +1    -0    applets/notifications/package/metadata.json
M  +1    -0    applets/panelspacer/package/metadata.json
M  +1    -0    applets/systemmonitor/coreusage/metadata.json
M  +1    -0    applets/systemmonitor/cpu/metadata.json
M  +1    -0    applets/systemmonitor/diskactivity/metadata.json
M  +1    -0    applets/systemmonitor/diskusage/metadata.json
M  +1    -0    applets/systemmonitor/memory/metadata.json
M  +1    -0    applets/systemmonitor/net/metadata.json
M  +1    -0    applets/systemmonitor/systemmonitor/package/metadata.json
M  +1    -0    applets/systemtray/container/package/metadata.json
M  +1    -0    applets/systemtray/package/metadata.json

https://invent.kde.org/plasma/plasma-workspace/commit/56ef6cd21fe28a84c25e06b4677b27315dbf5579
Comment 12 Nate Graham 2022-09-28 21:51:44 UTC
Git commit f421f4d3fe1f879f7848f80239b3cc143827bdea by Nate Graham.
Committed on 28/09/2022 at 21:51.
Pushed by ngraham into branch 'master'.

Set BugReportURL for applet

M  +1    -0    applet/metadata.json

https://invent.kde.org/plasma/plasma-nm/commit/f421f4d3fe1f879f7848f80239b3cc143827bdea
Comment 13 Bug Janitor Service 2024-06-16 09:15:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-vault/-/merge_requests/50
Comment 14 ratijas 2024-06-17 08:17:33 UTC
Git commit b623c7248ebd761260273f9eb3481aff7a000c33 by ivan tkachenko.
Committed on 16/06/2024 at 09:11.
Pushed by ratijas into branch 'master'.

applet: Add Bug Report URL

This way, their config/about pages will show the "Report a Bug" button.

M  +1    -0    plasma/package/metadata.json

https://invent.kde.org/plasma/plasma-vault/-/commit/b623c7248ebd761260273f9eb3481aff7a000c33