Bug 472488 - When maximizing then restoring window size, Libadwaita GTK applications lose shadows effect
Summary: When maximizing then restoring window size, Libadwaita GTK applications lose ...
Status: VERIFIED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.7
Platform: openSUSE Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 472196 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-22 02:31 UTC by rosswzyang
Modified: 2023-09-18 14:10 UTC (History)
2 users (show)

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


Attachments
reproduce video (1.62 MB, video/webm)
2023-07-22 02:31 UTC, rosswzyang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rosswzyang 2023-07-22 02:31:49 UTC
Created attachment 160440 [details]
reproduce video

SUMMARY
maximizing then restoring window size,  gtk applications lose shadows effect


STEPS TO REPRODUCE
1. open 1 gtk4 apps like gnome web
2. maximizing then restoring window size


OBSERVED RESULT
the shadows effect disappeared

EXPECTED RESULT
the shadows effect exists

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230718
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 27,1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 83AS
System Version: XiaoXinPro 16 ARP8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-09-08 19:22:28 UTC
Can reproduce in Plasma 6 too with Libadwaita GTK4 apps. Cannot reproduce with non-Libadwaita apps.
Comment 2 Nate Graham 2023-09-11 22:28:47 UTC
*** Bug 472196 has been marked as a duplicate of this bug. ***
Comment 3 Vlad Zahorodnii 2023-09-18 06:32:29 UTC
I cannot reproduce this issue when running in plasma 6 or 5.27. libadwaita version on my computer is 1:1.3.5-1, and gtk4 is 1:4.12.1-1. Are you able to reproduce this issue with the same exact or newer versions of software? Maybe it's a regression or something
Comment 4 Vlad Zahorodnii 2023-09-18 14:03:34 UTC
I managed to reproduce it by installing org.gnome.TextEditor from flathub.

I don't see anything wrong on kwin side, it configures the text editor window correctly.

Also, I am unable to reproduce the issue if org.gnome.TextEditor is install from flathub-beta. So this is likely a gtk4 or libadwaita regression. Try updating the two.
Comment 5 Vlad Zahorodnii 2023-09-18 14:04:05 UTC
is installed from flathub-beta*
Comment 6 Nate Graham 2023-09-18 14:10:36 UTC
Can verify that. Looks like it was indeed a regression that got fixed already.