ghost-text-vim icon indicating copy to clipboard operation
ghost-text-vim copied to clipboard

opens 6 instances of gvim

Open svenXY opened this issue 8 years ago • 8 comments

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

svenXY avatar Feb 09 '17 13:02 svenXY

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 [email protected] 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 .

falstro avatar Feb 09 '17 13:02 falstro

commit 27c18a76e6a90b3db5822dcf1fcb7096b265fa30 Author: Fredrik Alstromer [email protected] Date: Thu Jun 16 13:15:36 2016

GhostText 1.2.4.1

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

svenXY avatar Feb 14 '17 07:02 svenXY

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

falstro avatar Mar 08 '17 20:03 falstro

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

alerque avatar Oct 11 '17 10:10 alerque

Same issue. Ubuntu FF 57.

ed-g avatar Nov 23 '17 02:11 ed-g

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.

moritz avatar Nov 23 '17 08:11 moritz

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

532910 avatar Mar 01 '20 03:03 532910

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:)

alerque avatar Mar 01 '20 07:03 alerque