Code Monkey home page Code Monkey logo

Comments (10)

sagb avatar sagb commented on August 10, 2024

Thank you for reporting!
I plan to fix this soon, together with other related issues (see #48).

from alttab.

sagb avatar sagb commented on August 10, 2024

This should be fixed in c5bb567, please test.
In -d 0 (default) mode, scratchpad window should not appear in the switcher,
in -d 1 it should appear and switching to it should be possible.

from alttab.

eater avatar eater commented on August 10, 2024

This is working! But not perfectly.
-d 0 is great.
-d 1 shows all the windows on every desktop, and 90% of the time, it successfully switches to the window I select, on any desktop. But 10% of the time, the current window flashes, but the focus does not change. I'm not sure how to reproduce that consistently. It seems to happen when I try to switch to a window on a different desktop. Looking at the -vv log when that happens, it says it's switching window but it does NOT say it's switching desktop:

Release 5600239: 9-50
destroying our window
changing focus to 7c00074
ewmh_setFocus 7c00074
ewmh switching window to 130023540
pull out g.winlist[0] to top
destroying tiles
destroying icons and winlist
sortlist before freeWinlist: 130023540 123731973 12646413 16777219 136314883 39845942 39846772 39846866 12759826 39845945 146800643 12847568 39846923 

from alttab.

sagb avatar sagb commented on August 10, 2024

Thank you for investigation, please pull and produce the sutiation again, I've added trivial verbosity in ewmh_setFocus (you can grep by "ewmh_setFocus")

from alttab.

eater avatar eater commented on August 10, 2024

OK:

Press 2a9: 8-23
item 2
Release 56001a0: 8-23
destroying our window
changing focus to 2600374
ewmh_setFocus win 2600374
ewmh_setFocus fwin 0 opt 1 wdesk 0 cdesk 1
ewmh switching desktop to 0
ewmh switching window to 39846772
pull out g.winlist[2] to top
destroying tiles
destroying icons and winlist
sortlist before freeWinlist: 39846772 123731973 16777219 130023540 12646413 136314883 39845942 39846866 12759826 39845945 146800643 12847568 39846923 

from alttab.

sagb avatar sagb commented on August 10, 2024

There is a "switching desktop" message above. Didn't it actually switch the desktops?

from alttab.

eater avatar eater commented on August 10, 2024

No, it didn't.

from alttab.

sagb avatar sagb commented on August 10, 2024

Please check if this temporary workaround fixes the problem.

from alttab.

eater avatar eater commented on August 10, 2024

Yes, that works!

from alttab.

sagb avatar sagb commented on August 10, 2024

This is final resolution. Please reopen on inconsistent -d behaviour on i3 scratchpad window,
or file a new issue on inconsistent -d behaviour on other windows.

from alttab.

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.