Bug 437240 - Shortcuts in Reports
Summary: Shortcuts in Reports
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (show other bugs)
Version: 5.1.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 10:33 UTC by Fabiano Caruana
Modified: 2022-08-15 06:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot Report (55.37 KB, image/png)
2021-05-17 10:33 UTC, Fabiano Caruana
Details
Screenshot Shortcuts (11.72 KB, image/png)
2021-11-02 11:48 UTC, Fabiano Caruana
Details
Screenshot Shortcuts 2 (11.40 KB, image/png)
2021-11-02 11:48 UTC, Fabiano Caruana
Details
Screenshot underline report-button (65.94 KB, image/png)
2022-08-09 12:11 UTC, Fabiano Caruana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano Caruana 2021-05-17 10:33:33 UTC
Created attachment 138503 [details]
Screenshot Report

Hello KMyMoney team,

Since I'm an old key freak, I finally ask the question whether e.g. in reports it is possible to assign keyboard shortcuts to the functions in the title bar (see attachment), especially "Copy" for other uses.
I could even generate a script with XDOTools with transfer to Calc and formatting. At the moment I have to click "Copy" with the mouse before I can use the content in Calc.

regards
Udo

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSuse Leap 15.2
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 Fabiano Caruana 2021-11-02 11:48:01 UTC
Created attachment 143131 [details]
Screenshot Shortcuts
Comment 2 Fabiano Caruana 2021-11-02 11:48:30 UTC
Created attachment 143132 [details]
Screenshot Shortcuts 2
Comment 3 Fabiano Caruana 2021-11-02 11:49:39 UTC
Hi Thomas,

The current AppImage has another surprise in store for me ... the desired shortcuts, and not only in the reports.
Thanks alot.

But I saw a small problem (or intent).
If I open several reports and close them one by one, the assigned shortcuts change (e.g. "Löschen" and "Schließen")
See attachments "Screenshot Shortcuts" und "Screenshot Shortcuts 2".

Thank you again for your good work.

regards
Udo
Comment 4 Thomas Baumgart 2021-11-07 07:54:40 UTC
Git commit ec087e3d17101d53ec40fdc0a8a259c98e9e4cc5 by Thomas Baumgart.
Committed on 07/11/2021 at 07:54.
Pushed by tbaumgart into branch 'master'.

Switch report functions to be triggered by QActions

M  +7    -0    kmymoney/kmymoney.cpp
M  +2    -1    kmymoney/menus/menuenums.h
M  +41   -4    kmymoney/plugins/views/reports/kreportsview.cpp
M  +29   -12   kmymoney/plugins/views/reports/kreportsview_p.h
M  +7    -7    kmymoney/plugins/views/reports/reportcontrol.ui

https://invent.kde.org/office/kmymoney/commit/ec087e3d17101d53ec40fdc0a8a259c98e9e4cc5
Comment 5 Jack 2022-01-21 22:59:10 UTC
Should that last commit have closed this bug, or is there something remaining?
Comment 6 Fabiano Caruana 2022-08-09 12:11:59 UTC
Created attachment 151190 [details]
Screenshot underline report-button

Hi KMyMoney-team,

The shortcuts in the reports work in the new version 5.1.3, although they are not marked with underline there (as in the last AppImage kmymoney-5.1-178-linux-64-gcc).

But now a small problem. In a few reports (e.g. "Obst"), the shortcuts for "kopieren" are no longer the letter "o" but the "p".
The "Obst" stole the "o".

As a result, my xdotool-script doesn't work there because I use "ctrl+o" there. At the moment I don't see any way to intercept this and use "ctrl+p" in this case.

My questions:
Is there the possibilities
a) that the underlines are implemented in version 5.1.3 or an update?
b) that the letter "o" is always used for "kopieren"?

I would be grateful for a solution.

Greetings
Udo

see also my attachment
Comment 7 Fabiano Caruana 2022-08-09 12:18:41 UTC
(In reply to Fabiano Caruana from comment #6)
> Created attachment 151190 [details]
> Screenshot underline report-button
> 
> Hi KMyMoney-team,
> 
> The shortcuts in the reports work in the new version 5.1.3, although they
> are not marked with underline there (as in the last AppImage
> kmymoney-5.1-178-linux-64-gcc).
> 
> But now a small problem. In a few reports (e.g. "Obst"), the shortcuts for
> "kopieren" are no longer the letter "o" but the "p".
> The "Obst" stole the "o".
> 
> As a result, my xdotool-script doesn't work there because I use "ctrl+o"
> there. At the moment I don't see any way to intercept this and use "ctrl+p"
> in this case.
> 
> My questions:
> Is there the possibilities
> a) that the underlines are implemented in version 5.1.3 or an update?
> b) that the letter "o" is always used for "kopieren"?
> 
> I would be grateful for a solution.
> 
> Greetings
> Udo
> 
> see also my attachment

Sorry ... the shortcut is not "ctrl+o" but "alt+o"
Comment 8 Fabiano Caruana 2022-08-14 18:53:35 UTC
(In reply to Fabiano Caruana from comment #6)

> The shortcuts in the reports work in the new version 5.1.3, although they
> are not marked with underline there (as in the last AppImage
> kmymoney-5.1-178-linux-64-gcc).

The old blind man found it... while I hold the alt key the underline letter appears in version 5.1.3.

Greetings
Udo
Comment 9 Thomas Baumgart 2022-08-15 06:01:41 UTC
Since this is resolved, I will close the bug (again) with the original status.

@Udo: please be aware of https://invent.kde.org/office/kmymoney/-/commit/e4b6f4bfba24f1cbe0 which reflects the upcoming state of affairs and may have an impact on how you use the application.