My suggestion would be to modify the interaction-design/process like this (*=my modification proposal/2 cents!):

1) start it, if it hasn't been started yet;
*2) restore it, if it is minimized;
*3) focus the app, if it's started, not minimized and has not the focus yet;
4) spread windows (of app), if app is focused and has multiple windows open;
*5) minimize it if it is in spread-mode (see 4).

Note that this bug has over 300 comments and several working but rejected patches. This means that this feature probably will never land in official Unity! So if you want it, you have to use a patched version of Unity.

1.) start it, if it hasn't been started yet
2.) focus the app, if it's started and has not the focus yet
3.) spread windows (of app), if app is focused and has multiple windows open
4.) unspread if in spread-mode (see 3.)

For the time being this is a "Won't fix". To discuss a new feature, do so on the ayatana mailing list (with the design-folks) here:

More seriously: I'm testing Natty/Unity since 2 months now and I still miss the minimize function upon reclicking on the launcher icon. Again, rightly or wrongly, this is how other desktop behaves and since many of us have to use these other environments (namely various Win flavours) from time to time, I think this expectation won't go away...

My suggestion would be to modify the interaction-design/process like this (*=my modification proposal/2 cents!):

1) start it, if it hasn't been started yet;
*2) restore it, if it is minimized;
*3) focus the app, if it's started, not minimized and has not the focus yet;
4) spread windows (of app), if app is focused and has multiple windows open;
*5) minimize it if it is in spread-mode (see 4).

Seriously last night when I was trying beta 1 I was shocked that I could not minimize a window without going to the minimize button. Honestly it got rather annoying (no seriously I mean annoying, not just buggy - annoying) after a while.

There wasn't even an option in the right-click menu (jumplist?) to minimize - and I found that surprising as well. Trust me, new users won't be very happy about this, so please, for the sake of new users at least, fix this issue, and if you want the intended behaviour - then make it an option, just not default D:!

why break peoples expectations? "minimize on click" is provided by all taskbar-window-switchers and from all linux docks as well, too.
So you leave the experienced user in frustration while the inexperienced user will not be mocked by minimizing on an extra click he probably never makes.

One functional regression of the global menu bar is that you can't minimize maximized applications that are showing a modal popup window. (eg run Synaptic maximized and while it is reloading or applying updates, you can't minimize it because the global menu bar shows the window control buttons for the progress window.) It would sure be useful to have the ability to minimize from the unity launcher instead, even if it were just via a right-click menu option.

Another use case for minimizing from the launcher is if I want to quickly check something in an application. eg if I'm working on something in libre office and I click on unity's Thunderbird icon to quickly check on the contents of an email I have open, I would much rather just click on the Thunderbird icon again to get back to libre office, instead of being forced to move the mouse around looking for Thunderbird's minimize buttons or for libre office's launcher application. Unity's current implementation results in slower (and more frustrating) workflow in this case, and for me, this is a use case I frequently encounter.

"One functional regression of the global menu bar is that you can't minimize maximized applications that are showing a modal popup window. (eg run Synaptic maximized and while it is reloading or applying updates, you can't minimize it because the global menu bar shows the window control buttons for the progress window.) It would sure be useful to have the ability to minimize from the unity launcher instead, even if it were just via a right-click menu option."

this is soooo true! is there a separate bug about this maximized background window issue? that is so confusing I git into that trap several times. So I would subscribe and click on "affected" for that bug instantly. (or file it)

Discussed this with a colleague with a different background and it quickly became apparent that the expected workflow here is not to re-minimise the application you are no longer using, but to simply switch to the one that you do want to use, and if you don't want the application-to-be-minimised to be covering other windows move it to its own workspace, so that selecting it in the dock automatically switches you to that.

I believe it's generally not a good idea that clicking on an interactive element of your screen leads to NOTHING.
Some users will wonder whether their system is responding slow, experienced users who are used to the minimize behaviour will miss it.
(and you know, many of them are already frustrated enough losing Gnome 2 features.....)

please change that, when you don't click a second or third time, you won't even notice the "extra" minimize feature! So no one is bothered by the minimize feature, but many are bothered if it is missing.

Status changed to Won't Fix as this change is not in keeping with design. The cost of the extra chrome outweighs the net gain from this change. The current behaviour has been shown to work well in user testing, however we will watch out for this issue to in future user testing.

@John Lea: The change you made in the summary and description totally ignores what I think is the primary point made in the report, ie that just clicking on the application icon/button should minimize the app if one of its windows currently has the focus, the lack of which is a major flaw in the design IMO.

This bug now looks like it is only about adding a menu option to minimize the application's windows. But this was first mentioned as a related point in comment #4.

Did you intend to do this? Can you track the request for the menu option in a separate bug?

-I agree that you can use the icon to minimize, but what if you want to minimize several applications ? You have to move your mouse a lot. Using a click in the taskbar is very quick

-and last but not least, it's not like if this option was replacing another more interesting behavior ! And it's exactly how it's working for the "applications" and "files & folders" lenses ! You click, it opens. You click again, it hides it. I really find it a pity that this click is not used. Especially as it's the simplest operation on a lens. A "right click" + something is much longer.

I guess I should write all this on the Ayatana ML. But I tried to get used to this behavior, and I still find myself clicking on the application icons and waiting. Maybe it's a bad habit. And even if it's one, I still think it's a pity to waste this click. Maybe the minimize function is not the right one for it, I'm open to any good idea. But as of today, it's wasted to me. Too bad, Unity is quite good at making things efficient, a single click is still something worth using I think :)

I will play the devil's advocate, as I can't make up my mind which behaviour I would prefer. But in defence of the current behaviour it has a certain consistency that the minimising proposal doesn't. Currently if you click twice on the icon you know that all the applications windows will be displayed, without a zoom if you only have one window. With the minimising proposal you would have to check whether the application has one or several windows open to know if two clicks will show all windows or hide the one window. You gain speed in one case by sacrificing it in another, possibly more common case.

But playing with it brings me to the same conclusion:
-I have 3 terminals on my desktop
-i click the lens, it shows me an expose view of the 3 terminals.
-if click on the lens again to "close" this expose view, and nothing happens.

Maybe I have terrible habits, but that's the first thing I noticed why trying it.

@Mark: absolutely, it is quite clear that clicking on the application icon again doesn't minimize the window. My point is that this is exactly what the original report said, and John Lea changed it to say something quite different, ie that there is no minimize option when you right-click on the icon. Why change the bug to say something different? Why not just open a new bug?

And I agree of course that the minimize button is prominent. But it's nowhere near as prominent as the application icon in unity-launcher, and more importantly you have to go searching for it, which I find inefficient from a workflow point of view. This is particularly true on a high resolution screen where the window buttons are quite small and may be at the other side of the screen from the application icon that you just clicked to activate the window. (Even a year after 10.04 came out, I still think the minimize button should not be so small and located next to the close button, as it's too easy to click the close button by accident.)

And there are even instances where there is no minimize button - eg in a maximized Synaptic with the progress window open.

I know unity was originally designed for netbooks, which have small screens, but it's a great product that I want to use on my high resolution desktop. It's just that there some things like this that make it less efficient to use on a desktop than, say, DockbarX, Avant Window Manager, or the original Gnome button taskbar.

On a slightly different topic, as an absolute design minimum, wouldn't it be better to have the application icon at least do something when you click on it if it isn't actually going to change the screen? Perhaps perform an animation? This would give some feedback to the user that he has successfully clicked on the icon, even if he finds it frustrating that it doesn't minimize the window.

I consider this issue to be the single biggest usability problem with Unity currently. I've followed the Ayatana discussion thread on this topic and I'm very disappointed.

1) I'm disappointed in the way that this bug/request was misconceived and misconstrued by the developers. Adding a right-click context menu option is every bit as distracting as the current behavior, and is useless to me. With that "solution", the user must divert his attention to find the menu item, and minimizing the focused app takes two mouse clicks in separate areas of the screen.

2) The requested behavior is universal to docks. Common examples where desired behavior can be found are: a linux distro with a dock (docky, awn, cairo, etc), Mac OSX dock, Windows 7 taskbar. I know Ubuntu wants to be different, but at the cost of usability, is it really worth it? I’m a Ubuntu user, but admit Win7 really nails it when it comes to dock functionality.

4) The current behavior is wildly frustrating when you’d like to quickly check the status of a running application. Currently, you click the associated launcher to bring focus (this is good), but then need to hunt down the little minimize button for that window, which, if not maximized could be virtually anywhere. This is highly distracting to workflow.

5) Instead, clicking the launcher again to minimize the focused app, as requested originally in this bug report, is quick, easy, distraction-free fun. And, is the expected behavior from a dock/launcher.

John accidentally misdirected the bug report, that's not a conspiracy,
just an accident. It would have been better to open a separate bug. As
it happens, we won't put this on the quicklist either.

Apps that don't have minimise icons either have a reason for that, or
are buggy.

@tekstr1der: currently, clicking on the icon ALWAYS ensures you SEE the
app. Adding minimise will add complications... when would it show the
window? When would it show a spread of that apps windows? When would it
minimise.

I'm the original reporter for this bug/request report and I still believe (after I've read all the above comments) that minimizing upon clicking the launcher's icon would make sense, be great and would not be disruptive in any workflow I can imagine.

That being said, I had a chance to play with a Mac in the last days and clicking on the the dock/launcher app. doesn't seem to trigger windows/apps minimizing (maybe it's just the particular configuration of the Mac I've tried....?). My point here is not to suggest that OSx is THE reference for UI design's decision, far from it, but just to point point out that there is no absolute truth about the current issue.

I suppose that, at some point, good design/conception decisions could be based on the average user's expectations, for a given platform/OS/UI/etc., at a given time...

A show desktop icon on unity launcher by default will solve the problem to some extent as it will minimize all active windows in one click and bring focus on a clean desktop. There is a keyboard shortcut alt+ctrl+d that does the same thing but not everyone is used to keyboard shortcuts. But this is not ideal solution if one wants to minimize one/multiple instances of only one app (e.g nautilus) and not all.

But playing with it brings me to the same conclusion:
-I have 3 terminals on my desktop
-i click the lens, it shows me an expose view of the 3 terminals.
-if click on the lens again to "close" this expose view, and nothing happens.
"

A typical case for that is, when you click the the lense/launcher/button (however you call it) by mistake:
Now you have a expose view window spread of several windows of which you want none. Now, the only way to get out of that state, is selecting one window. Although you don't need it!
It's bothering to have to select a window you don't need!
Easier and more intuitive would be to simply click again: "Oh, I made a mistake, I click again so it's gone."
Just as many other UI-elements.

By the way, the frustrations generated by the bugs behaviour on the desktop is very similar to the frustration caused by the bug treatment here on launchpad:
* you click on the icon, and nothing happens.
* you give reasonable arguments on launchpad to change this, but nothing happens. (not even an explanation why the selected behaviour should be more useful)

Now on Unity:
1. Clicking an icon of a focused (maximize) window: Does nothing (?)
2. Clicking an icon of a minimize window: Does Maximizes (intuitive)
3. Clicking an icon with two or more windows: Spread Mode of the windows (really nice)

Then, why the Launcher maximize one window but not minimize the same window? It is more intuitive that the launcher minimize and maximize the same window. The button of the windows exist for that, but is more intuitive for the user; minimize/maximize the same window on the launcher.

"Not gonna happen? Why not? DockbarX allows you to do that same thing... Futhermore, compiz 0.9 is SUPPOSED to support showing minimized window thumbnails. Why would it be so hard? "

I quoted my own comment here. Now let me reiterate. DockbarX allows you to have both behaviours, and unity SHOULD as well (it's simple common sense. Sorry Mark, but we are not Mac users and we are not trying to be so stop trying to ape Mac (sorry if that offends, but let's be honest)).

It is simple common sense to me that if you:
- Click on a single window's icon, it minimizes or restores the window (so long as the window supports it.
- Click on multiple windows' icon, it should enter scale mode (common sense!)
- Probably double click on multiple windows' icon: minimize or restore all (for example, chat applications).

What's so hard, confusing, or unintuitive about that?

BTW I would just use the ayatana mailing list, but:
1. It doesn't seem to receive my msgs.
2. I'm not convinced that our feedback has a REAL impact there (not convinced yet at least).

btw, this would be a nice additional option to the "Launcher and Menus" Setting which momentary only include one single solitude option ("show the launcher when the pointer:"): http://i.imgur.com/f4q6k.png

Unity launcher's behavior is terrible.
It does not make sense and is absolutely not intuitive.
I have just let 4 people to play around with Ubuntu 11.04.
There was about 10 things they did not get.
One of them was always unexpected behavior of launcher.
They wanted that it does something.
They thought it stopped responding - because it did, it was doing something before (focusing window, showing window selection, ...) and it does not continue anymore - it broke the chain, did not satisfy user.

It should be doing cycle, it is logical, it is reversible, user has more control, it is robust,

PROPOSED BEHAVIOR:

1) I click and you show me what is under this icon:
1.a - open first instance of app (run and focus) or

1.b - focus app if it is minimized/out-of-focus, even if there is many of them (show me what I was working on last, I am looking for something obviously under this icon)

2) I click again and you do not break my experience:
- so multiple windows/apps are opened now and focus is on one of them (we may not notice that there are many windows, of course)
- so right now we can see single window focused and we want more out of it (I guess we would not be clicking anymore if we do not expect more)

2.a - show me all the apps so I can select one (user sees that pretty animation and selects what he wants, but perhaps he did not want that, he might wanted something else, or just wanted to check on something, so there MUST be way out without selecting one of the applications!)

2.b - if there is just single window opened then finish the cycle with step 3 (minimize it, show the user there is nothing more he/she can do)

3) I am clicking again and getting back to beginning
- for single window or multiple spread applications
- do not worry designers, because all those people who did not expect anything they will not click (or will they?)

3.a - minimize single app (there is no more to do, let the user know, if this was not expected, then he will click on that icon again, do not worry, it is going in cycle)

3.b - unfocus (back to state 1) and hide multiple windows selection from step 2.a (what else do you want to do? user wants something! he is the boss, he just clicked - obviously he does not want to select one of the apps - this is essential. Maybe he did not find what he was looking for, maybe he just did. Go back to beginning, give him something familiar, let him cycle if he wants to do that one more time.

IT IS SIMPLE:
Users that do not need this multiple click functionality will simply not make that extra click (well, but they are clicking even now, I guess they are looking for something more, they just not getting it)

AGAIN:
Maybe somebody got lost in the process so here is recapitulation, it is essentially what everybody is saing:

@Rasto: Too many clicks and differents behaviors in your proposed, keep simple and cool. Spread Mode show all the windows when are too many apps.

Like i say up...
Actual behavior in Unity:
1. Clicking an icon of a focused (maximize) window: Does nothing (?)
2. Clicking an icon of a minimize window: Does Maximizes (intuitive)
3. Clicking an icon with two or more windows: Spread Mode of the windows (really nice)

Now is simple, but the point 1 is failing (Does nothing).
Keep simple behavior in the launcher and add "minimize" on the icon, that's all we want.

Ayatana design team, development team, whoever is in charge of overseeing this subject!

I beg of you, in the nicest way i can possibly ask, please fix this issue. This single issue is the bane of my existence, i cant seem to adjust but i was able too in 12.04 BECAUSE it had this feature. This was the key feature that made me turn away from windows and even mac because it was a complete system, it had all the functionality that i needed to be very very productive. I EVEN HAD ONE OF MY COLLEGE PROFESSORS TRY THIS OUT, EVEN HE SAID IT WAS AMAZING! but now this feature is gone and i find Ubuntu clunky and hard to use because of all the screen clutter that exists. Like the bug description says, that design would be perfect, but if that is too hard to implement, at least give us the benefit of the doubt by just adding this feature to single windows instead of a window stack. I can try to live with this and id be more than happy to return to Ubuntu.

This shouldn't be hard to do since i had this implemented on a 13.04 install but it was buggy cause unity didn't agree with this modification so ultimately it was unusable but regardless this feature would make 14.04 perfect. I know i speak for a lot of people when i say that this would be ideal in terms of functionality. I already feel that unity is nice in that it offers a different desktop experience but one that is well thought out in terms of functionality, however this one simple issue, to me, has caused its use to be "difficult" even new users find it hard to use because they normally come from windows and mac and say why doesn't the launcher minimize my app, that doesn't make any sense! Then they tell me they don't like it and want to go back to windows, myself included.

So PLEASE PLEASE PLEASE PLEASE! I will join a design team if i have to, i will gladly contribute to this cause, i am a computer science graduate so i know i can at least be of some assistance.

Also kudos on the integrated menu, i was amazed by that cause i didn't think there was a way to make it better, but you continue to amaze. Now if we can just get this one little tiny thing in there it'd be PERFECT!

Thank you Ubuntu team for all of your hard work in designing probably THE nicest desktop environment in the world, and to make it even better, its free! for this i thank you!

I hate to be the one who argues, especially on such a professional forum over something that doesn't help the topic at hand. This feature was available in 12.04, either by users or by the Ubuntu team themselves, i'm not sure of which. What i do know is that this feature was a welcomed addition to the user experience. Also you think i'm not aware of this issue being opened for so long. Its because I have basically been waiting from the beginning for the Ubuntu team to fix this mistake.

Next time you get on to tell someone their wrong because you just want to sound smart, or whatever your problem is. Be it trolling or whatever, please refrain from posting anything that doesn't help this issue, this is a bug report and discussion about the topic of adding the minimize on launcher click feature to Ubuntu, so if your not gonna be of any help, then stay off the forum. :)

Amazing, i was just looking through the comments and found that you Phillip posted something ABOUT the topic even if it was just one little thing, i take back my previous comment, however I will explain that just posting one little thing, isn't going to make much of a difference. This very reason is why we need to talk more about the relevance of this feature rather than just complain about it.

And this feature is still available "by users" for at least >= 12.04, and given that your first comment starts with "PLEASE PLEASE PLEASE!!!!", it doesn't sound like your posts are of any help here as you say in "doesn't help this issue".
Also, you got something wrong there, this is not supposed to be a "forum" where anyone posts his/her useless opinions, this is supposed to be a *bug tracker*.
Though commenting here won't have any effect on the official versions of Ubuntu anyway, Canonical has decided it neither likes the proposed feature nor does it like customization.

Forgive me for starting the comments in such a way, I am simply tired of seeing the Ubuntu team make poor choices in terms of functionality. Some can be good and some can be bad but unfortunately right now the bad out weigh the good.

> And this feature is still available "by users" for at least >= 12.04, and given that your first comment starts with "PLEASE PLEASE PLEASE!!!!", it doesn't sound like your posts are of any help here as you say in "doesn't help this issue".

Please direct me towards a PPA that i can install to allow this feature for 13.10 or 14.04, that is if you can which i highly doubt is possible without having to build unity from scratch.

> Also, you got something wrong there, this is not supposed to be a "forum" where anyone posts his/her useless opinions, this is supposed to be a *bug tracker*.

Honestly i don't really care what its called. The point of the matter is to comment on the situation and make it a bigger deal. I know that the Ubuntu team has decided that they will not fix this issue but if we continue to heat this argument then maybe that will change, but sitting here complaining about how other people are wrong isn't helping anything.

The point of this discussion is to help the Ubuntu team understand what we find is wrong with the current functionality and how they can go about fixing it.

> Though commenting here won't have any effect on the official versions of Ubuntu anyway, Canonical has decided it neither likes the proposed feature nor does it like customization.

I cannot help but feel you are missing the point of this conversation entirely. If there is a problem and no one talks about it or makes any comments about how there is something wrong, does that problem ever get fixed? NO!

Please add reason and persuasion to your comments and MAYBE the Ubuntu team will see this and decide to attempt a fix.

Reason and persuasion can be found in several comments here. Your comments on the other hand lack any, so you should take your own advice rather than drown out those comments that add something to the discussion.

As for users like me who wanted to keep 12.04 until the next LTS comes out,
I could only get this feature to work following the instructions of this
very well explained post:http://ubuntuforums.org/showthread.php?t=2093170&page=2&p=12407469#post12407469
and
replacing the version numbers by the more recent ones. Yes, it is quite a
tedious method, and it installs lots of other features along with it. But I
found that was worth it.

Thanks for the help Neptilo, i tried the first fix but no luck, im not sure why but i got error after i upgraded to 14.04 so that might have had something to do with it.

As for the second fix, im gonna work on that tonight and see. If i could get this feature back id gladly go back to 12.04 but im worried that since they have updated 12.04 to 12.04.4 then it may not work. Who knows, cant hurt to try.

Daniel I've add packages for 12.04 to that ppa using unity revamped patch. https://launchpad.net/~zxcq14/+archive/minimize-unity-7 So you can use unity revamped without compliation with last version of unity. I'm going to check package versions every week and keep it updated.

Thank you for all the help and especially thank you for this fix mnrl. But I cant seem to get it to work, ive tested out various way of adding this ppa and applying the fix but i keep getting duplicate ppa error and it doesn't work, now it keeps wanting me to restart Ubuntu to apply changes, i do and then it says to restart again. If there is a guide somewhere for the exact steps to take when doing this then that would be great, im sure the problem is on my part i just have no idea what to do to fix it :(

Daniel, Are you using 12.04? you must add ppa like that:
sudo add-apt-repository ppa:zxcq14/minimize-unity-7
sudo apt-get update
sudo apt-get upgrade
And packages should be updated. Maybe there is a problem with your package system like broken depencies.
Run top three command above and put the errors in your terminal output in a text file, then attach here.

Oh and i forgot to mention, i am running ubuntu 12.04, also i am still currently working to figure this issue out but nothing so far, another thing is that im not sure of that file was uploaded so if it wasnt let me know and ill post it in the next comment.

Daniel, there is no attachment in your comment, maybe it wasn't uploaded.
Here is not a forum, so it's not right to talking about only my ppa.
Please e-mail me your terminal outputs. I can help you via e-mail.

The attachment "Allows for minimizing windows from the launcher on Unity 2D" 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.]

