Comments (4)
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.
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.
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.
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)
- CodeMirror 2 Support (Jenkins) HOT 2
- Unable to use on CompilerExplorer/godbolt.org (Monaco Editor) HOT 1
- TiddlyWiki multiple active notes HOT 1
- Automatically open an editor when starting the extension HOT 1
- GhostText not working on coderpad.io (Monaco Editor) HOT 1
- Ghost Text Not Working HOT 4
- Close the VSCode tab after disconnection HOT 3
- Connection is lost after save HOT 4
- Problem with two-way sync on firefox and neovim HOT 2
- CodeMirror 6 / jupyter notebook 7 issues HOT 2
- CodeMirror 6 only works on the first connection, then a reload is required
- submit form changes from text editor HOT 1
- textarea modified by javascript HOT 1
- GhostText for input fields HOT 2
- Not Working for Cinny and Element HOT 1
- Support for github.dev and vscode.dev HOT 1
- Doesn't seem to work on StackOverflow.com HOT 11
- is it secure to listen on *:4001 ? HOT 1
- Does it work in codecademy editor? (Monaco editor) HOT 3
- GhostText doesn't work with Monaco editor on CodeSignal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghosttext.