Bug 412990

Summary: Print shortcuts feature results in almost 200 pages printed with no warning
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: jd6urt34
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: CONFIRMED ---    
Severity: grave CC: aspotashev, jurajoravec, nate, wwwaicom
Priority: HI Keywords: usability
Version: 5.63.0   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description jd6urt34 2019-10-15 17:43:42 UTC
SUMMARY

The configure shortcuts window has a "Print" button which will print out every single shortcut available. This can result in someone printing out 183 pieces of paper without realizing it, since the UI does not display the amount of pages that will be printed and has no warning at all.

STEPS TO REPRODUCE
1. Open the Configure Shortcuts window (Settings->Configure Shortcuts...)
2. Click the Print button at the bottom of the window

WARNING: it will print out a LOT of pages if sent to an actual printer. 

OBSERVED RESULT

183 pages printed out

EXPECTED RESULT

Less pages, or at least a warning/page count display.

SOFTWARE/OS VERSIONS

Tested on Ubuntu, but it's probably the same on all other platforms.

ADDITIONAL INFORMATION

See this reddit post where a user complained about this issue: https://www.reddit.com/r/kde/comments/dhror0/a_youre_about_to_murder_a_forest_warning_would_be/

That's where I got the 183 number. I haven't confirmed it, but it definitely seems like way too many pages are being printed. I think that whole print feature is useless in its current form, and should either be removed or replaced with something more useful, like a button that prints a "cheat sheet" of the most common/useful shortcuts.
Comment 1 Nate Graham 2019-10-15 19:16:01 UTC
This dialog comes from kxmlgui; moving there.
Comment 2 Nate Graham 2019-10-15 19:26:43 UTC
The fact that it doesn't tell you how many pages will be printed or show an inline preview is a generic flaw with the Qt print dialog. These issues are tracked with https://bugreports.qt.io/browse/QTBUG-79243 and https://bugreports.qt.io/browse/QTBUG-57982.

Beyond that, the information density of the pages to be printed is extremely low:
- Margins are huge
- Font size is huge
- Entire Description column could probably be removed (half or more of the descriptions are empty anyway)
- "Main:" and "Alternate:" text could probably be removed
- Could move to a multi-column layout with the above changes made

Let's use this bug to track improving the information density.
Comment 3 Juraj 2019-10-15 19:57:43 UTC
- There could be an option to select which component / main category shortcuts to print.

Many KDE applications consist of many other KDE applications and plugins. These often add tons of shortcuts. It would be nice to be able to select which to print and which NOT.
Comment 4 Juraj 2019-10-15 19:59:13 UTC
- Print only assigned shortcuts (exclude empty shortcuts)

It would shrink the list quite a lot.
If one wants to print only used shortcuts.
Comment 5 Nate Graham 2019-10-15 20:00:30 UTC
(In reply to Juraj from comment #4)
> - Print only assigned shortcuts (exclude empty shortcuts)
Definitely.
Comment 6 Juraj 2019-10-15 20:12:53 UTC
As an option
- Print action icon if present

Many times I use some feature in menu, toolbar I use icon as a guide to find it.
Comment 7 Peter Jia 2020-08-21 05:27:19 UTC
Where is the setting?
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-42-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3-3217U CPU @ 1.80GHz
Memory: 3.7 GiB
Comment 8 Peter Jia 2020-08-21 05:29:29 UTC
Where is the setting?
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-42-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3-3217U CPU @ 1.80GHz
Memory: 3.7 GiB
Comment 9 Christoph Feck 2020-08-21 10:02:24 UTC
Please don't change the status to NEEDSINFO, unless more information is needed to investigate the issue.