Conversation textbox always almost not visible because too small
Categories
(Thunderbird :: Instant Messaging, defect)
Tracking
(thunderbird69 fixed, thunderbird70 fixed)
People
(Reporter: Paenglab, Assigned: aleca)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
5.62 KB,
image/png
|
Details | |
1.44 KB,
patch
|
aleca
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
I can't say since when this happens because chat made TB crash before. But since it works again (20190706) the conversation textbox, there you enter the text for the chats, has almost no height. Only through the paddings in the textbox is the box visible.
Make it taller with the mouse works and it stays until restart.
Reporter | ||
Comment 1•5 years ago
|
||
I checked in Inspector and see that the "conv-bottom" has "NaN" as values for the minheight and height. Like this that can't work. The last change at this position was in bug 1554633.
Reporter | ||
Comment 2•5 years ago
|
||
What's shown in Inspector.
Assignee | ||
Comment 3•5 years ago
|
||
I noticed this issue yesterday for the first time.
I know it was working before as I did the de-xbl and used the chat almost everyday (before the crash) to tackle the various OTR bugs.
I'll take a look at this regression and see why those attributes are not properly set.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
The issue is related to the fact that we fetch the line-height
of the textarea element to calculate a default height value.
Probably something changed recently as the value returned is the string "normal"
which it can't be converted to an integer.
Setting a default value to 1 and implementing a condition should temporarily take care of this.
I'll file a dedicate bug against FF to see if we can find which patch cause this regression, and if it might affect something else wince we're moving away from textbox
in favour of html:
fields.
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
No need to file a bug, it was an intentional change: bug 1536871.
Reporter | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Setting lineHeight
to 20 to maintain the height we always had, and removing the condition since with the new themes in 68 modifying the default textarea line-height attributes it's not possible.
Assignee | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Sorry for the bustage here :(
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #8)
Sorry for the bustage here :(
No worries, I do that all the time :D
Comment 10•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/ad5905771f43
Fix height of conversation textbox to make it visible again. r=Paenglab
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Grrrr, this affects 69 and the developer/reviewer didn't request uplift :-( - Now we apparently have a beta where chat doesn't work. Hard to believe that slipped through testing.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 17•5 years ago
|
||
TB 69 beta 2:
https://hg.mozilla.org/releases/comm-beta/rev/efa306ce07b572592f8891e894da0726cfebb345
Description
•