Closed Bug 1584977 Opened 5 years ago Closed 5 years ago

Netmonitor blocking - filter ellipsis are not contained in the selection

Categories

(DevTools :: Netmonitor, defect, P3)

71 Branch
defect

Tracking

(firefox70 unaffected, firefox71 fix-optional)

RESOLVED INVALID
Tracking Status
firefox70 --- unaffected
firefox71 --- fix-optional

People

(Reporter: cfogel, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Affected versions

  • 71.0a1 (2019-09-29)

Affected platforms

  • all available;

Steps to reproduce

  1. Launch Firefox; (if not already)Set devtools.netmonitor.features.requestBlocking to true;
  2. Block any request;
  3. Select the text for any of the created filters;
  4. If needed shrink the width of the section so that ellipsis are displayed for the filter/path;

Expected result

  • text is selected fully;

Actual result

  • ellipsis are not selected;

Regression range
not a regression, only visible after implementation of bug 1580728;

Additional notes

  • attached screenshot with the issue;

Thanks for the report, I can reproduce it on my machine.
Honza

Priority: -- → P3

The ellipsis character added dynamically with CSS text-overflow: ellipsis are excluded from text selections.
Some related behavior:

  • If you select the whole line (with a triple-click on the text for instance), it selects the clipped (invisible) text too.
  • If you make the sidebar wide so that the text is not clipped, select it, then make the sidebar smaller until some of the text is clipped: the text selection remains the same (Ctrl+C or Command+C would copy the same string).

While that can be surprising sometimes, IMO it's useful behavior so I would keep it as is.

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

The ellipsis has no value to be copied -- it's simply a visual marker that the entire URL isn't visible.

I can see adding a context menu to copy the pattern but outside of that I'd call this invalid.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: