Fixing the problem with minimized windows

Ideas and Requests for Compiz

Fixing the problem with minimized windows

Postby Just John » Sun Apr 13, 2008 5:44 am

shame wrote:Just wondering, how easy would it be for scale and the switcher plugins to un-minimize windows when initiated and re-minimize them when returning to the desktop?

I'm sure there was an option for something like this in older versions of scale or ring switcher or something (maybe back in the beryl days, can't remember).


Yes, do this.

I was looking through all the complaints about x not drawing minimized windows, and it seems baffling that no one would jump to the obvious solution. Un-minimize the windows. The switchers can then see them without changing any code, and you simply re-minimize the window at the end if it wasn't selected.

This can't be very hard to do, and would be a huge improvement. Can someone please do it?
Just John
Member
 
Posts: 24
Joined: Sun Apr 13, 2008 5:32 am

Re: Fixing the problem with minimized windows

Postby shame » Sun Apr 13, 2008 10:14 am

One issue I seem to remember with this (which I'm sure beryl did do) was that when the windows were minimizing/un-minimizing with scale/switcher it looked a bit iffy.

So it would be perfect if the switchers could do this but disable the minimize animation? (If you get what I mean).

Even if that bit isn't possible, surely un-minimizing windows WOULD be the easiest and most simple solution to this horrible issue with minimized windows and switchers/scale.

This is still the only downer I have with compiz/fusion.
repository of shame - compiz fusion repo for debian | 32-bit | 64-bit
shame
Senior Member
 
Posts: 728
Joined: Thu Jan 04, 2007 10:52 am
Location: England

Re: Fixing the problem with minimized windows

Postby Just John » Sat Apr 19, 2008 12:37 am

Any input from a coder?
Just John
Member
 
Posts: 24
Joined: Sun Apr 13, 2008 5:32 am

Re: Fixing the problem with minimized windows

Postby SmSpillaz » Sat Apr 19, 2008 4:22 pm

Just John wrote:Yes, do this.

I was looking through all the complaints about x not drawing minimized windows, and it seems baffling that no one would jump to the obvious solution. Un-minimize the windows. The switchers can then see them without changing any code, and you simply re-minimize the window at the end if it wasn't selected.

This can't be very hard to do, and would be a huge improvement. Can someone please do it?


No, that's a mega hack.

This was in Beryl, but it caused insane CPU usage and graphics slowness when unminimizing windows on switcher and scale. If you want this feature, I can right a patch, but I can tell you now that there is no way it will make it into compiz-core.

BTW, I don't think there is a way to disable minimize notifies when doing this. There might be however, I'll have to check.
[color=DarkOrange]metastability: when I was in high school they had keyboards with a shutdown button
metastability: they've stopped selling these for some reason[/color]

---------------------------------------------------------------------
SmSpillaz: then again, I'll wave the 'proof-of-concept' flag for now
and fix it later :P

[size=84]The Compiz Fusion Community News
YouTube'd Desktop
[/SIZE][SIGPIC][/SIGPIC]


SmSpillaz
 
Posts: 1608
Joined: Sat Mar 24, 2007 11:30 pm
Location: Australia. AKA, Down Under

Re: Fixing the problem with minimized windows

Postby shame » Sat Apr 19, 2008 5:03 pm

One way of doing this could possibly be an unofficial way, be it a patch as SmSpillaz mentioned or maybe some unofficial plugin that deals with minimized windows in a nice way.

That way, it would affect compiz-core so the devs can still stick to their ways of doing things but those who are really bothered by this minimized windows business can at least have a nicer way of doing it.

I really wish I had time to learn how to make plugins...
repository of shame - compiz fusion repo for debian | 32-bit | 64-bit
shame
Senior Member
 
Posts: 728
Joined: Thu Jan 04, 2007 10:52 am
Location: England

Re: Fixing the problem with minimized windows

Postby Just John » Fri Apr 25, 2008 12:51 am

Thanks for the info. It seems really strange to me that minimize commands would be so much more intensive than what compiz is already doing. But anyway...

Unless you think it would be completely unusable I would still love to see it. You could put a little check box that says "show minimized windows" and then put a little warning that says it's a workaround or that it's cpu intensive or whatever.
Just John
Member
 
Posts: 24
Joined: Sun Apr 13, 2008 5:32 am

Re: Fixing the problem with minimized windows

Postby Just John » Wed Apr 30, 2008 6:15 am

So, any more info on this situation?
Just John
Member
 
Posts: 24
Joined: Sun Apr 13, 2008 5:32 am

Re: Fixing the problem with minimized windows

Postby Diceman » Fri May 09, 2008 7:11 am

Don't bother requesting anything related to minimized windows, you're wasting your time. If you search the forums on topics related to this many have asked and none who have the ability to do anything about it have bothered. Rather than give the users the choice of usability enhancements in this area with temporary fixes, we have to bear this serious deficit as a side effect of code perfection zealotry.

Additionally with the glacial rate of Xorg's development concerning minimization and input redirection, it'll be years before any changes are made that allow a "proper" implementation.

So don't get your hopes up. Inevitably someone with say "do it yourself" but that kind of arrogance assumes we all have the ability and the time.
Diceman
Junior Member
 
Posts: 9
Joined: Mon Sep 17, 2007 6:09 pm

Re: Fixing the problem with minimized windows

Postby some-guy » Fri May 09, 2008 3:08 pm

Diceman wrote:So don't get your hopes up. Inevitably someone with say "do it yourself" but that kind of arrogance assumes we all have the ability and the time.

None of the devs are actually paid to work on compiz/fusion (with the exceptions of KristianLy and David Reveman, but compiz isn't their only projects), and they don't have all day to search the forums and grant wishes

As for it taking a large amount of cpu would probably be due to the fact that, it has to registered to X, then its pixmap has to be drawn, and for compiz to use it, a GL texture has to be made from that pixmap, causing huge amount of cpu change if there are many windows ;)
some-guy
 
Posts: 2736
Joined: Tue Apr 24, 2007 8:31 pm

Re: Fixing the problem with minimized windows

Postby zekopeko » Fri May 09, 2008 4:53 pm

can't we simply take the last snapshot of the window before we minimized it and simply show that?

BTW vista also hasn't got this fixed. they use icons of minimized window.
zekopeko
Member
 
Posts: 14
Joined: Wed Jun 13, 2007 11:26 pm
Location: Croatia

Next

Return to Ideas and Requests

Who is online

Users browsing this forum: No registered users and 2 guests