SUMMARY There is no shadow effect for electron applications STEPS TO REPRODUCE 1. open an electron application (like motrix) OBSERVED RESULT There is no shadow effect for electron applications, and if i add window decoration manually, some parts of the application will be broken EXPECTED RESULT there is shadow effect for electron applications and if i add window decoration manually, no parts of the application will be broken SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20221218 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.12-1-default (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i5-11320H @ 3.20GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: TIMI Product Name: A18R ADDITIONAL INFORMATION
Motrix uses client-side decoration. It is up to the application then to provide a shadow. Disabling "Hide App Menu" in the Motrix settings makes it use server-side decoration though, and thus gives it the usual shadow. I don't understand what you mean with "some parts of the application will be broken"
Created attachment 154699 [details] reproduce video
(In reply to Nicolas Fella from comment #1) > Motrix uses client-side decoration. It is up to the application then to > provide a shadow. > > Disabling "Hide App Menu" in the Motrix settings makes it use server-side > decoration though, and thus gives it the usual shadow. > > I don't understand what you mean with "some parts of the application will be > broken" look at my attachment
(In reply to Nicolas Fella from comment #1) > Motrix uses client-side decoration. It is up to the application then to > provide a shadow. > > Disabling "Hide App Menu" in the Motrix settings makes it use server-side > decoration though, and thus gives it the usual shadow. > > I don't understand what you mean with "some parts of the application will be > broken" look at my attachment(In reply to rosswzyang from comment #3) > (In reply to Nicolas Fella from comment #1) > > Motrix uses client-side decoration. It is up to the application then to > > provide a shadow. > > > > Disabling "Hide App Menu" in the Motrix settings makes it use server-side > > decoration though, and thus gives it the usual shadow. > > > > I don't understand what you mean with "some parts of the application will be > > broken" > > look at my attachment however, motrix has shadow effect on gnome desktop
> There is no shadow effect for electron applications This is an app issue; CSD apps are expected to draw their own shadows. GNOME ones do. Motrix should too. > and if i add window decoration manually, some parts of the application will be broken This could be a KWin issue, maybe. But it might also be an app issue. Do you see the same thing happening on X11?
(In reply to Nate Graham from comment #5) > > There is no shadow effect for electron applications > This is an app issue; CSD apps are expected to draw their own shadows. GNOME > ones do. Motrix should too. > > > and if i add window decoration manually, some parts of the application will be broken > This could be a KWin issue, maybe. But it might also be an app issue. > > Do you see the same thing happening on X11? Yes, same on X11