Bug 496052 - When Moving a card within a KPat game, lines appear following the path of the card, and lines are overwritten by another card moving over them
Summary: When Moving a card within a KPat game, lines appear following the path of the...
Status: RESOLVED DUPLICATE of bug 495703
Alias: None
Product: kpat
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 497780 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-10 14:11 UTC by James W
Modified: 2024-12-22 23:25 UTC (History)
4 users (show)

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


Attachments
Video Showing the Bug in action (358.71 KB, video/webm)
2024-11-10 14:11 UTC, James W
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James W 2024-11-10 14:11:31 UTC
Created attachment 175709 [details]
Video Showing the Bug in action

SUMMARY
When Moving a card within a KPat game, lines appear following the path of the card, and lines are overwritten by another card moving over them

STEPS TO REPRODUCE
1. Open KPat
2. Pick Any game (Klondike is used in Attachment Video)
3. Move a card across the screen

OBSERVED RESULT
Lines appear, spawned by the cards movement 

EXPECTED RESULT
Game plays like normal, no lines appear

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 30.0 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: LENOVO
Product Name: 21J3CTO1WW
System Version: ThinkPad X13 Gen 4

ADDITIONAL INFORMATION
No messages in terminal when KPat is run from the terminal
Comment 1 Albert Astals Cid 2024-11-10 21:34:13 UTC
Can you try if this problem happens also with kpat from flathub?

https://flathub.org/apps/org.kde.kpat
Comment 2 James W 2024-11-10 21:36:02 UTC
(In reply to Albert Astals Cid from comment #1)
> Can you try if this problem happens also with kpat from flathub?
> 
> https://flathub.org/apps/org.kde.kpat

Yes the same issue occurs
Comment 3 Albert Astals Cid 2024-11-10 23:05:34 UTC
Interesting, you're the second person reporting this on Fedora, can't really reproduce it myself, so for now i'm blaming something on Fedora. But no idea what it may be, some part of the graphics stack?
Comment 4 Xavier Marechal 2024-12-17 12:46:21 UTC
I can see the same bug on OpenSuse Tumbleweed, since Plasma 6.2. It's especially visible in Spider when dealing a new row of cards.
The bug is still present with KPat 24.12.0 - Plasma 6.2.4 - KF 6.9.0.

This only appends on Wayland with fractional scaling (130%, 125%, but not 100% or 150%), not in X11 even with 131.5%.

This bug, or a similar one is also visible on Comic Alpha 3 and 4 at 125% scaling, but not 100% (tested on OpenSuse). 

It does not affect Gnome (even on Wayland @ 125%) nor Cinnamon (on Wayland card movement is not perfect @125%, but it does not stay after the card is released).

In any case, interacting with the application menu redraws the window and all the moving artifacts disappear, until you move another card.
Comment 5 Xavier Marechal 2024-12-17 16:59:02 UTC
On my up to date Tumbleweed (with wayland @130% scale (4k display), Plama 6.2.4)  I've tried different flatpak commits. 
Only the last one is affected:
    Commit: d2e257ff3b439003c136eff561adfde17eed018539060b7435fd9298bd77ed44
    Parent: 49b3c0022514b82e94bd865deea18ff2cd208eca834b50e211cd4036beade445
    Subject: Update org.kde.kpat.json (d30499f7)
    Date: 2024-12-11 17:11:48 +0000

The KPat about menu says:
KPatience version 24.08.3
KDE framework 6.9.0
Qt 6.8.1

The previous flatpak commit is bug free:
    Commit: 49b3c0022514b82e94bd865deea18ff2cd208eca834b50e211cd4036beade445
    Subject: Update libkdegames and kpat modules (0c32fc9d)
    Date: 2024-11-08 02:45:06 +0000

The about menu says 
KPatience version 24.08.3
KDE framework 6.9.0
Qt 6.7.3

So the bug might be in Qt 6.8 rather than Kpat.
Comment 6 Albert Astals Cid 2024-12-22 23:24:02 UTC
*** Bug 497780 has been marked as a duplicate of this bug. ***
Comment 7 Albert Astals Cid 2024-12-22 23:25:17 UTC
*** This bug has been marked as a duplicate of bug 495703 ***