I am running "awesome git" now (after some struggles to fix my rc.lua; mostly my fault, and not 100% done quite yet). The behavior is unchanged. I also patched out 02be8943 just to see if it makes a difference, but it doesn't appear to.
I don't know if you have access to a system running Xenial (or at least to a chroot environment). If you do, you could take a look at the source code for libwnck3-3.14.1, which you can get with "apt-get source libwnck". I believe, that's the code that runs when I try to (un)minimize a window from the gnome-panel (that only took forever to track down; GNOME has a funny way how it splits components into libraries that I wasn't previously aware of). Alternatively, I think you should be able to get the sources from "git clone git://anonscm.debian.org/pkg-mate/libwnck.git" I am starting to push the limits of my understanding how X11 works. So, I have a hard time reading that code. But I suspect it'll explain what GNOME is trying to do and if only I could wrap my head around it, I could probably see why this doesn't work with awesome. Maybe, you'll have better luck reading that code; but I'll keep trying. I think, you need to look at wnck_window_unminimize() and then follow the code. Markus On Sat, Apr 23, 2016 at 12:24 AM, Elv1313 . <elv1...@gmail.com> wrote: > Hello again, > > It indeed seems like a bug. Can you try to install either Awesome git > version or revert to something before commit 02be8943 (like 3.5.6 from > Ubuntu 15.10 package archive) and see what happen? > > Thanks for looking into this. > > On 23 April 2016 at 03:00, Markus Gutschke <mar...@gutschke.com> wrote: > > I am using GNOME in "fall back" mode. It gives me a gnome-panel and I can > > add a task list to this panel. > > > > In the task list, it shows me an entry for all windows; both on-screen > and > > minimized. If I right-click on this entry, I get a pop-up menu that > allows > > me to select "unminimize". But if I select that entry, nothing happens. > > > > I tried installing both Cinnamon and MATE to see if maybe it had > something > > to do with the version of GNOME or of the GNOME tools that these > > environments pull in. But no matter which version of GNOME that I use, > the > > same thing happens: > > > > I can un-minimize just fine, if and only if I use the window manager that > > comes with GNOME (i.e. metacity, marco, or compiz). But if I switch to > > "awesome" nothing happens. > > > > To make matters even more confusing, if I use "xdotool windowmap", then I > > can restore the iconified window just fine. Of course, that's a horrible > > user experience, as you explained in your e-mail as well. I really need > some > > way to trigger this action from the user interface. > > > > I wonder what that task-list in the GNOME panel does that is suddenly > > incompatible with awesome but that works with other window managers? > > > > I tried looking at events with "xev". When I minimize the window, it > always > > receives these events: > > > >> PropertyNotify event, serial 20, synthetic NO, window 0x200088a, > >> atom 0x137 (WM_STATE), time 27896361, state PropertyNewValue > >> UnmapNotify event, serial 20, synthetic NO, window 0x200088a, > >> event 0x200088a, window 0x200088a, from_configure NO > >> PropertyNotify event, serial 20, synthetic NO, window 0x200088a, > >> atom 0x109 (_NET_WM_STATE), time 27896361, state PropertyNewValue > > > > > > This happens independent of whether I press Mod-n, whether I minimize > from > > the gnome-panel, or whether I use "xdotool". > > > > But when I try to restore the window, the events differ. If I use > "xdotool" > > (or run with a window manager other than awesome), then these are the > > relevant events that I see: > > > >> PropertyNotify event, serial 21, synthetic NO, window 0x200088a, > >> atom 0x137 (WM_STATE), time 28174332, state PropertyNewValue > >> MapNotify event, serial 21, synthetic NO, window 0x200088a, > >> event 0x200088a, window 0x200088a, override NO > >> PropertyNotify event, serial 21, synthetic NO, window 0x200088a, > >> atom 0x109 (_NET_WM_STATE), time 28174332, state PropertyNewValue > >> VisibilityNotify event, serial 21, synthetic NO, window 0x200088a, > >> state VisibilityUnobscured > > > > > > In the same situation, running awesome and clicking on the task list, I > only > > ever see: > > > >> PropertyNotify event, serial 21, synthetic NO, window 0x200088a, > >> atom 0x109 (_NET_WM_STATE), time 28217623, state PropertyNewValue > > > > > > Notice the absence of the change to WM_STATE. > > > > > > > > Markus >