-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix broken copy, paste and showFindMode since Chrome 74 #3277
Conversation
During tests I found that a setTImeout is needed.
@smblott-github Would you like to merge this for just a try? There're quite a few issues reporting the new FindMode and clipboard issue on Chrome 74, and this PR works on my laptop and PC (both are Win 10 x64). Update: I've confirmed the detailed reason of this breaking and this PR should work well on a very slow computer. |
How did you divine the 17ms solution? (I haven't tested) |
I once thought it's the recently-added "user activation" logic (since Chrome 72) that prevents Vimium code from working. The "user activation" logic is designed to pass privileges across frames and remove them after a while. So I tried adding a timeout and found the privilege came back. Recently, I noticed that "0ms" might be not enough, and "17ms" seems to work well - if not, we may increase it again.
|
Update: after more tests, I find it's a race condition:
Therefore, a
But during tests in today there're about 1 / 10 cases where th HUD could not get focused, so I think the |
Let's also try tagging @philc to see if he will sort things out. (if tagging the project owner is even necessary for him to get notified...) |
I've confirmed the comment I wrote above:
Here's the result of The result of this PR: |
Great tool :). But this bug, after update is causing huge pain. Please update the extension |
@smblott-github Sorry to disturb you again, but there have been so many issues reporting FindMode focusing and copying problem on Chrome 74. Would you have time to merge this? This PR has been verified carefully. |
Guys, please merge it if everything is okay because someone switched to the mouse again( |
If someone is in dublin, Ireland. May be he can request him personally. |
@smblott-github friend; this is huge! would love to have this merged in, to further make this tool amazing again! thanks! |
Why don't we merge this is it seems to work? |
@elongl The timeout is just in case that a computer might be too slow, and won't generate appreciable delay, so I think it should be here (The delay of loading Vomnibar is mostly from common HTML webpage loading and painting). |
So why don't we merge?
…On Wed, May 8, 2019 at 3:41 PM Dahan Gong ***@***.***> wrote:
@elongl <https://github.com/elongl> The timeout is just in case that a
computer might be too slow, and won't generate appreciable delay, so I
think it should be here (The delay of loading Vomnibar is mostly from
common HTML webpage loading and painting).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3277 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHGIP4PN6Z2N7IOLYBHGSNLPULC6NANCNFSM4HAUFNYQ>
.
|
For anyone that's getting a little jumpy on this issue, it looks like a fix is coming, but in the meantime, cmd/ctrl+F still works ;) |
Hate to break it to you guys, but do you know the word "abandoned"? That's where we indeterminately are. While everybody is welcomed to make pull requests in an open source project, a project does have an owner and owner-approved committers, who are the only people possessing the privilege to actually merge a pull request and publish an official build. The abandonment is likely not intentional, but there is no guarantee the two will come back. If you are really bothered by the issues and cannot wait around it, you may want to find an alternative extension. |
@mrmr1993 Sorry to disturb you but do you still have committing permission to Vimium repo? I'd like this PR to be merged to fix Vimium's FindMode focus and clipboard operations issues, which occur on Chrome 74 and are quite annoying. |
@gdh1995 never had commit permissions. I left a query comment on the code, but nothing I can do on actually merging, sorry. |
innaterebel was a bit sassy, but it is likely the maintainers have lost interest. The good thing about open source is that we can fork it and even release a fork to the extension store. In fact, gdh1995 has a fork/rewrite. I appreciate their efforts to fix the original project, and I'm curious how stable Vimium-C is. |
not as stable as Vimium; not all functions have been merged. And, ~~unfortunately, it was unpublished by Google yesterday, because of unsuitable description/snapshot. I'll try to complain in these days~~. Vimium C can still be found in recent days, but any new version of it is / will being reviewed by Google, although I don't really know how to pass it successfully.
…---Original---
From: "Sebastian Sangervasi"<[email protected]>
Date: Fri, May 10, 2019 04:34 AM
To: "philc/vimium"<[email protected]>;
Cc: "Mention"<[email protected]>;"Dahan Gong"<[email protected]>;
Subject: Re: [philc/vimium] fix broken copy, paste and showFindMode since Chrome 74 (#3277)
innaterebel was a bit sassy, but it is likely the maintainers have lost interest. The good thing about open source is that we can fork it and even release a fork to the extension store. In fact, gdh1995 has a fork/rewrite. I appreciate their efforts to fix the original project, and I'm curious how stable Vimium-C is.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Could you help me? |
@doingnothing This is my compiled version of this PR. If you want to use Vimium from source code, then you need to "compile" Vimium, and you need to install Node.js, CoffeeScript, and run |
I just found your extension on Chrome Web Store. |
@gdh1995 |
only a few features like across-frame hints, filtered hints, and search word completion are no in Vimium C. So, if you don't use them, you may replace vimium with vimium c.
I'll continue to develop and maintain vimium c for at least 2 more years, and if no accidents, for a decade ^_^.
…---Original---
From: "Elon Gliksberg"<[email protected]>
Date: Sat, May 11, 2019 01:24 AM
To: "philc/vimium"<[email protected]>;
Cc: "Mention"<[email protected]>;"Dahan Gong"<[email protected]>;
Subject: Re: [philc/vimium] fix broken copy, paste and showFindMode since Chrome 74 (#3277)
@gdh1995
Should I replace my Vimium with your Vimium C?
Would you keep maintaining it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
So why did you ask this when there has always been one and is mentioned in this thread (and many other places in this issue tracker)...
Don't get me wrong, I fully appreciate all developers who has been participated in this project for their honorably wasting of their time. I was not complaining about them for anything. It is less than obvious to people who are new to Vimium (moreover, new to this repository pages), but the developing power of Vimium is in fact currently in its lowest, since just before Firefox officially dropped the support of their versatile legacy add-ons, which introduced a whole lot of demand to the simplism Vimium. I filed this focus/copy issue one month before it reached the stable version of Chrome, worrying the only committer would go completely offline anytime soon (the owner has been almost offline for years), but it was still too late. |
Hey folks, bandwidth from the committers is low at the moment, but not zero. Rest assured we'll get this fix into the chrome store release soon. Stephen or I will follow up on this issue in the next 48 hours.
…On Fri, May 10, 2019 at 3:58 PM, innaterebel < ***@***.*** > wrote:
>
>
> So why doesn't someone else fork the project and just basically take
> ownership of it?
>
>
So why did you ask this when there has always been one and is mentioned in
this thread (and many other places in this issue tracker)...
>
>
> Someone who actually cares about Vimium.
>
>
Don't get me wrong, I fully appreciate all developers who has been
participated in this project for their honorably wasting of their time. I
was not complaining about them for anything.
I am not a native speaker, not familiar with the actual impression and
extra nuance a word may imply to the native speaker, some unintentional
strong words may be used. I may sound sarcastic or something, if any, is
not toward the developers.
I just wanted to explain the actually long-standing circumstance as more
and more people could not see it.
It is less than obvious to people who are new to Vimium (moreover, new to
this repository pages), but the developing power of Vimium is in fact
currently in its lowest, since just before Firefox officially dropped the
support of their versatile legacy add-ons, which introduced a whole lot of
demand to the simplism Vimium.
With the departure of the last contributors, and the remain only committer
apparently ran out his time or motivation to do major updates to the
project. In the past couple months the only thing that was gain is the
kind and helpful gdh1995.
I filed this focus/copy issue one month before it reached the stable
version of Chrome, worrying the only committer would go completely offline
anytime soon (the owner has been almost offline for years), but it was
still too late.
It's a pity the developers gone without saying hi, but that's about it,
the nature of open source volunteering, again not blaming any of them. We
don't know any fact about their missing after all. The only thing we can
know though a few clicks in this repository is the stressful demand to the
project. If you cannot see it, this is the story.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#3277 (comment) ) , or mute
the thread (
https://github.com/notifications/unsubscribe-auth/AAACDFWNOFHFACDCK24CAMLPUX4YJANCNFSM4HAUFNYQ
).
|
Ye ye he is back :) |
@gdh1995 great work on this. This problem was tricky and the fix is thoroughly researched and explained. I'll merge and cut a new release. |
This is now on the chrome store as v1.64.6 and should roll out in the next few hours. |
/ is working for find, but n-Next and p-Previous aren't working for me? |
Working now. |
For who are interested in the browser code behind, here's what I find in the source code of Chromium: |
During tests I found that a setTimeout is needed,
although I haven't found why.This can fix #3260, fix #3292, fix #3297, fix #3298, fix #3302, fix #3307, fix #3311, fix #3313 and fix #3315 .