Closed Bug 1878698 Opened 1 year ago Closed 1 year ago

Text selection is hidden by line highlighting

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox122 unaffected, firefox123 wontfix, firefox124 fixed, firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox122 --- unaffected
firefox123 --- wontfix
firefox124 --- fixed
firefox125 --- fixed

People

(Reporter: nchevobbe, Assigned: ochameau)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce

  1. Open the debugger and open a file
  2. Try to select text on a single line

Expected results

I can see that the text is selected

Actual results

The line gets highlighted, and I can't see the text selection until the highlight is gone


In 122, clicking on a line doesn't cause it to be highlighted, we should probably revert to this behavior

Set release status flags based on info from the regressing bug 1834727

:ochameau, since you are the author of the regressor, bug 1834727, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(poirot.alex)

We have to avoid trigerring the select location action as it will force the highlighting
of the current line and dismiss/hide the user selected range.

Alexandre, could you put a severity obn this? Are you planning an uplift to 123? Thanks

Last beta is tomorrow, wontfix 123.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Depends on: 1880428
Attachment #9378404 - Attachment description: Bug 1878698 - [devtools] Avoid updating the selection location on any user selection. → Bug 1878698 - [devtools] Avoid highlighting the location on cursor changes.

Set release status flags based on info from the regressing bug 1834727

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e60ae336758 [devtools] Avoid highlighting the location on cursor changes. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Flags: needinfo?(poirot.alex)

The patch landed in nightly and beta is affected.
:ochameau, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox124 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(poirot.alex)

Comment on attachment 9378404 [details]
Bug 1878698 - [devtools] Avoid highlighting the location on cursor changes.

Beta/Release Uplift Approval Request

  • User impact if declined: When selecting any line of code in the debugger, the line would be highlighted and may confuse the user.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce: Click any line via the mouse in a JS file in the debugger.
    The cursor location is updated in the footer, but the line is not highlighted with a yellow background.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(poirot.alex)
Attachment #9378404 - Flags: approval-mozilla-beta?

Comment on attachment 9378404 [details]
Bug 1878698 - [devtools] Avoid highlighting the location on cursor changes.

Approved for 124.0b4

Attachment #9378404 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: