Bug 495619 - First deal has broken animation
Summary: First deal has broken animation
Status: REPORTED
Alias: None
Product: kpat
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.08.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 02:57 UTC by Techokami
Modified: 2024-11-06 02:01 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Techokami 2024-10-31 02:57:48 UTC
SUMMARY
On the very first deal after KPatience has been launched and a game selected, the animation is abruptly skipped and auto-playable cards may randomly fail to be played. This *only* affects the very first deal after the application has been launched, as subsequent deals (either from the "New Deal" action or picking a game from "New Game") will correctly play the animation.

STEPS TO REPRODUCE
1. Launch KPatience
2. Select a game
3. Notice that the dealing animation is missing

OBSERVED RESULT
Cards immediately appear without being drawn, aces that should be auto-played in Mod3 often fail to be auto-played

EXPECTED RESULT
The proper dealing animation and aces being auto-played in Mod3

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900K
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Arc

ADDITIONAL INFORMATION
I had noticed this after recently upgrading from Fedora 39 to Fedora 40, and was hoping it would go away after upgrading to Fedora 41. It persisted after upgrading to Fedora 41. I have discussed this with Neal Gompa from the Fedora Project and we both seem to think this is a Qt6-related issue? So I'm filing this bug report after he suggested that I do so.
Comment 1 Neal Gompa 2024-10-31 03:11:06 UTC
Well, it's probably something that happened as part of porting to Qt6, it doesn't necessarily mean it's a Qt6 issue *itself*.
Comment 2 Techokami 2024-10-31 04:33:01 UTC
(In reply to Neal Gompa from comment #1)
> Well, it's probably something that happened as part of porting to Qt6, it
> doesn't necessarily mean it's a Qt6 issue *itself*.

That's kind of what I meant by "Qt6-related", probably could have worded it better
Comment 3 Albert Astals Cid 2024-11-01 23:30:38 UTC
Can you record a video?

Mod3 perfectly animates here want to see what you mean
Comment 4 Techokami 2024-11-03 04:06:10 UTC
(In reply to Albert Astals Cid from comment #3)
> Can you record a video?
> 
> Mod3 perfectly animates here want to see what you mean

Alright, here's a quick video showing the bug: https://youtu.be/D5tgR-1JGSc
Comment 5 Albert Astals Cid 2024-11-03 17:59:02 UTC
Wow you really have no animations at all.

I see you're using wayland, can you try in X11?
Comment 6 Techokami 2024-11-04 00:43:25 UTC
(In reply to Albert Astals Cid from comment #5)
> Wow you really have no animations at all.
> 
> I see you're using wayland, can you try in X11?

Considering I'm on Fedora 41, uh, no. There's no longer any option to start Plasma with X11. For further details about this, please ask Neal Gompa.
Comment 7 Neal Gompa 2024-11-04 00:47:09 UTC
You can also test it by launching the application in X11 mode. Try this from Konsole:

```
$ QT_QPA_PLATFORM="xcb" kpat &
```
Comment 8 Techokami 2024-11-04 00:50:13 UTC
(In reply to Neal Gompa from comment #7)
> You can also test it by launching the application in X11 mode. Try this from
> Konsole:
> 
> ```
> $ QT_QPA_PLATFORM="xcb" kpat &
> ```
Oh, I did not know that! Sorry about namedropping you.
The behavior is exactly the same when run this way.
Comment 9 Techokami 2024-11-04 23:38:24 UTC
I should also add that, back on Fedora 39 when I didn't have this problem, I was also using only Wayland, soo... really unsure why needing to double-check on X11 was needed
Comment 10 Albert Astals Cid 2024-11-05 21:45:29 UTC
>  back on Fedora 39 when I didn't have this problem, I was also using only Wayland, soo... really unsure why needing to double-check on X11 was needed

Because I can't read your mind.
Comment 11 Albert Astals Cid 2024-11-05 21:46:05 UTC
Anyhow this seems to be a Fedora problem, since it works fine on non Fedora.
Comment 12 Albert Astals Cid 2024-11-05 21:46:40 UTC
Maybe you can try from flathub and see if that one works?

https://flathub.org/apps/org.kde.kpat
Comment 13 Techokami 2024-11-06 02:01:59 UTC
(In reply to Albert Astals Cid from comment #12)
> Maybe you can try from flathub and see if that one works?
> 
> https://flathub.org/apps/org.kde.kpat

I'd rather not find out what happens when native packages and flatpaks collide, thanks. 😬