Closed Bug 1611657 Opened 6 years ago Closed 6 years ago

bar icon in adress bar not considered as "word"/doesn't get marked with double-click

Categories

(Core :: DOM: Selection, defect)

73 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox73 --- wontfix
firefox74 --- wontfix

People

(Reporter: e412byoy7, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

Steps to reproduce:

Have a URL in the adress bar with for example this part "g-zV".
Now move mouse cursor between the "z" and the "V" and double-click left mousebutton.

Actual results:

only "zB" part gets marked/highlighted.

Expected results:

the entire part "g-zV" should be marked/highlighted.

Component: Untriaged → Address Bar

*only "zV" part gets marked/highlighted. (wrote "zB" accidentally.)

There's no reason this would be specific to the address bar. I'm guessing this happens for you in other parts of Firefox, right? So I'll move this to Core.

Component: Address Bar → DOM: Selection
Product: Firefox → Core

As Selection, the reported issue is by design. If it should be treated specially only in the address bar, "Address Bar" component is the right one (although, it might be marked as WONTFIX or INVALID). Dan, what's your point?

Flags: needinfo?(danielboontje)

Yes, would be great if this can be fixed in core. Why would this "bug" be by design?

Flags: needinfo?(danielboontje)

I don't think that we should change double-click selection behavior as reported because it's not usual behavior on any desktop environment as far as I know. Non-usual behavior of this kind of major operation may make a lot of users confused unless it's obviously better behavior and does not cause any regressions. In this case, I guess there are a lot of edge cases which we've learned at improving the line breaker. In other words, it might be better if the context is obvious like in address bar. So, at least, we shouldn't change our double click behavior in core.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

So we move this to "address bar" again?

Well, we're not going to change the behavior just for the address bar. This is just a wontfix, sorry.

You need to log in before you can comment on or make changes to this bug.