Closed Bug 1403389 Opened 7 years ago Closed 7 years ago

Some devtools splitters use cursors with a single arrow instead of a double arrow

Categories

(DevTools :: Shared Components, enhancement, P5)

enhancement

Tracking

(firefox58 fixed)

RESOLVED FIXED
Firefox 58
Tracking Status
firefox58 --- fixed

People

(Reporter: jdescottes, Assigned: abhinav.koppula, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

STRs
- open devtools
- show split console (press escape or click on split console button)
- move mouse over splitter line between split console and the tool above

Expected result: cursor should have a double arrow going up & down
Actual result: cursor has a simple arrow.

Most horizontal splitters in devtools are using cursor: ns-resize. It should also be used for ".devtools-horizontal-splitter". Same for .devtools-side-splitter which uses "e-resize")

http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/devtools/client/themes/splitters.css#60

Should be good first bug, CSS only, for someone who wants to get started with DevTools contributions :)
Hi Julian,
Can I take this one?
Flags: needinfo?(jdescottes)
Sure Abhinav, thank you!
Assignee: nobody → abhinav.koppula
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)
Hi Julian,
I have created a mozreview-request for this issue.
After my changes, I could see the double arrow splitter near the split-console panel in netmonitor tab and I could also see the double arrow splitter in the storage panel headers.
Comment on attachment 8913118 [details]
Bug 1403389 - Using double arrow splitter instead of single arrow splitter in dev-tools panels.

https://reviewboard.mozilla.org/r/184538/#review189674

Great thanks! We also need to update the following lines:
http://searchfox.org/mozilla-central/rev/f54c1723befe6bcc7229f005217d5c681128fcad/devtools/client/themes/widgets.css#97-98

It's still used in a few tools such as the storage inspector (open storage inspector, resize window to switch to vertical layout -> cursor will only be n-resize)
Attachment #8913118 - Flags: review?(jdescottes)
Comment on attachment 8913118 [details]
Bug 1403389 - Using double arrow splitter instead of single arrow splitter in dev-tools panels.

https://reviewboard.mozilla.org/r/184538/#review189674

Have updated the review-request.
Comment on attachment 8913118 [details]
Bug 1403389 - Using double arrow splitter instead of single arrow splitter in dev-tools panels.

https://reviewboard.mozilla.org/r/184538/#review189792

Thank you for the quick update!
Attachment #8913118 - Flags: review?(jdescottes) → review+
Thank you Abhinav! Let's land this.
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s ceb5948ca96f -d e7da45f5f6a4: rebasing 423137:ceb5948ca96f "Bug 1403389 - Using double arrow splitter instead of single arrow splitter in dev-tools panels. r=jdescottes" (tip)
merging devtools/client/themes/breadcrumbs.css and devtools/client/themes/widgets.css to devtools/client/themes/breadcrumbs.css
merging devtools/client/themes/widgets.css
warning: conflicts while merging devtools/client/themes/breadcrumbs.css! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Hi Julian,
I have rebased against the latest code and have created a moz-review request since this got rejected last time.
Can you push it to TRY once?

Thanks
Abhinav
Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/41dcdc81b51c
Using double arrow splitter instead of single arrow splitter in dev-tools panels. r=jdescottes
Thanks for rebasing Abhinav, this time it managed to reach autoland successfully!
Flags: needinfo?(jdescottes)
https://hg.mozilla.org/mozilla-central/rev/41dcdc81b51c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: