Giter Club home page Giter Club logo

Comments (16)

richardgv avatar richardgv commented on July 17, 2024

It's not possible to display content of minimized windows right now. X does not retain the content of unmapped windows. We may only display an icon, or cache the window content (which would require skippy-xd to run as a daemon and take a certain amount of resources). Regardless of which approach is preferred, I won't have time to work on this before I finish my exam on Oct 20th.

from skippy-xd.

ikem-krueger avatar ikem-krueger commented on July 17, 2024

I like to see the daemon approach.

I think it would be useful to cache only the minimized windows. (When window get minimized, take a snapshot.)

from skippy-xd.

landroni avatar landroni commented on July 17, 2024

I don't think caching is a good idea. We want Skippy-XD to be as lightweight as possible, and it is for this reason that we recently dropped the daemon approach.

But I agree that displaying the icons of minimized windows would be very useful. I think there is a different report discussing this, but I forget.

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

I would definitely try to implement the icon approach firstly, after my exam. Actually most code is ready.

Caching window contents would generate some extra load when it's enabled, but it shouldn't be much a problem for those who disabled it. Might be tricky to implement since unlike a WM we may not be able to know when a window is going to be iconified and take a screenshot on time, however.

@landroni: I suppose the daemon code is still there, but it has a few bugs.

from skippy-xd.

ikem-krueger avatar ikem-krueger commented on July 17, 2024

I found this nice article.

Two sections are pretty interesting:

"Intercepting X events as they're received"
"Preventing the backing pixmap from being freed when the window is hidden/destroyed"

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

@ikem-krueger:

"Preventing the backing pixmap from being freed when the window is hidden/destroyed"

I can't believe I forgot about XCompositePIxmap()! Yes, that should work. Thanks!

from skippy-xd.

KottV avatar KottV commented on July 17, 2024

afaik, this is another one, such a #11 and #8
so, there is a hope, that we will see iconified and "out-of-current-desktop" windows? :)

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

so, there is a hope, that we will see iconified and "out-of-current-desktop" windows? :)

It's not my top priority now, because unfortunately there are a few more important bugs present, heh...

from skippy-xd.

cosysco avatar cosysco commented on July 17, 2024

Skippy works like a charm!

from skippy-xd.

KottV avatar KottV commented on July 17, 2024

It's not my top priority now

But you didn't answered no. I'll be waiting!

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

Displaying unmapped windows (including those on other desktops) as icons/filled boxes has been implemented. Build from the git repo to test. :-)

There's no schedule for caching window content right now, though.

from skippy-xd.

jasonwert avatar jasonwert commented on July 17, 2024

Is there any chance we will be able to click these windows from other desktops and have it switch to that desktop?

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

@jasonwert:

Is there any chance we will be able to click these windows from other desktops and have it switch to that desktop?

I suppose the WM should take care of this... Anyway, if your WM doesn't, try the switchDesktopOnActivate switch added with cbc8f4b. It won't work if your WM is not EWMH-compliant, though.

from skippy-xd.

jasonwert avatar jasonwert commented on July 17, 2024

I'm using Openbox (Crunchbang specifically). I've downloaded the current daily from the ppa.

I have these enabled:

switchDesktopOnActivate = true
showAllDesktops = true

When I run skippy-xd I get this error (Not sure if it means anything):

wert@heinlein:$ skippy-xd
wm_check(): Your WM looks EWMH compliant.
running once then quitting...
wm_get_stack_sub(): Retrieved window stack from _NET_CLIENT_LIST.
[ 0.04 ] error 8 (BadMatch) request 42 minor 0 serial 404 ("BadMatch (invalid parameter attributes)")
clientwin_handle(): KeyRelease 36 (Return) ignored.
clientwin_handle(): Quitting.
wert@heinlein:
$

If i click a window not on my current desktop it still dumps to the current desktop.

Any idea?

Thanks

from skippy-xd.

richardgv avatar richardgv commented on July 17, 2024

@jasonwert:

I tested with fvwm last night. Openbox probably doesn't quite the follow the EWMH standard if I didn't misunderstand it: EWMH didn't state what the window parameter should be in _NET_CURRENT_DESKTOP client message but Openbox works only if I set it to root window ID.

And I've made another big mistake last night: I forgot to re-enable window activation code after I disabled it for debugging... Anyway, they should be fixed now. You could build from the git repo or wait until the PPA updates.

[ 0.04 ] error 8 (BadMatch) request 42 minor 0 serial 404 ("BadMatch (invalid parameter attributes)")

It's mostly harmless. It occurs when you activate an unmapped window. Probably I will try to silence it later.

from skippy-xd.

jasonwert avatar jasonwert commented on July 17, 2024

The new update did it. All works correctly on Openbox for me now.

Thank you for your work!

-jason

from skippy-xd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.