Bug 431960 - Add explanatory text to field "Applications to be excluded from sessions"
Summary: Add explanatory text to field "Applications to be excluded from sessions"
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_smserver (show other bugs)
Version: 5.20.5
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-01-22 22:58 UTC by Andrei Rybak
Modified: 2022-12-26 14:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Rybak 2021-01-22 22:58:01 UTC
SUMMARY
Setting "Applications to be excluded from sessions" should have a tooltip on its text field explaining the format for the text field.

STEPS TO REPRODUCE
1. Navigate to "System Settings > Startup and Shutdown > Desktop Session"
2. Hover mouse over the text field under label "Applications to be excluded from sessions" in the section "On Login"

OBSERVED RESULT
No tooltip.

EXPECTED RESULT
A tooltip, which explains what kind of format is supposed to be used in the text field for this setting.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-64-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
The help page, available from the Help button has the following:

   Finally, you can enter a colon (:) or comma (,) separated list of
   applications that should be excluded from sessions, and therefore
   will not be started when restoring a session. For example
   xterm:konsole or xterm,konsole.

However, it doesn't explain what exactly to type to include an application in the list. Is it the window title? The name of the application in the Kickoff menu? Is it the name of the binary? If the user isn't savvy enough to guess what's needed from the example, then the user unfortunately has no way of knowing what exactly has to be typed in the text field. Please don't hesitate to include _more_ information in the tooltip.
Comment 1 Nicolas Fella 2021-01-23 01:04:21 UTC
I fully agree that this is bad UX. Adding a tooltip seems like a workaround to me, I'm sure we can find an even better solution
Comment 2 Nate Graham 2021-01-26 06:13:01 UTC
There already is a tooltip in the QML rewrite in Plasma 5.21. I agree that it's kind of a workaround.

Some explanatory text under the field is an option, like we do for some of the controls in the workspace KCM.
Comment 3 Bug Janitor Service 2022-12-13 23:25:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1296
Comment 4 Nate Graham 2022-12-25 18:08:53 UTC
Git commit 248e8657341cdedfb1e445fe77f7ddf3ef8c00b3 by Nate Graham.
Committed on 25/12/2022 at 17:55.
Pushed by ngraham into branch 'master'.

kcms/ksmserver: Overhaul UI to clarify what options do

The options in this KCM are quite technical and could benefit from some
UI massagging to make sure they're comprehensible to the user.
Related: bug 420348
FIXED-IN: 5.27

M  +6    -0    kcms/ksmserver/kcmsmserver.cpp
M  +4    -0    kcms/ksmserver/kcmsmserver.h
M  +183  -116  kcms/ksmserver/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/248e8657341cdedfb1e445fe77f7ddf3ef8c00b3
Comment 5 Andrei Rybak 2022-12-26 14:26:15 UTC
Woohoo!