Closed
Bug 1453322
Opened 6 years ago
Closed 6 years ago
Restore spinbuttons for number fields after their removal in bug 1453233 following them getting broken by bug 1437302.
Categories
(Thunderbird :: Theme, enhancement)
Thunderbird
Theme
Tracking
(thunderbird60 fixed, thunderbird61 fixed)
RESOLVED
FIXED
Thunderbird 61.0
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
References
Details
Attachments
(2 files, 4 obsolete files)
29.03 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
37.24 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1453233 +++ We removed the spinbuttons from number fields (proxy port numbers, cache size, various wait intervals) in bug 1453233 because since bug 1437302 they don't work any more. History: Removed from M-C in bug 1429573 on 10th Feb and restored in TB in March in bug 1446329. Tim any tips on how to get them to work again? The placement is odd, which could be fixed via CSS, and clicking onto the arrows doesn't work any more.
Flags: needinfo?(ntim.bugs)
Reporter | ||
Comment 1•6 years ago
|
||
In the inspector I set hidespinbuttos to false in FF's port settings and there they don't work any more either.
Reporter | ||
Comment 2•6 years ago
|
||
From IRC: 17:23:28 - ntim: jorgk: yeah, I switched[1] to using the builtin spin buttons used by input[type=number] 17:24:29 - ntim: jorgk: I must be guessing it's a bug with the interaction between XUL flexbox and the input type=number layout code 17:32:14 - ntim: jorgk: I think your best bet might be restoring the old binding in comm-central for now 17:32:57 - ntim: jorgk: since we no longer use the spinbuttons feature on the Firefox side [1] So I think the "switching" refers to https://hg.mozilla.org/mozilla-central/rev/81891dee83da Richard, do you know how to "restore the old binding"?
Assignee | ||
Comment 3•6 years ago
|
||
This patch restores the spinbuttons. I let them hidden on port fields. I tried the patch on all platforms and it looks like before. Jörg, please check if I catched every field.
Reporter | ||
Comment 4•6 years ago
|
||
Let's put them back on the ports as well for consistency. You can argue that if you use a (private) proxy, you might just go to the adjacent port.
Flags: needinfo?(ntim.bugs)
Assignee | ||
Comment 5•6 years ago
|
||
Then you can use the keyboard up/down arrows.
Reporter | ||
Comment 6•6 years ago
|
||
FYI, https://hg.mozilla.org/comm-central/rev/4d405d2392d2 added hidespinbuttons="true" 22 times, so I guess you'll have to take it out 22 times again :-(
Reporter | ||
Comment 7•6 years ago
|
||
But what's the point to have some numbers with the spinbuttons and others without? You can *always* use the arrows, so why are we fixing this bug?
Assignee | ||
Comment 8•6 years ago
|
||
There are 65000 ports and when you want go through all of them with the spinbuttons it lasts a bit long. For the minutes and second fields it's okay as there are not so much different numbers. Then we are looking also consistent with the FX proxy dialog.
Reporter | ||
Comment 9•6 years ago
|
||
I think it is better to split this in two parts. Part 1: Backout of bug 1453233.
Attachment #8967843 -
Attachment is obsolete: true
Attachment #8967843 -
Flags: review?(jorgk)
Attachment #8967860 -
Flags: review+
Reporter | ||
Comment 10•6 years ago
|
||
Then, in a part 2, we do the "new" stuff. If you do it this way, you will notice that you forgot to revert a hunk in imAccountOptionsHelper.js. I didn't carry the hidespinbuttons="true" here, so it you want them, please add them here.
Reporter | ||
Comment 11•6 years ago
|
||
Wrong patch, sorry, here the one rebased on top of the backout.
Attachment #8967861 -
Attachment is obsolete: true
Assignee | ||
Comment 12•6 years ago
|
||
(In reply to Jorg K (GMT+1) from comment #10) > If you do it this way, you will notice that you forgot to revert a hunk in > imAccountOptionsHelper.js. It wasn't forgotten. This is also a port field.
Reporter | ||
Comment 13•6 years ago
|
||
That will also make the beta uplift easier, since I haven't uplifted bug 1453233.
Reporter | ||
Comment 14•6 years ago
|
||
In fact, we should move the removal of the spinbuttons to part 3.
Reporter | ||
Comment 15•6 years ago
|
||
Comment on attachment 8967862 [details] [diff] [review] numberbox-RM.patch I checked with both patches applied and the number fields look good, apart from the port number on the SMTP edit panel. Maybe I messed that up, although I folded the two patches together and got mostly your patch apart from the spinbutton removal from the ports.
Reporter | ||
Comment 16•6 years ago
|
||
Sorry, that's a port number, so without special tricks the spinbuttons won't work. And there are no special tricks, since you wanted to remove the spinbuttons there in the first place. So part 3 will take care of that.
Assignee | ||
Comment 17•6 years ago
|
||
Port field in SMTP Edit fixed.
Attachment #8967862 -
Attachment is obsolete: true
Attachment #8967872 -
Flags: review?(jorgk)
Assignee | ||
Comment 18•6 years ago
|
||
Remove the spinbuttons on port fields.
Attachment #8967875 -
Flags: review?(jorgk)
Reporter | ||
Comment 19•6 years ago
|
||
Comment on attachment 8967872 [details] [diff] [review] 1453322-part-2-numberbox.patch Yes, that works.
Attachment #8967872 -
Flags: review?(jorgk) → review+
Reporter | ||
Comment 20•6 years ago
|
||
Comment on attachment 8967875 [details] [diff] [review] 1453322-part-3-hidebuttons.patch I'm not a friend of this, so I would not land this. If you really want to remove port numbers, you need to do it everywhere: There are NNTP ports, IMAP ports and POP ports. If it's really important to be in sync with FF here, perhaps only remove the proxy ports, although they are most likely the more useful ones.
Attachment #8967875 -
Flags: review?(jorgk)
Reporter | ||
Updated•6 years ago
|
Keywords: leave-open
Comment 21•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/6dc1e432a9cf Part 1: revert bug 1453233. r=jorgk https://hg.mozilla.org/comm-central/rev/af3e3f9e3db1 Part 2: Add numberbox and textbox bindings to restore spinbuttons for number fields. r=jorgk
Reporter | ||
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 61.0
Assignee | ||
Comment 22•6 years ago
|
||
We are enough out of sync to FX to not need to remove the spinbuttons for port fields.
Assignee | ||
Updated•6 years ago
|
Attachment #8967872 -
Flags: approval-comm-beta?
Reporter | ||
Comment 23•6 years ago
|
||
Comment on attachment 8967872 [details] [diff] [review] 1453322-part-2-numberbox.patch I hope it applies.
Attachment #8967872 -
Flags: approval-comm-beta? → approval-comm-beta+
Reporter | ||
Updated•6 years ago
|
Attachment #8967875 -
Attachment is obsolete: true
Reporter | ||
Comment 24•6 years ago
|
||
Beta (TB 60 beta 4): https://hg.mozilla.org/releases/comm-beta/rev/f51daa333cb3713bfdccb6e7be5c020b05208f15
status-thunderbird60:
--- → fixed
status-thunderbird61:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•