Closed
Bug 608714
Opened 15 years ago
Closed 15 years ago
Unable to edit tab group names
Categories
(Firefox Graveyard :: Panorama, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: clokep, Assigned: raymondlee)
References
Details
Attachments
(1 file, 2 obsolete files)
|
2.39 KB,
patch
|
Details | Diff | Splinter Review |
After naming a tab group in Panorama, I'm unable to edit a group name. When clicking anywhere in the name it will highlight the entire name and I must delete it and retype it, even to just fix a simple typo.
Further notes: when typing a group name, I'm unable to move the cursor from the end (arrow keys do not work and clicking with a mouse "sets" the title), to fix any typos I have to delete all the text back to the typo and retype.
| Assignee | ||
Comment 1•15 years ago
|
||
For such a simple fix, what test should we write? Ian: do you think we need a test for this patch?
Assignee: nobody → raymond
Attachment #487526 -
Flags: feedback?(ian)
| Assignee | ||
Updated•15 years ago
|
Attachment #487526 -
Attachment is patch: true
Attachment #487526 -
Attachment mime type: application/octet-stream → text/plain
| Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
Comment 2•15 years ago
|
||
Comment on attachment 487526 [details] [diff] [review]
v1
This fix is good for the arrow keys, but it doesn't help with clicking. Currently, the first time you click the name (to start editing it), it selects the whole thing; this is good. However, once you're editing it and it's all selected like that, if you click a second time it in fact pops you out of editing mode rather than allowing you to put the insertion point where you clicked. I think it should instead put the insertion point there or even allow you to drag a selection (assuming you're already editing the text).
As for a test, I suppose we could skip it. I imagine if we did write a test it would be a bunch of simulated clicks and key strokes in the title area of the group, which seems doable.
Attachment #487526 -
Flags: feedback?(ian) → feedback-
| Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Comment on attachment 487526 [details] [diff] [review]
> v1
>
> This fix is good for the arrow keys, but it doesn't help with clicking.
> Currently, the first time you click the name (to start editing it), it selects
> the whole thing; this is good. However, once you're editing it and it's all
> selected like that, if you click a second time it in fact pops you out of
> editing mode rather than allowing you to put the insertion point where you
> clicked. I think it should instead put the insertion point there or even allow
> you to drag a selection (assuming you're already editing the text).
>
If you click the area second time, it would remain in the edit mode now. I was trying to make it allow you to put the insertion point where you clicked, however, it would require to re-write the whole title bar. At the moment, if you click on that area to enter into the edit mode, you actually click on the title-shield div element, not the input element, and then it manually call focus() on the input element. I would suggest to file another bug to fix the remaining things in the future since there are many higher priority bugs to do.
Attachment #487526 -
Attachment is obsolete: true
Attachment #487872 -
Flags: feedback?(ian)
Comment 4•15 years ago
|
||
Comment on attachment 487872 [details] [diff] [review]
v1
Looks good.
(In reply to comment #3)
> If you click the area second time, it would remain in the edit mode now. I was
> trying to make it allow you to put the insertion point where you clicked,
> however, it would require to re-write the whole title bar. At the moment, if
> you click on that area to enter into the edit mode, you actually click on the
> title-shield div element, not the input element, and then it manually call
> focus() on the input element. I would suggest to file another bug to fix the
> remaining things in the future since there are many higher priority bugs to do.
Fair enough. Filed bug 609409.
Attachment #487872 -
Flags: feedback?(ian) → feedback+
| Assignee | ||
Updated•15 years ago
|
Attachment #487872 -
Flags: review?(dolske)
Updated•15 years ago
|
Attachment #487872 -
Flags: review?(dolske) → review+
| Assignee | ||
Updated•15 years ago
|
Attachment #487872 -
Flags: approval2.0?
Comment 5•15 years ago
|
||
Does it need a try run?
| Assignee | ||
Comment 6•15 years ago
|
||
Sent it to try 00e2acb70818, waiting for the result.
| Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> Sent it to try 00e2acb70818, waiting for the result.
Passed try
Comment 10•15 years ago
|
||
Comment on attachment 487872 [details] [diff] [review]
v1
a=beltzner
Attachment #487872 -
Flags: approval2.0? → approval2.0+
| Assignee | ||
Comment 11•15 years ago
|
||
Attachment #487872 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 12•15 years ago
|
||
This bug was part of a mass backout to fix the permanent leak on OS X 64 that this push caused.
http://hg.mozilla.org/mozilla-central/rev/b014423f755b
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 14•15 years ago
|
||
Sent to try and passed with intermittent orange
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 15•15 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
| Reporter | ||
Comment 16•15 years ago
|
||
Works great, thanks! Now just need to get bug 609409 fixed for this to be very useful.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•