| Summary: | no shadow effect for electron applications and adding window decoration manually breaks some parts of the application | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | rosswzyang |
| Component: | decorations | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | nate, ngoquang2708, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | reproduce video | ||
|
Description
rosswzyang
2022-12-19 16:16:16 UTC
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 |