[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
** Changed in: xfwm4 (Ubuntu Bionic) Status: Confirmed => Won't Fix ** Changed in: xfwm4 (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Fix included in Xfwm4 4.13.2. So this is fixed in Focal and still broken in Bionic. ** Also affects: xfwm4 (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: xfwm4 (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: xfwm4 (Ubuntu Bionic) Status: New => Confirmed ** Changed in: xfwm4 (Ubuntu Focal) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Beat me to it by 53 minutes Jesse! I just updated my script too, but yours is more concise. Thank you for the gist, it works great. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
This no longer seems to be a problem with Slack 4.0.0, recently released and available via Snap. I modified the gist to only set an icon, which it is still missing, and updated it to work with the new window manager class and icon path. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
I made some further adjustments to the launch script from #12 and uploaded to: https://gist.github.com/jglick/a8613fd72bbb52a8576804e9dbd10081 After `chmod a+x`, this works for me as a script path in *Session and Startup » Application Autostart*. As in #16, this assumes Slack and xseticon are installed as snaps, and xprop is also installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Thanks! It helped for me. One thing I don't like it's after sleep time slack window goes to minimize. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
As original reporter, I can confirm that the xprop trick works around this problem. I used a modification of the wrapper script from #12, after sudo apt install wmctrl # as of recent https://github.com/xeyownt/xseticon/pull/4 sudo snap install xseticon and adjusting the icon path to use the snap ICON=/snap/slack/current/usr/lib/slack/resources/app.asar.unpacked/src/static/slack.png and using this for the xseticon binary path: /snap/xseticon/current/bin/xseticon -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
** Changed in: xfwm4 Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Launchpad has imported 1 comments from the remote bug at https://bugzilla.xfce.org/show_bug.cgi?id=15399. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2019-05-15T00:22:30+00:00 Alistair Buxton wrote: aka NET_WM_WINDOW_TYPE_POTATO Currently Slack is not showing on the alt-tab cycle menu. This is due to Slack setting NET_WM_WINDOW_TYPE = NET_WM_WINDOW_TYPE_MAIN, which is a non-standard value. Xfwm should gracefully fallback to doing something sensible when this happens. Reply at: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/comments/13 ** Changed in: xfwm4 Status: Unknown => Confirmed ** Changed in: xfwm4 Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
** Bug watch added: Xfce Bugzilla #15399 https://bugzilla.xfce.org/show_bug.cgi?id=15399 ** Also affects: xfwm4 via https://bugzilla.xfce.org/show_bug.cgi?id=15399 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Thank you so much Alistair! That worked for me! I actually already had a launch script for slack to do a bunch of stuff, one of the things is attaching an icon to it post-launch. I was able to modify the script to handle running the "xprop" line above automatically. I'll post my script just in case it helps anyone, it's got comments so you can comment out sections you don't want. It does 3 things: 1. Launches slack with dev tools available (right-click inspect) 2. Applies the slack icon to the slack window after it's launched 3. Applies the window manager "NORMAL" type to the slack window after it's launched, so alt+tab works as normal. I launch using this script instead of the normal slack binary (I put it into ~/bin/slack and invoke it from there). ** Attachment added: "slack" https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+attachment/5261910/+files/slack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Slack is setting NET_WM_WINDOW_TYPE = NET_WM_WINDOW_TYPE_MAIN. This value is not defined in the EWMH spec and has zero results on Google. A temporary work around is to run `xprop -f _NET_WM_WINDOW_TYPE 32a -set _NET_WM_WINDOW_TYPE _NET_WM_WINDOW_TYPE_NORMAL` and then click on the Slack window. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
I suggest that you forward all details and the patch to the upstream devs. https://bugzilla.xfce.org/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
The attachment "Alt + Tab fix for xfwm4 and Slack" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
This bug started in Slack 3.4.0 and affects Xubuntu 18.04.2 LTS too. The problem happens because xfwm4 looks for any of the following: "_NET_WM_WINDOW_TYPE_DESKTOP", "_NET_WM_WINDOW_TYPE_DIALOG", "_NET_WM_WINDOW_TYPE_DOCK", "_NET_WM_WINDOW_TYPE_MENU", "_NET_WM_WINDOW_TYPE_NORMAL", "_NET_WM_WINDOW_TYPE_SPLASH", "_NET_WM_WINDOW_TYPE_TOOLBAR", "_NET_WM_WINDOW_TYPE_UTILITY", But Slack doesn't set them. I compiled xfwm4 from source, debugged remotely (it is nearly impossible to halt the window manager in the host machine...) and the problem boils down to: 1. clientCycleCreateList in cycle.c calls: if (!clientSelectMask (c2, NULL, search_range, WINDOW_REGULAR_FOCUSABLE)) { TRACE ("%s not in select mask", c2->name); continue; } 2. Inside clientSelectMask in focus.c, c2->type = 0; thus "return c2->type & mask" returns 0 regardless of the mask and thinks the window should not be alt-tabbed 3. I believe (not 100% sure) this happens because in clientWindowType in netwm.c, c->type_atom == None. I don't know whether this should be treated as a client bug or a window manager bug. I'm not an X11 expert so I don't know if it is possible to know if a window is the root one, but root windows should definitely be alt-tabbeable. If I change the line to: if (!clientSelectMask (c2, NULL, search_range, WINDOW_REGULAR_FOCUSABLE) && c2->type != UNSET) Then Slack works with alt+tab and my computer hasn't blown up yet. I don't know if it's the proper fix though, but it may be I fixed this problem by rebuilding xfwm4 with the attached patch: mkdir tmp cd tmp sudo apt install devscripts build-essential fakeroot dpkg-dev sudo apt-get build-dep xfwm4 apt-get source xfwm4 cd xfwm4-4.12.5 patch -i xfwm4_slack_fix.diff #Point it where the patch is located!!! debuild -b -uc -us sudo dpkg -i ../xfwm4_4.12.5-1ubuntu0.18.04.1_amd64.deb ** Patch added: "Alt + Tab fix for xfwm4 and Slack" https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+attachment/5261320/+files/xfwm4_slack_fix.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
I'm attaching .deb and .ddeb (debug symbols) files I built myself if someone's too lazy or too busy to rebuild the patched xfwm4 him/herself. It has been working fine for me so far. USE THEM AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR WHAT HAPPENS IF YOU TRY THEM. ** Attachment added: "Built deb & .ddeb versions of the patched xfwm4 (USE THEM AT YOUR OWN RISK)" https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+attachment/5261322/+files/xfwm4_4.12.5-1ubuntu0.18.04.1_amd64.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Sorry my bad, the diff is reversed. Use the following commands instead: mkdir tmp cd tmp sudo apt install devscripts build-essential fakeroot dpkg-dev sudo apt-get build-dep xfwm4 apt-get source xfwm4 cd xfwm4-4.12.5 patch -R -p1 -i xfwm4_slack_fix.diff # !!! Point it where the patch is located!!! debuild -b -uc -us sudo dpkg -i ../xfwm4_4.12.5-1ubuntu0.18.04.1_amd64.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
The issue is also present on Xubuntu 18.04.2 LTS, slack 3.4.0, xfce. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
I can confirm I have the same issue on Ubuntu 18.04, this started with Slack version 3.4.0. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xfwm4 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1827302] Re: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window
This might just be bad timing. I don't think it's your OS upgrade, I think it's the Slack release they just pushed. I'm using Xenial and this broke for me this morning when I upgraded Slack's version, however I didn't change my OS version. This might be a slack bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827302 Title: 18.10 → 19.04 Alt-Tab cycling no longer includes Slack window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1827302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs