Bug 482220

Summary: Plasma 6 double click to shade on titlebar no longer works
Product: [Plasma] kwin Reporter: Ben <benedict.hewson>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, p.wibberley
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ben 2024-03-02 10:48:27 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Set Titlebar Action for Double-click to Shade
2.  Double Click title bar


OBSERVED RESULT

On Wayland session
For most windows nothing happens.  Chromium browser using system title bar partially works, but leaves a frame, maybe drop shadow of where the window was, but contents are shaded.   However if a window is revealed in the shaded region it can't get focus by clicking on it.

On X11 session.

Window contents gets shaded, however a frame /blur effect is still shown where the window existed prior to shading.  Clicking on a revealed window in the shaded region, does select that window unlike the Wayland session


EXPECTED RESULT

Window should shade, with just the title bar visible.  Worked fine prior to Plasma 6.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:   Neon 6 
KDE Plasma Version:  6.0.0
KDE Frameworks Version:  6.0.0
Qt Version:  6.6.2

ADDITIONAL INFORMATION
Comment 1 Peter 2024-03-03 13:32:44 UTC
(In reply to Ben from comment #0)
> SUMMARY
> ***
> NOTE: If you are reporting a crash, please try to attach a backtrace with
> debug symbols.
> See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> 
> STEPS TO REPRODUCE
> 1.  Set Titlebar Action for Double-click to Shade
> 2.  Double Click title bar
> 
> 
> OBSERVED RESULT
> 
> On Wayland session
> For most windows nothing happens.  Chromium browser using system title bar
> partially works, but leaves a frame, maybe drop shadow of where the window
> was, but contents are shaded.   However if a window is revealed in the
> shaded region it can't get focus by clicking on it.
> 
> On X11 session.
> 
> Window contents gets shaded, however a frame /blur effect is still shown
> where the window existed prior to shading.  Clicking on a revealed window in
> the shaded region, does select that window unlike the Wayland session
> 
> 
> EXPECTED RESULT
> 
> Window should shade, with just the title bar visible.  Worked fine prior to
> Plasma 6.
> 
> SOFTWARE/OS VERSIONS
> 
> Linux/KDE Plasma:   Neon 6 
> KDE Plasma Version:  6.0.0
> KDE Frameworks Version:  6.0.0
> Qt Version:  6.6.2
> 
> ADDITIONAL INFORMATION

I have updated one PC to Plasma 6 from Plasma 5.27, and Shade seems to work.  However, a fresh install on another doesn't, just as Ben describes.
Comment 2 Peter 2024-03-03 13:34:27 UTC
(In reply to Peter from comment #1)
> (In reply to Ben from comment #0)
> > SUMMARY
> > ***
> > NOTE: If you are reporting a crash, please try to attach a backtrace with
> > debug symbols.
> > See
> > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> > How_to_create_useful_crash_reports
> > ***
> > 
> > 
> > STEPS TO REPRODUCE
> > 1.  Set Titlebar Action for Double-click to Shade
> > 2.  Double Click title bar
> > 
> > 
> > OBSERVED RESULT
> > 
> > On Wayland session
> > For most windows nothing happens.  Chromium browser using system title bar
> > partially works, but leaves a frame, maybe drop shadow of where the window
> > was, but contents are shaded.   However if a window is revealed in the
> > shaded region it can't get focus by clicking on it.
> > 
> > On X11 session.
> > 
> > Window contents gets shaded, however a frame /blur effect is still shown
> > where the window existed prior to shading.  Clicking on a revealed window in
> > the shaded region, does select that window unlike the Wayland session
> > 
> > 
> > EXPECTED RESULT
> > 
> > Window should shade, with just the title bar visible.  Worked fine prior to
> > Plasma 6.
> > 
> > SOFTWARE/OS VERSIONS
> > 
> > Linux/KDE Plasma:   Neon 6 
> > KDE Plasma Version:  6.0.0
> > KDE Frameworks Version:  6.0.0
> > Qt Version:  6.6.2
> > 
> > ADDITIONAL INFORMATION
> 
> I have updated one PC to Plasma 6 from Plasma 5.27, and Shade seems to work.
> However, a fresh install on another doesn't, just as Ben describes.

Ah, one is X11 and the other is Wayland!
Comment 3 Nate Graham 2024-03-05 17:32:50 UTC

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