Bug 405204 - Dialogs containing Payee drop down list are not sized correctly
Summary: Dialogs containing Payee drop down list are not sized correctly
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-03-08 04:21 UTC by jesse
Modified: 2021-06-20 01:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.1


Attachments
Loan_details_screenshot_its_too_wide (227.04 KB, image/png)
2019-03-08 04:21 UTC, jesse
Details
attachment-29333-0.html (2.69 KB, text/html)
2019-03-27 02:09 UTC, jesse
Details
attachment-15508-0.html (2.95 KB, text/html)
2020-07-26 15:26 UTC, jesse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jesse 2019-03-08 04:21:49 UTC
Created attachment 118640 [details]
Loan_details_screenshot_its_too_wide

SUMMARY
In KMyMoney Version 5.0.2, when you try to add a new account that is of type Loan or Credit Card, the Details(Loan)/Schedule(Credit Card) window displays extremely wide. 



STEPS TO REPRODUCE
1. Open KMM 
2. Click on New Account
3. Skip the Institution
4. Enter a name for the new Loan
5. Click on next
6. The details window will show up. It is wide.

OBSERVED RESULT
In PLASMA this is not a problem as you can easily snap the window to the side of the screen and it resizes to the a normal/expected size, it becomes usable. However, if you are running KMM on Gnome, it will not allow you to snap the window to the side. Thus, there is no way to make the window usable. This is not a Gnome issue, but a KMM issue. The Snapping of the window to the side, is only a work around I found for PLASMA. 


EXPECTED RESULT
The Details/Schedule window should display a reasonable size. I should not have to scroll for 1 minute to get to the close button. On Gnome, you cannot even do this as a scroll bar does not show up. 

SOFTWARE/OS VERSIONS
 
Operating System: Fedora 29
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.55.0
Kernel Version: 4.20.13-200.fc29.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 31.2 GiB of RAM


ADDITIONAL INFORMATION
Also tested it on Gnome running on the same machine. In Gnome, the issue is even worst. 

There is another screen that does this too, but I will open a new bug for that one.
Comment 1 jesse 2019-03-24 06:07:06 UTC
Any update on this? 

thanks

JV
Comment 2 Thomas Baumgart 2019-03-24 10:32:28 UTC
I am unable to duplicate this here on openSUSE Leap 15.0 and KMyMoney 5.0.3.
Comment 3 jesse 2019-03-27 02:09:29 UTC
Created attachment 119070 [details]
attachment-29333-0.html

 Hi, 


I am currently on KMyMoney: 

Version 5.0.2. 



I am on Gnome 3.30.2. Are you on Gnome or KDE Plasma? This happens too on Fedora KDE Plasma DE. 



Do you want to schedule a time so I can show you what I see? (desktop share or send you screen shots). 

I wonder if there is a system config that controls how these dialog boxes are displayed. This happens on the reconciliation wizard too. On the page where you enter in the account for the Interest. That one also opens up super wide. That is why I feel maybe there is a system config somewhere that these forms are defaulting to when they open. Is there anything special or different with these forms/pages? Do they read configs form a different source file? 

thanks, 

JV


    On Sunday, March 24, 2019, 5:32:31 AM CDT, Thomas Baumgart <bugzilla_noreply@kde.org> wrote:  
 
 https://bugs.kde.org/show_bug.cgi?id=405204

--- Comment #2 from Thomas Baumgart <tbaumgart@kde.org> ---
I am unable to duplicate this here on openSUSE Leap 15.0 and KMyMoney 5.0.3.
Comment 4 Thomas Baumgart 2019-03-27 06:42:43 UTC
I am using stock openSUSE Leap15.0 KDE Plasma DE. Versions:

Qt: 5.9.4
KDE: 5.45.0

Do you have the possibility to build KMyMoney yourself and debug it to some extent? Otherwise, I don't know how to tackle this atm. BTW, I am on UTC+1 (soon to be UTC+2).
Comment 5 Thomas Baumgart 2019-03-27 10:15:25 UTC
You mentioned, that type Loan or Credit Card show the problem. Does this also happen for type Investment?
Comment 6 Bug Janitor Service 2019-04-11 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Thomas Baumgart 2019-04-11 06:29:42 UTC
I change the state to reported again. I am in contact with the OP to debug this problem on his system.
Comment 8 Michael Carpino 2019-04-11 16:16:39 UTC
fyi I'm running Fedora 29 with Gnome Version 3.30.2 and I don't see this issue with KMM AppImage Version 5.0.3-4f18e69 or Version 5.0.2
Comment 9 jesse 2020-07-26 15:26:33 UTC
Created attachment 130408 [details]
attachment-15508-0.html

 This issue ended up being related to a transaction 'payee' that came in from GnuCash. GnuCash puts the description as the Payee, and the drop down combobox, decides its length based on the max length of the possible payees. 

This one was very wide... thus the combo box was very wide making the windows even wider. 

A fix could be to make a scroll bar on the modal window.. or maybe truncate the Payee option after x bytes. 

In any case, after I found the long payee by search through the xml file, we deleted the entry and it worked! 

Thanks, 

JV 

    On Thursday, April 11, 2019, 11:16:43 AM CDT, Michael Carpino <bugzilla_noreply@kde.org> wrote:  
 
 https://bugs.kde.org/show_bug.cgi?id=405204

Michael Carpino <mfcarpino@gmail.com> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
                CC|                            |mfcarpino@gmail.com

--- Comment #8 from Michael Carpino <mfcarpino@gmail.com> ---
fyi I'm running Fedora 29 with Gnome Version 3.30.2 and I don't see this issue
with KMM AppImage Version 5.0.3-4f18e69 or Version 5.0.2
Comment 10 Jack 2020-09-22 21:14:53 UTC
Should we close as WORKSFORME, or is there a wishlist about window size/scrollbars?
Comment 11 Thomas Baumgart 2020-09-26 07:12:22 UTC
Git commit 956cdadf57735fd493ebf690261b40262c2a5197 by Thomas Baumgart.
Committed on 26/09/2020 at 07:11.
Pushed by tbaumgart into branch 'master'.

Keep dialog from growing to excessive size

M  +6    -1    kmymoney/wizards/newaccountwizard/kgeneralloaninfopage.cpp

https://invent.kde.org/office/kmymoney/commit/956cdadf57735fd493ebf690261b40262c2a5197
Comment 12 Thomas Baumgart 2020-09-26 07:17:37 UTC
Git commit b91d7248e993434ec56c399799f98dd56920a108 by Thomas Baumgart.
Committed on 26/09/2020 at 07:17.
Pushed by tbaumgart into branch '5.1'.

Keep dialog from growing to excessive size
FIXED-IN: 5.1.1

(cherry picked from commit 956cdadf57735fd493ebf690261b40262c2a5197)

M  +6    -1    kmymoney/wizards/newaccountwizard/kgeneralloaninfopage.cpp

https://invent.kde.org/office/kmymoney/commit/b91d7248e993434ec56c399799f98dd56920a108
Comment 13 Dawid Wróbel 2020-10-21 14:09:47 UTC
Git commit f226cafc25b9e973c2958cedf64cb008c17abeea by Dawid Wróbel.
Committed on 21/10/2020 at 14:09.
Pushed by wrobelda into branch 'master'.

Keep ccard dialog from growing to excessive size as well

M  +6    -0    kmymoney/wizards/newaccountwizard/kcreditcardschedulepage.cpp

https://invent.kde.org/office/kmymoney/commit/f226cafc25b9e973c2958cedf64cb008c17abeea
Comment 14 Dawid Wróbel 2020-10-21 14:10:26 UTC
Git commit 487f29985c3c2f233ee3248dca7e12d568ff0b61 by Dawid Wrobel, on behalf of Dawid Wróbel.
Committed on 21/10/2020 at 14:10.
Pushed by wrobelda into branch 'cherry-pick-f226cafc'.

Keep ccard dialog from growing to excessive size as well


(cherry picked from commit f226cafc25b9e973c2958cedf64cb008c17abeea)

M  +6    -0    kmymoney/wizards/newaccountwizard/kcreditcardschedulepage.cpp

https://invent.kde.org/office/kmymoney/commit/487f29985c3c2f233ee3248dca7e12d568ff0b61
Comment 15 Dawid Wróbel 2020-10-21 14:13:08 UTC
Git commit 7d5a4f9f3483bdd501004039bdff9dfe880ad076 by Dawid Wrobel, on behalf of Dawid Wróbel.
Committed on 21/10/2020 at 14:13.
Pushed by wrobelda into branch '5.1'.

Keep ccard dialog from growing to excessive size as well


(cherry picked from commit f226cafc25b9e973c2958cedf64cb008c17abeea)

M  +6    -0    kmymoney/wizards/newaccountwizard/kcreditcardschedulepage.cpp

https://invent.kde.org/office/kmymoney/commit/7d5a4f9f3483bdd501004039bdff9dfe880ad076
Comment 16 Dawid Wróbel 2021-06-20 01:12:01 UTC
Git commit 7ea71b3c1afa4ed4d688bf0b660b6bc9ca603f73 by Dawid Wróbel.
Committed on 20/06/2021 at 01:11.
Pushed by wrobelda into branch '5.1'.

Keep reconciliation dialog from growing to excessive size

M  +4    -0    kmymoney/wizards/endingbalancedlg/interestchargecheckingswizardpage.cpp

https://invent.kde.org/office/kmymoney/commit/7ea71b3c1afa4ed4d688bf0b660b6bc9ca603f73
Comment 17 Dawid Wróbel 2021-06-20 01:12:15 UTC
Git commit ec8943a1ba8feae5edea4cc252f339dfff251c44 by Dawid Wrobel, on behalf of Dawid Wróbel.
Committed on 20/06/2021 at 01:12.
Pushed by wrobelda into branch 'master'.

Keep reconciliation dialog from growing to excessive size


(cherry picked from commit 7ea71b3c1afa4ed4d688bf0b660b6bc9ca603f73)

M  +4    -0    kmymoney/wizards/endingbalancedlg/interestchargecheckingswizardpage.cpp

https://invent.kde.org/office/kmymoney/commit/ec8943a1ba8feae5edea4cc252f339dfff251c44