Closed Bug 1765073 Opened 3 years ago Closed 2 years ago

Magnifier position is not ideal for multi line selection

Categories

(GeckoView :: General, defect, P2)

Unspecified
All

Tracking

(firefox99 unaffected, firefox100 unaffected, firefox101 wontfix, firefox102 wontfix, firefox110 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
firefox99 --- unaffected
firefox100 --- unaffected
firefox101 --- wontfix
firefox102 --- wontfix
firefox110 --- fixed

People

(Reporter: emilio, Assigned: m_kato)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:2022h2?])

Attachments

(2 files)

The magnifier seems to be tied to the very top of the selection, which means that it's not easy to keep the selection line visible for something that isn't the last line, and even then it's very easy to go up accidentally, see screenshot.

Would it be sensible to add a little bit of spacing there?

Makoto, is this bug a regression from your fix for magnifier bug 1639087?

Severity: -- → S3
Flags: needinfo?(m_kato)
Priority: -- → P2

(In reply to Chris Peterson [:cpeterson] from comment #2)

Makoto, is this bug a regression from your fix for magnifier bug 1639087?

Hmm, I need something adjustment for magnifier position.... Looking...

Flags: needinfo?(m_kato)
Assignee: nobody → m_kato
Whiteboard: [geckoview:2022h2?]

Actually, current magnifier glass area is decided by current touch position.

To improve magnifier area, if we can get selection bounds, we use it instead of
touch position. And if selection is in <input> element, we can use vertical
center position of the element.

Since we don't expose Magnifier API, so we cannot add test for UI.

Also, this fix makes magnifier fission compatible.

Blocks: gv-fission
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/4ed93c62e8ed Improve magnifier area for <input> element and normal text selection. r=geckoview-reviewers,owlish
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: