Bug 487541

Summary: Floating panel translucency margin visible between multiple monitors
Product: [Plasma] plasmashell Reporter: Daniel Petrov <voxelprismatic>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Floating panel arrangement (primary || secondary)
Translucency margin is visible
Panel settings for reproduction
Reproduce in Wayland

Description Daniel Petrov 2024-05-25 16:56:55 UTC
Created attachment 169824 [details]
Floating panel arrangement (primary || secondary)

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
With multiple monitors, if the floating panel has a translucency margin that is visible at the transition between the two displays.

STEPS TO REPRODUCE
1. Set panel to Floating and Always Translucent
2. Move panel in between two monitors (eg primary || secondary)
3. Physically disconnect the primary display, such that the primary display must change
    - If using a laptop where the laptop is the primary display, close the lid.
    - NOTE: Simply switching display configuration will not work.
4. Reconnect the primary display
5. Move a window over the panel so it stops floating

OBSERVED RESULT
The translucency margin is visible

EXPECTED RESULT
The translucency margin should not be visible, like Opaque

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Daniel Petrov 2024-05-25 16:57:54 UTC
Created attachment 169825 [details]
Translucency margin is visible
Comment 2 Daniel Petrov 2024-05-25 16:59:21 UTC
Created attachment 169826 [details]
Panel settings for reproduction

You can use these settings to reproduce the bug. I believe the important ones are Floating and Translucent
Comment 3 Daniel Petrov 2024-05-25 17:13:42 UTC
I can confirm this bug does NOT occur in Wayland. I was using X11 for a separate issue which has since been resolved (Dolphin didn't support 'Extract all, autodetect subfolder' in Wayland until recently)
Comment 4 Daniel Petrov 2024-05-25 18:15:15 UTC
Created attachment 169828 [details]
Reproduce in Wayland

NEVERMIND: This does effect Wayland, but in a different way.

Steps to reproduce:
1. Set panel to floating and Opacity=Translucent
2. Set panel to Height=Fit Content
3. Exit edit mode
4. Move window over panel
5. Set panel to Height=Fill height
Comment 5 Nate Graham 2024-06-14 17:12:21 UTC

*** This bug has been marked as a duplicate of bug 481380 ***