nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

Add `iframe` support for `hint-mode`

Open Ambrevar opened this issue 3 years ago • 13 comments

Hinting on the duckduckgo iframe at https://nyxt.atlas.engineer/start does not work.

Ambrevar avatar Jun 18 '21 13:06 Ambrevar

@aartaka You merged some work on iframes recently, any chance it fixes this?

Ambrevar avatar Dec 08 '21 12:12 Ambrevar

@aartaka You merged some work on iframes recently, any chance it fixes this?

No, the iframe work I've done was purely request-related. For this issue, the fix should be something close to the #1828 fix (which I started but haven't yet finished implementing).

aartaka avatar Dec 08 '21 12:12 aartaka

Label as dom?

Ambrevar avatar Jan 17 '22 17:01 Ambrevar

I don't think this is important to solve by 3.0.

aadcg avatar Nov 17 '22 09:11 aadcg

Agreed.

Ambrevar avatar Nov 17 '22 09:11 Ambrevar

It is inoortant! As important as #1828! We need our keyboard interfaces to work as good as mouse for Nyxt to be good enough of keyboard-driven browser. For that, we should make hints work in iframes and Shadow DOM, because more and more websites use the latter, while lots already rely of the former ヽ(o`皿′o)ノ

aartaka avatar Nov 17 '22 14:11 aartaka

I agree it's important, but I can't commit to it when there are more pressing issues.

aadcg avatar Nov 18 '22 08:11 aadcg

Would it be API-breaking to fix it after the 3.0 release?

Ambrevar avatar Nov 18 '22 10:11 Ambrevar

I would say it is not.

aadcg avatar Nov 18 '22 10:11 aadcg

Closing this as not planned after some analysis of IFrame behaviors.

aartaka avatar May 23 '23 14:05 aartaka

I don't think iframe hinting is impossible for all cases as Saka key seems to be able to support it.

This is not a priority, but maybe we should keep this issue open for future reference. CC @jmercouris.

aadcg avatar Jul 18 '23 14:07 aadcg

Interesting, I wonder how that works...

jmercouris avatar Jul 18 '23 16:07 jmercouris

It would involve studying https://github.com/lusakasa/saka-key/blob/master/src/modes/hints/client/findHints.js#L24.

aadcg avatar Jul 19 '23 09:07 aadcg