In today pane, on daily build , the text is outside the screen instead of being adapted
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
People
(Reporter: foss, Assigned: pmorris)
References
Details
(Keywords: regression)
Attachments
(5 files, 1 obsolete file)
382.86 KB,
image/png
|
Details | |
104.53 KB,
image/png
|
Details | |
76.95 KB,
image/png
|
Details | |
30.05 KB,
image/png
|
Details | |
1.11 KB,
patch
|
pmorris
:
review+
Fallen
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Display the today pane
- Create a event with a big title like this "I do a test for Thunderbird daily, the text goes out of the screen wheread adapated to the today pane before"
Actual results:
A part of the event title is outside of the screen.
I've attach a screenshot of the result.
Expected results:
It should be adapted to the screen space.
Note: As I remember it works in last stable release (60)
Comment 1•5 years ago
|
||
Checking now,
The issue isn't reproducible on my computer in 68.0 beta1 or beta2. Are you using a custom font or theme? It could be something other than TB causing the pain to not display the title properly.
Comment 2•5 years ago
|
||
I think, it's because in French the label "Prochainement (4 se..." is wider than the visible area. When the splitte would be moved to the left until on the bottom the scrollbar vanishes, then all would be good.
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Benjamin Flanagin from comment #1)
Checking now,
The issue isn't reproducible on my computer in 68.0 beta1 or beta2. Are you
using a custom font or theme? It could be something other than TB causing
the pain to not display the title properly.
Indeed, I've changed the font on my system but on TB 60 with the same steps it works. I've attach a screenshot with TB 60.
Reporter | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
This could be a regression from the de-XBL work. But I can't say from which.
Comment 6•5 years ago
|
||
I'd guess from bug 1534382?
Some css adjustments needed.
Assignee | ||
Comment 7•5 years ago
|
||
I tried to reproduce this, but it is working for me on a current trunk build. This is on Ubuntu/GNU/Linux.
Comment 8•5 years ago
|
||
Try it with making the "Upcoming" label longer than the minimum today pane width. Then you see that it gets a scrollbar on the bottom of this list.
Updated•5 years ago
|
Reporter | ||
Comment 9•5 years ago
|
||
FYI, I reproduce the same issue on Thunderbird 68.0b2.
Best regards,
Alex.
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Thanks Richard. Yep, I can reproduce it that way now. Working on a fix now.
Assignee | ||
Comment 11•5 years ago
|
||
This patch appears to fix the problem with a couple of CSS changes (at least here on linux).
Try server run for good measure, although I wouldn't expect this to affect any tests:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=9d376bea239140e8a32264ddb2a274d9e77d51f9
Assignee | ||
Comment 12•5 years ago
|
||
Screenshot with it working.
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Comment on attachment 9075403 [details] [diff] [review] today-pane-text-wrap-0.patch Review of attachment 9075403 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, this works. r=me with the comment considered. ::: calendar/base/themes/common/today-pane.css @@ +43,5 @@ > color: inherit; > } > > +.today-pane-panel-vbox { > + width: inherit; Is this needed? Is the flex="1" not enough?
Assignee | ||
Comment 14•5 years ago
•
|
||
Thanks for the review.
(In reply to Richard Marti (:Paenglab) from comment #13)
.today-pane-panel-vbox {
width: inherit;Is this needed? Is the flex="1" not enough?
Huh, I just double checked and apparently it is not needed, so I've taken this part out. (Somehow in the process of working on it, it appeared to be needed before...)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 15•5 years ago
|
||
jorgk: This should land on beta and trunk. This patch applies cleanly on the beta repo, so I haven't made a separate beta patch.
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/81b346228baa
Fix text wrapping in today pane. r=Paenglab
Updated•5 years ago
|
Comment 17•5 years ago
|
||
TB 68 beta 4 / Cal 7.0:
https://hg.mozilla.org/releases/comm-beta/rev/f5041f68a6e9129908e24160dd0d42e0e3b4a413
Updated•5 years ago
|
Description
•