felixhageloh / uebersicht

ˈyːbɐˌzɪçt
GNU General Public License v3.0
4.51k stars 166 forks source link

Ignore "Show Desktop" Mission Control #4

Open farski opened 10 years ago

farski commented 10 years ago

When using a hot key or hot corner for the Show Desktop action from Mission Control, it would be great if the uebersicht widgets stayed in place. Often times I Show Desktop specifically to see a widget, so if they are getting swept of the screen it can be a bit of a hassle to find them.

lukemartin commented 10 years ago

This would be very useful, if it's possible at all.

farski commented 10 years ago

@lukemartin GeekTool widgets behave this way

farski commented 10 years ago

Perhaps something to do with NSWindowCollectionBehaviorStationary

farski commented 10 years ago

https://github.com/felixhageloh/uebersicht/blob/master/U%CC%88bersicht/UBWindow.m#L35

It looks like current the windows are being set to NSWindowCollectionBehaviorTransient which is mutually exclusive with NSWindowCollectionBehaviorStationary. I'd be curious to know why that decision was made.

felixhageloh commented 10 years ago

I will have to look into it! It is definitely possible and intended for them to stay visible when you 'show desktop'. The thing is, for me it works actually, so I need to figure out why it doesn't for you guys!

felixhageloh commented 10 years ago

@farski to answer your question, I used NSWindowCollectionBehaviorTransient because I didn't want widgets to show when you activate Mission Control to pick a window and, at least for me, that didn't break the 'show desktop' action, as in, widgets stay on the desktop and visible.

felixhageloh commented 10 years ago

@farski did you open the Debug Console at some point? If so, can you try to restart Übersicht and see if the problem still exists?

jbleuzen commented 10 years ago

@felixhageloh I experienced the same issue and as you suggested I have open the Debug Console. Restart did fix the problem.

As soon as I open de Debug Console, widgets are not displayed anymore when desktop is shown.

farski commented 10 years ago

@felixhageloh I had opened the debug console, and restarting does make the widgets stay in place.

sethvoltz commented 10 years ago

Just installed Übersicht for the first time and the behavior appears correct (widgets staying in place).

gboudreau commented 10 years ago

I can confirm this issue only starts if you open the debug console, and fixes itself once you restart.

felixhageloh commented 10 years ago

I think I found the issue - the debug console is a bit of a hack, since apple exposes no public API for it. This means it is a bit tricky to fix

felixhageloh commented 10 years ago

this should be fixed with the 0.2 release

kdorsel commented 9 years ago

The 0.3 release seems to have broken this. For me anyways...

felixhageloh commented 9 years ago

are you using a keyboard shortcut to 'show desktop'?

kdorsel commented 9 years ago

Yes, cmd + F3.

I have my Magic Mouse gesture set to Show Desktop also and that works. So you're right in that it's only via the keyboard.

felixhageloh commented 9 years ago

sorry for the late response: so this happens because of the new interaction feature: when you press ⌘ Übersicht becomes intractable, which also means it acts like a normal window. I'll need to find a way to have both features work, but for now, using the trackpad gesture or hot corners works (not sure if that helps you tho)

felixhageloh commented 9 years ago

the newest version lets you choose the interaction shortcut. So if you use something else than ⌘ this issue should be solved.

AntonTrapp commented 8 years ago

New installation, Command key is default -> Übersicht is useless for me because I always have a lot of windows open and got to the desktop everytime with a mouseclick. Kept it because it is genius. Now I wanted to contribute and add this feature and I found this. F... - there should be a different default setting. Or could this be placed a little more prominent? I would add this message with a big red warning icon to the preferences. Or to the beginning of the documentation. Or whatever.

Did I mention that I love Übersicht? At least 10 times? ;) - tnx for this unbelievable useful piece of software.

P.S.: where is a donate button? Can send you via paypal too.

felixhageloh commented 8 years ago

@AntonTrapp I guess you are right - it should be a different default! I will reopen this as a reminder

felixhageloh commented 8 years ago

I have not considered a donate button so far btw (never thought of it :) ). I wonder if it is appropriate, given the project is open source ....

AntonTrapp commented 8 years ago

You are investing time. It saves me time. So why don't pay for it? Or if I am using open source stuff and don't have the time to fix a bug, why not pay someone to do it? It's free, but it has a value for me.

felixhageloh commented 8 years ago

I see what you are saying, but what I meant is that several people could (and a few have already) contribute to this project. So me receiving donations without splitting them up in some way (which would be difficult to determine) sounds unfair to me.

arulagrawal commented 4 years ago

I think I had the behaviour where the widgets stayed in place, but now after a "reinstall" they get swept away. How do I troubleshoot this?

I haven't opened the debug console, and restarting does not fix