Bug 396826 - Kmymoney window is not drawn correctly on Wayland
Summary: Kmymoney window is not drawn correctly on Wayland
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 20:02 UTC by Rainer Finke
Modified: 2022-07-10 23:28 UTC (History)
2 users (show)

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


Attachments
Close Button and total not visible (123.42 KB, image/png)
2018-07-30 21:34 UTC, Rainer Finke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2018-07-24 20:02:16 UTC
If I open Kmymoney as a normal window on Plasma-Wayland, the close button is not shown on the right top and the total amount of all my accounts is not visible as well. If I resize the window, then at least the close button is visible, but still not the total amount. Then if I fold or unfold all the accounts of a bank I see a flickering in the Kmymoney window. When I click in a edit mode of a account line into the date field, Kmymoney starts to flicker until I move the cursor into another field.
Comment 1 Jack 2018-07-24 20:13:47 UTC
You may be the first KMM user on Wayland, at least the first who has posted about it.  I don't know if it makes any difference, but please let us know what Distro you are on, what KDE versions (Frameworks, Apps, Wayland.)  I assume you would have mentioned if you had similar problems with any other applications.  Attaching a screen shot of the initial window might also be helpful.
Comment 2 Rainer Finke 2018-07-25 06:01:50 UTC
As a long time user of Plasma on Wayland, I'm happy that Kmymoney works reasonably well already! Sorry, here are the details:
Arch Linux
Plasma 5.13.3
KDE Frameworks 5.48
KDE Applications 18.08 beta
Wayland 1.15

Yes, the issues are only visible like this in Kmymoney. Though the flickering might be related to Kwin or to Qt.

I will provide some screenshots soon.
Comment 3 Rainer Finke 2018-07-30 21:34:40 UTC
Created attachment 114227 [details]
Close Button and total not visible

In the attached screenshot you can see that the close button is not visible. The total is not visible either. 

I tried to make a screenshot of the flickering, but it is not possible due to switching to another application stops it.

Resizing the column size is showing a flickering as well. Not sure if this is a fault of Kmymoney, might be something in Kwin.
Comment 4 Jack 2018-07-30 21:47:41 UTC
I'm on too small a monitor right now to be sure, but it looks like I see a horizontal scroll bar.  If you enlarge the window, can you see the missing pieces?  If so, it is possible the window manager is not taking the sizing hint correctly (if there is one) or that there is some mismatch between window size and viewport.  I'm not certain those are even the correct terms, but if everything is OK if you enlarge the window, then I suspect something below KMM, or else some strange interaction.
Comment 5 Thomas Baumgart 2018-08-01 09:36:11 UTC
The missing total networth value seems to be unrelated to the windowing system. See also bug 397021.
Comment 6 Thiago Sueto 2021-01-29 21:21:40 UTC
This doesn't seem reproducible with current KMyMoney.
Can you confirm it's reproducible for you with a current version?