falstro / ghost-text-vim

Ghost Text for VIm
MIT License
52 stars 9 forks source link

opens 6 instances of gvim #3

Open svenXY opened 7 years ago

svenXY commented 7 years ago

Hi,

I have the following issue:

$ /usr/bin/tclsh /home/me/tmp/ghost-text-vim/ghost-text-server.tcl -d                                                                                                                              

WebSocket Sec-WebSocket-Key: U+DF+/IFE/bc/p6PdS4yRQ== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
WebSocket Sec-WebSocket-Key: rZCBgY/SqjCDX2vT27zR7g== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
WebSocket Sec-WebSocket-Key: gl/c74M4vjbr6w50bfDlMg== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
WebSocket Sec-WebSocket-Key: ALysaqCG+OgLH8RqEk6raw== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
FLAGS:1000 OPCODE:1 MASKED:1 LEN:132 MASK:2019122181
WebSocket Sec-WebSocket-Key: nr2zTGSHEF32i01KqRSfMA== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
WebSocket Sec-WebSocket-Key: BN3+dNA1B4s8uZRazG10ng== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits}
FLAGS:1000 OPCODE:1 MASKED:1 LEN:132 MASK:-1388226100

which opens 6(!) gvim instances before it lets me edit in the last one.

Thanks for checking, Sven

PS: Linux Arch, VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 6 2017 16:10:01), tcl 8.6.6-1

falstro commented 7 years ago

Looks like your Ghost-Text extension is making multiple connections for whatever reason, the script will open up a new GVim for every connection made, which version of the extension are you using?

On Thu, Feb 9, 2017 at 2:21 PM, Sven Hergenhahn notifications@github.com wrote:

Hi,

I have the following issue:

`$ /usr/bin/tclsh /home/me/tmp/ghost-text-vim/ghost-text-server.tcl -d

WebSocket Sec-WebSocket-Key: U+DF+/IFE/bc/p6PdS4yRQ== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} WebSocket Sec-WebSocket-Key: rZCBgY/SqjCDX2vT27zR7g== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} WebSocket Sec-WebSocket-Key: gl/c74M4vjbr6w50bfDlMg== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} WebSocket Sec-WebSocket-Key: ALysaqCG+OgLH8RqEk6raw== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} FLAGS:1000 OPCODE:1 MASKED:1 LEN:132 MASK:2019122181 WebSocket Sec-WebSocket-Key: nr2zTGSHEF32i01KqRSfMA== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} WebSocket Sec-WebSocket-Key: BN3+dNA1B4s8uZRazG10ng== Sec-WebSocket-Version: 13 Sec-WebSocket-Extensions: {{permessage-deflate;} client_max_window_bits} FLAGS:1000 OPCODE:1 MASKED:1 LEN:132 MASK:-1388226100 `

which opens 6(!) gvim instances before it lets me edit in the last one.

Thanks for checking, Sven

PS: Linux Arch, VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 6 2017 16:10:01), tcl 8.6.6-1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/falstro/ghost-text-vim/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AIVQ2H3WwI8mdDSS1qQosc3ANlmkkwvqks5raxLogaJpZM4L8Hml .

svenXY commented 7 years ago

commit 27c18a76e6a90b3db5822dcf1fcb7096b265fa30 Author: Fredrik Alstromer falstro@excu.se Date: Thu Jun 16 13:15:36 2016

GhostText 1.2.4.1

https://github.com/GhostText/GhostText/issues/95

falstro commented 7 years ago

Thanks for the update, yeah it definitely looks like a plugin issue.

alerque commented 7 years ago

Same issue here, also on Arch using FF 56, addon version 17.6.1.407.

ed-g commented 7 years ago

Same issue. Ubuntu FF 57.

moritz commented 7 years ago

Fwiw here (Ubuntu 17.04, FF 57) it opens one gvim the first time I click on the GhostText symbol, two gvims the second time I click on it, and so on. I'll also open an issue in the GhostText issue tracker.

532910 commented 4 years ago

Same issue. Debian sid. It opens one gvim window more every time I press toolbar button. Even after tcl script restart.

alerque commented 4 years ago

For those still struggling with this issue, consider there are (in my opinion) now much better options for using your editor in browsers. Since switching from this project to Firenvim I haven't looked back! (Except of course when Github pings me about old issue I was subscribed to :wink:)