Git Product home page Git Product logo

Comments (4)

Cacodaimon avatar Cacodaimon commented on May 20, 2024

I don't have a Windows 10 system for testing at the moment, but I believe that the flickering behavior could be some ST internal behavior glitch on Windows 10 hence it not appears on Linux virtual desktops.

About the activating the right ST window on multiple desktops, this might not be possible the ST API does not provide virtual desktop handling and the browser APIs does not support it too.
There is not deterministic way identifying the right ST window, currently I don't know if finding the last active window is possible through the ST API.

Please give me some time about this.

But you could try the new_window_on_connect flag.

from ghosttext.

laggingreflex avatar laggingreflex commented on May 20, 2024

Using new_window_on_connect flag, it creates a new window on the same desktop but then it doesn't actually use that window, and instead it does the same thing (flickering through windows).

Doing it again, with the now newly opened window (by ghost-text), it still opens up yet another window and neither uses that one, nor the previously created one, but instead does the same thing again, i.e tries to switch over to other windows/desktops several times before settling on a seemingly random window, can't even say if it's the last used window this time, as it should've been one of the two newly created ones.

Using ST3 build 3083

Be happy to help in any other debugging/patch-testing process. Love the project btw!

from ghosttext.

Cacodaimon avatar Cacodaimon commented on May 20, 2024

If you paste the following code into your ST Console, does it flickers, too?

[(window, view) for window in sublime.windows() for view in window.views()]

from ghosttext.

laggingreflex avatar laggingreflex commented on May 20, 2024

Just paste and enter? No, it doesn't flicker, just outputs this result:

>>> [(window, view) for window in sublime.windows() for view in window.views()]
[(<sublime.Window object at 0x0448DAB0>, <sublime.View object at 0x04485190>), (<sublime.Window object at 0x0448DB30>, <sublime.View object at 0x04485250>), (<sublime.Window object at 0x0448DB30>, <sublime.View object at 0x04485270>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485330>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485150>), (<sublime.Window object at 0x0448D650>, <sublime.View object at 0x04485050>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x044851B0>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x04485070>), (<sublime.Window object at 0x04485170>, <sublime.View object at 0x04485310>)]

from ghosttext.

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.