-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
LinkHints gets a wrong view area if page is zoomed on Chrome for macOS #119
Comments
This comment has been minimized.
This comment has been minimized.
just for test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
i just test , may be it is like this situation here |
This comment has been minimized.
This comment has been minimized.
I've applied some aggressive rules to exclude some of useless hints and add some other exact ones. Uh, so maybe that's a regression bug compared with an old version.
I will do some tests in this week. But from today my annual holiday has ended,so the development of Vimium C will slow down.
…---Original---
From: "Ag Ibragimov"<notifications@github.com>
Date: Mon, Feb 3, 2020 07:05 AM
To: "gdh1995/vimium-c"<vimium-c@noreply.github.com>;
Cc: "Subscribed"<subscribed@noreply.github.com>;
Subject: Re: [gdh1995/vimium-c] Missing links (#119)
Okay, so I tried pressing f then scroll a bit, then F2 - some links get recognized, but again - not all. The workaround suggested in the linked issue unfortunatley is not a solution.
This bug pretty much makes this extension unusable outside of Firefox. I see that the reason how this feature is implemented differently from Vimium (classic) is for performance reasons. Maybe there's a flag that can be tweaked? I'd rather have all visible links on the page to be hinted, even if it slightly makes it slow.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This comment has been minimized.
This comment has been minimized.
Hello, I didn't see the snapshot when I replied through email. According to these snapshot, it should be because Vimium C gets a wrong "visual viewport" (visible area). So what's your screen DPI, browser and its version code, opearting system and its version ? Thanks for this report. |
This comment has been minimized.
This comment has been minimized.
What's the result of |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Is the size of your Chrome window maximized? On my computer, So could you provide info of |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Have you zoomed-out on github.com by Command+-? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vimium_c-1.80.1-dist-no-visualviewport.zip What about this version? I removed |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
What it will be if zoom-out and make |
This comment has been minimized.
This comment has been minimized.
I'm even trying to zoom on my external monitor so its devicePixelRatio goes above 3 and it still hints all visible links. |
Have you tested a case when your external monitor was disconnected? |
Yes, I can reproduce the bug on Macbook's display with good consistency (with or without external display connected). Alas, I'm failing to repro it on any other display. I will try this tomorrow at work (I have some shitty old monitors there) |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Oops, then this issue is because of one of my tricks to support the
I'll fix it in days. Thanks for your patience and tests. BTW, this feature is since Chrome 61 on Windows: vimium-c/types/compatibility.d.ts Lines 303 to 304 in cd78cea
|
Ah, okay. Yeah, feel free to ping me anytime if you want me to run another test. It would suck if OSX users with Chromium browsers decide not to use the extension because of this bug. Thank you for your help. |
Um, I want to know what's
|
As far as I've got, the wrong result occurs when:
Are these right? If they're, then there seems no good way to detect such a bug, and maybe a new option is necessary to manually work it around (let you tell Vimium C what's the basic DPI). |
I'm not following you, with "open in low resolution" I can no longer reproduce the bug. Only when the checkbox is "off" I can reproduce it, and only on the Macbooks internal display. Maybe it's really not worth wasting time trying to fix it? |
so, the zoom is not equal with DPI when the 'open in low resolution' unchecked? when you checked it, are the two values keeping the same?
I've found a Chrome's runtime flag of "--enable-use-zoom-for-dsf" and it causes the same buggy behavior on Win 10, if just disable it (aka. "enable-use-zoom-for-dsf=false").
So, I have decided to fix it, by adding an extra step before linkhints really executes. Vimium C can access the real zoom radio using an extension API, but I once think it takes more time so haven't adopted it.
…---Original---
From: "Ag Ibragimov"<notifications@github.com>
Date: Wed, Feb 5, 2020 03:21 AM
To: "gdh1995/vimium-c"<vimium-c@noreply.github.com>;
Cc: "Comment"<comment@noreply.github.com>;"Dahan Gong"<gdh1995@qq.com>;
Subject: Re: [gdh1995/vimium-c] Hinting fails with zoom levels above certain threshold (#119)
I'm not following you, with "open in low resolution" I can no longer reproduce the bug. Only when the checkbox is "off" I can reproduce it, and only on the Macbooks internal display. Maybe it's really not worth wasting time trying to fix it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
now accept a zoom only if it's from the DOM attribute of "style". See #119 (comment) .
So please try this - I've marked most |
there're at least 3 kinds of docEl's zoom, even when it's not set: * `pageZoom * screen DPI`, on Chrome for Windows * `pageZoom` only, while renderer follows screen DPI, on Chrome for macOS * `pageZoom` only, and render does not follow screen DPI * if `--enable-use-zoom-for-dsf=false` or "Open in Low Resolution" on macOS
OK. The v1.80.2 is being published to Chrome Web Store (waiting for verifying). However it can not support zoom changes - only the first page-zoom value will be recognized, because of a typo. This will be fixed in a next version of Vimium C. |
v1.80.3 has been published, and it supports: 1. show Link Hints and hide; 2. change page zoom level; 3. show LinkHint again. |
It's missing urls sometimes.
Here's for example of a GitHub page, when
f
pressed, you can clearly see that all wiki links are ignored.Just in case I checked if the same thing is also broken in Vimium and it is not. Vimium still recognized all links on the page
upd: Apparently when content zoomed-in to the point when
devicePixelRatio
exceeds2
, link hinting breaks.upd 2: This turned out to be specific to OS X and the way how it handles scaling. I failed to reproduce the issue on any other display, it only appears on the Macbook's internal retina display with scaled resolution.
The text was updated successfully, but these errors were encountered: