Bug 468959 - Context menu move transaction selector window width should be dynamic
Summary: Context menu move transaction selector window width should be dynamic
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.3
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-25 16:50 UTC by andreas
Modified: 2024-08-12 11:50 UTC (History)
1 user (show)

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


Attachments
Screenshot of the selector list. (7.97 KB, image/png)
2023-04-25 16:50 UTC, andreas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas 2023-04-25 16:50:30 UTC
Created attachment 158420 [details]
Screenshot of the selector list.

SUMMARY
Right click on a transaction -> "Move transaction" shows a selector window for the target account. This element is way too small. As far as I see, it is not resizable. Therefore, it is impossible to select the target.

This renders KMyMoney unusuable for now.

STEPS TO REPRODUCE
1. Right click on transaction, expand "Move transaction"
2. 
3. 

OBSERVED RESULT
Selector list which is too small to read the target account's names.

EXPECTED RESULT
Readable list.

SOFTWARE/OS VERSIONS
Windows: 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
This bug is present for at least the last few years now.
Comment 1 jesse 2023-04-26 01:18:14 UTC
I agree it is annoying but still kMyMoney is highly useable. I have been using it for the past several years. 

Hopefully it does get addressed. 

Thanks.
Comment 2 andreas 2023-09-23 17:47:43 UTC
I don't agree with the classification of the importance. In fact, i can't use kmm anymore because it's not safe that I will be able to move entries between accounts. There is only a cumbersome workaround to delete a booking and recreate it. This way it takes hours what could be done in a few mouseclicks if only one developer could change the properties of the "Move Transaction to" list, which will also only take a few mouse clicks.

Sorry to say, this is a show stopper. KMM is not useable.
Comment 3 Jack 2023-09-23 18:54:07 UTC
Do you have a zoom applied to your desktop, or have you changed the default fonts?  When I run KMM on Linux, I see all of most account names and enough of the ones which ARE cut off to know what they are.  I'll post a screen-shot later.  The pic you posted does not strike me as the default for the program.  Also, I am not sure that changing the size of that popup would be easy.  It is not directly generated by KMyMoney, but by the underlying menu mechanism of KDE/Qt.  I have not looked at the code yet, but I wouldn't be surprised if there is no easy way to change the width.
Comment 4 Thomas Baumgart 2023-09-24 14:37:10 UTC
Git commit ab7b5518c3ccf3743b1605d5f479284d16ba0434 by Thomas Baumgart.
Committed on 24/09/2023 at 16:36.
Pushed by tbaumgart into branch 'master'.

Increase width of context menu

This is not ideal because it is still static. Should be dependent on the
width of the largest entry, but that is another story for another day.

M  +7    -0    kmymoney/widgets/kmymoneyaccountselector.cpp
M  +2    -0    kmymoney/widgets/kmymoneyaccountselector.h

https://invent.kde.org/office/kmymoney/-/commit/ab7b5518c3ccf3743b1605d5f479284d16ba0434
Comment 5 jesse 2023-09-24 19:29:36 UTC
I think this is a great step forward! I also agree that it should be dynamic based on the longest entry but I don't know all the ins and outs of it. Thank you!