Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show window outline during alt+tab #612

Open
plomari opened this issue Sep 14, 2021 · 9 comments
Open

Show window outline during alt+tab #612

plomari opened this issue Sep 14, 2021 · 9 comments

Comments

@plomari
Copy link

plomari commented Sep 14, 2021

It would be helpful if an outline of the window (a non-filled rectangle) were shown while using alt+tab to cycle through the window list.

IceWM doesn't use a compositor, and it can't just draw to the screen freely to show this rectangle. But maybe it could show a shaped window to emulate that effect?

Showing a "preview" of the window contents with 50% alpha or so would be nice too. Also, a completely new mode where you see an overview of all windows as tiles, like other WMs can do. But then you'd probably really need a compositor.

@gijsbers
Copy link
Collaborator

That would require substantially more donations, yes.

@plomari
Copy link
Author

plomari commented Sep 22, 2021

How much do I need to donate?

@gijsbers
Copy link
Collaborator

2K eu for anything where a compositor needs to be added to IceWM for really very cool but superfluous gimmicks.

@danfe
Copy link

danfe commented Jun 16, 2022

It would be helpful if an outline of the window (a non-filled rectangle) were shown while using alt+tab to cycle through the window list.

Helpful to what, exactly? :-) If you want target (switch candidate) window to be more easily identifiable while cycling through them, have you tried QuickSwitchRaiseCandidate setting added in bf87d02 last year?

IceWM doesn't use a compositor, and it can't just draw to the screen freely to show this rectangle.

FWIW, Openbox draws only the window outline (no window contents) when cycling with Alt-Tab and does so without any compositor.

Also, a completely new mode where you see an overview of all windows as tiles, like other WMs can do. But then you'd probably really need a compositor.

If you're talking about Apple's Exposé feature, then again, it does not need a compositor. I use Skippy-XD with both Openbox and IceWM and it works like a charm.

@plomari
Copy link
Author

plomari commented Jun 19, 2022

Helpful to what, exactly?

When there a lot of windows on the screen (and some cover large areas of the screen), you often can't see to what window you're switching. With an outline, you see where the window you're switching to is located, which is often sufficient. (I guess you subconsciously memorize where on the screen your windows are.)

have you tried QuickSwitchRaiseCandidate

This is nice and may be more useful to some people than an outline. But since it just raises the entire window, I don't find it ideal either. It has a bit of a confusing effect. If a compositor were in play, I'd suggest rendering the raised window with alpha transparency.

By the way, do themes have a separate color for the window title bar of a window that's highlighted during switching? Would be useful for normal window tabbing too.

Drawing an outline may still be worth a consideration as feature, if it's somehow easy to implement. If I read its source code correctly, openbox creates 4 temporary windows to show a rectangle outline?

If you're talking about Apple's Exposé feature, then again, it does not need a compositor. I use Skippy-XD with both Openbox and IceWM and it works like a charm.

Thanks. Maybe I'll try it sometime next week. Unfortunately, while this looks very interesting, it also looks very dead. There's a slightly newer fork (link buried in one of the issues) which is also dead.

@danfe
Copy link

danfe commented Jun 19, 2022

With an outline, you see where the window you're switching to is located, which is often sufficient. (I guess you subconsciously memorize where on the screen your windows are.)

I see; yes, this is Openbox' window cycling style.

By the way, do themes have a separate color for the window title bar of a window that's highlighted during switching?

If a theme specified different color for active window title, then yes, you'd see the candidate window title drawn as active while cycling through them.

If I read its source code correctly, Openbox creates 4 temporary windows to show a rectangle outline?

Yeah, it's pretty dumb and simple. It's not even themeable, as its width and colors are hardcoded. I patch it locally because I find it too thick and ugly (reduce FOCUS_INDICATOR_WIDTH to 4 and change colors to be more subdued and somewhat matching my current theme).

Unfortunately, while this looks very interesting, it also looks very dead. There's a slightly newer fork (link buried in one of the issues) which is also dead.

Well, that's one way of looking at it. On the other hand, it does its job and does it well even being abandonware. One could argue that Openbox is also kind of dead without regular releases, while it's actually considered "finished" by its author (or so I heard).

@plomari
Copy link
Author

plomari commented Jul 2, 2022

Took me time, but finally tried it. It works surprisingly well after all. Thanks for the tip.
Outline switching would be a nice thing anyway.

@cheapy
Copy link

cheapy commented Dec 31, 2022

@plomari Did you get skippy-xd to work with IceWM's taskbar to popup a small window showing what is in the window related to the taskbar entry being highlighted? I have seen it work with a tint2 panel with IceWM running, but it doesn't do anything when the IceWM taskbar is active on the same system. Do you know how to configure it to work with IceWM's taskbar?

@plomari
Copy link
Author

plomari commented Jan 8, 2023

IceWM's taskbar to popup a small window showing what is in the window

I didn't make an attempt to get something like that working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants