https://bugs.kde.org/show_bug.cgi?id=351175
Duncan <1i5t5.dun...@cox.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131708|0                           |1
        is obsolete|                            |

--- Comment #30 from Duncan <1i5t5.dun...@cox.net> ---
Created attachment 131712
  --> https://bugs.kde.org/attachment.cgi?id=131712&action=edit
panelhider script (v2)

Actually fixed it already.  (The surprise of the same-id behavior must have
woke me up.)

Just added another xdotool call to pin the window to all desktops after mapping
it.  The bit of a challenge, undocumented in the xdotool manpage but I deduced
it with a bit of testing, is that the desktop number is apparently a 32-bit
signed int, with the all-desktops pin indicated by a -1, while xdotool treats
it as an unsigned int, so wouldn't take -1.  But it took the 32-bit
unsigned-int bit-equivalent, 32-bit unsigned MAXINT, aka 4294967295.  So I
somewhat unintuitively had to set a massive desktop number of 4294967295
instead of -1, to get it to pin to all desktops.  But once figured out, it
works!

So here's the fix.

As for the behavior seeming to keep the same window-ID, I tried both rebooting
and simply restarting plasmashell, and still got the same window-ID.  No real
explanation. <shrug>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to