Bug 455251 - Junction's overlay window is sometimes drawn with excessive transparency, depending on how it's invoked
Summary: Junction's overlay window is sometimes drawn with excessive transparency, dep...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.24.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-14 13:47 UTC by Chase Lau
Modified: 2022-06-14 22:15 UTC (History)
1 user (show)

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


Attachments
Improperly transparent window over a white background (12.02 KB, image/png)
2022-06-14 13:47 UTC, Chase Lau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chase Lau 2022-06-14 13:47:29 UTC
Created attachment 149683 [details]
Improperly transparent window over a white background

SUMMARY
Posting a bug here from this github issue:
https://github.com/sonnyp/Junction/issues/70

Using an application called Junction, I'm seeing that windows are drawn with too much transparency. No effect I can enable/disable in desktop effects changes this.

The application window (Junction) does draw properly when launched from another flatpak application. 

STEPS TO REPRODUCE
1. `flatpak install junction`
2. Open junction by clicking on a web link (notice how hard it is to see the application).
3. Open junction by clicking a link in another flatpak application. Here you will see it completely opaque. 

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.13-300.fc36.x86_64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2 (Proprietary driver)
Comment 1 Nate Graham 2022-06-14 18:05:22 UTC
This doesn't happen in any other apps, does it?

How do you make Junction open a link from another app? The "Set Junction as default for web" button in the main window doesn't seem to be working for me.
Comment 2 Chase Lau 2022-06-14 21:23:13 UTC
I can't seem to make it happen with any other apps, no.

I set it as the default application by using System Settings > Applications > Default Applications.

I really don't know anything about how windows are drawn by kwin, but I'm very curious why these issues don't happen when Junction is called from another flatpak application.
Comment 3 Chase Lau 2022-06-14 22:15:05 UTC
Hi Nate,

Thanks for taking a look but I'm embarrassed to say this issue was caused by myself messing around with building the application. Nothing is wrong with KWin. Sorry to waste your time!