[ Brandon Schaefer ]
* Update the DPI when we setup the view. (LP: #1292268)
* Do not avoid rendering the lockscreen when we have a fullscreen app.
This also removes the old fullscreen + lockscreen fix where we force
painted our selfs on top. (LP: #1291571)

[ Chris Townsend ]
* Add ability to minimize a single window application when clicking on
the Launcher icon of the application. (LP: #733349)

Thank you so much for listening to user feedback and implementing a fair compromise. Please don't under estimate how important this is to us. I can barely stand it when a lot of people want something and the developers won't even at least add it as a preference that can be access through a settings menu.

You have no idea how much this little fix has boosted my Ubuntu morale!

Question: I have a fully updated Ubuntu 14.04; when can I expect to see your fix in action (by simply installing updates suggested by the Ubuntu Update Manager)?

On 03/19/2014 08:44 AM, Lonnie Lee Best wrote:
> @Christopher Townsend
>
> Thank you so much for listening to user feedback and implementing a fair
> compromise. Please don't under estimate how important this is to us. I
> can barely stand it when a lot of people want something and the
> developers won't even at least add it as a preference that can be access
> through a settings menu.
>
> You have no idea how much this little fix has boosted my Ubuntu morale!
>
> Question: I have a fully updated Ubuntu 14.04; when can I expect to see
> your fix in action (by simply installing updates suggested by the Ubuntu
> Update Manager)?
>

I'm sorry, but it's hard for me to be happy with this fix. Why hide it away? Why not make it a public option in Unity settings? Most Ubuntu users will have no idea that this option is available. Those who will discover it will be baffled by how hard it is to enable (or disable) it.

We are trying to make Ubuntu better for everyone, not just fulill the needs of a few users. The only thing being "compromized" here is user friendliness.

As much as I appreciate "any way" to accomplish this, I must agree with Tal Liron.

To achieve this option, you must install additional software and a regular use won't ever know this option exists.

Furthermore, this option should be the default for 14.04. Not one bug report would be reported if this option were made default in the 14.04 release. No one would complain *period*. This should be given to everybody. It is completely intuitive. Every other major operating system does this by default.

First, thank you for doing the right thing. I haven't tried this feature yet, since I'm still not using Unity (or even Ubuntu anymore) and I have a question: does this feature distinguish between "focused" (to be minimized) and "unfocused" (to be focused) state?

Looks like it checks how many windows are in the group (windows.size() == 1) and if the setting is enabled (minimize_window_on_click); and the function is limited to windows on the current desktop (WindowFilter::ON_CURRENT_DESKTOP); but I don't see anything about focused/unfocused state.

Most of the time it will be fine as-is, especially for users who don't clutter a single workspace with lots of windows, but there may be occasions when a single window on the current desktop may be under another window or a group of windows and clicking on the icon will minimize it behind them ("Aunt Suzy"). Since there's a minimize animation to see, most users will probably realize what happened and click the icon one more time to get the desired window out and on top.

Adding an additional if statement to cover this case would be a nice improvement. Please excuse my ignorance of the proper names of the functions and variables involved; consider this a blueprint for actual code:

I know how hard it was to get this feature in even "as-is" with "no more tweaks or enhancements", and I'm happy to see it happen at all, so I won't hold it against anyone if this behavior is never updated; just a suggestion (and reiteration of the same from several comments in this report).

Already gave up on Ubuntu three years ago simply because of this. As a experienced GTK developer (two of my GTK3 applications are in Debian/Ubuntu repositories, abandoned but actively used) I pity that this happened so late, just because of someone's dumb vision and not respecing other users point of view. I'm no Linux developer anymore, but I hope someone in the Linux world will finally see it - user is the most important thing in this business. Not your development/UX model.