<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>482871</bug_id>
          
          <creation_ts>2024-03-08 13:05:54 +0000</creation_ts>
          <short_desc>Panel in &quot;Auto-Hide&quot; or &quot;Dodge Windows&quot; mode never hides with custom window manager on X11</short_desc>
          <delta_ts>2024-12-12 12:34:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Panel</component>
          <version>6.0.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>LO</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          <blocked>478797</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Étienne">tinoucas</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>fanzhuyifan</cc>
    
    <cc>nate</cc>
    
    <cc>niccolo.venerandi</cc>
    
    <cc>niccolo</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2297161</commentid>
    <comment_count>0</comment_count>
    <who name="Étienne">tinoucas</who>
    <bug_when>2024-03-08 13:05:54 +0000</bug_when>
    <thetext>SUMMARY

Running a custom window manager on X11 (following Archlinux Wiki systemd procedure): a panel never hides itself, neither in autohide mode nor in dodge windows.

STEPS TO REPRODUCE
1. mask/stop plasma-kwin_x11 service
2. create/enable/start a custom user service to launch a window manager
3. set dock to autohide

OBSERVED RESULT

The dock never hides itself.

EXPECTED RESULT

The dock should be able to hide itself (and to dodge windows when using another window manager)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

It works in the same setup when running kwin. It also works when running kwin with a custom composite manager (tested with compfy and picom) where the dock fades away appropriately.
Not-working when using another simple window manager instead (tested with a custom EWMH compatible dwm and a default up-to-date icewm).
Latte-dock, in plasma 5, did not have this issue (dodge windows was working fine).
Cannot say for pure plasma 5 dock in this setup (never tested).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2380622</commentid>
    <comment_count>1</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-12-12 12:34:58 +0000</bug_when>
    <thetext>The window manager needs to handle &quot;_KDE_NET_WM_SCREEN_EDGE_SHOW&quot; for that to work; over the Wayland side of things there&apos;s a protocol that can be implemented to handle auto-hiding. I would say this is the wm&apos;s responsability to implement screen edge areas, not Plasma&apos;s.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>