Thread pane no longer styled with different background while search is in progress (TB 68)
Categories
(Thunderbird :: General, defect)
Tracking
(thunderbird68+ fixed, thunderbird69 fixed)
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
3.85 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
Body searches on large folders can take a while. Therefore the thread pane's background was changed while the search was ongoing.
This is no longer the case in TB 68 beta.
Did that get lost with the dark theme work?
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Isn't that this "isBusy" thing? That should still work:
https://searchfox.org/comm-central/search?q=isBusy&case=false®exp=false&path=*.css
Assignee | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
•
|
||
Well, I'm a bit surprised that long-standing functionality was removed and that Windows changes where reviewed by someone who's not on Windows :-(
Reading bug 1508159, there's a talk of a "nothing found" display instead of the striped background, but I don't see that either.
In short, can we make this work again, or do I have to add something to my userChrome now?
Reporter | ||
Comment 4•5 years ago
•
|
||
Looks like this still works in userChrome.css:
#threadTree[filterActive="searching"] {
background: linear-gradient(#ffffcc, #ffffcc);
/* background-color: #ffffcc; */
}
#threadTree[filterActive="matches"] {
background: linear-gradient(#f2f9fc, #f2f9fc);
/* background-color: #f2f9fc; */
}
#threadTree[filterActive="nomatches"] {
background: repeating-linear-gradient(-45deg, #fff0f4,
#fff0f4 5px, white 5px, white 10px);
}
The background-color doesn't appear to work, but the background does. Also, it's a little sad that the backend still sets those properties/attributes and we don't use them any more as we used to:
https://searchfox.org/comm-central/search?q=filterActive&case=false®exp=false&path=
Assignee | ||
Comment 5•5 years ago
|
||
The icon is no more shown because of the tree de-XBL. This doesn't work https://searchfox.org/comm-central/rev/630f951ef8efd45af34ef07382851a4ab3184d6c/mail/base/content/quickFilterBar.css#71 because the tree-stack is now in shadow-DOM.
I'll look at it this evening.
Reporter | ||
Comment 6•5 years ago
|
||
Discussed with Magnus: If we make the "nothing found" work again, we could also have a "search in progress".
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #6)
Discussed with Magnus: If we make the "nothing found" work again, we could also have a "search in progress".
But not for beta because of the string freeze.
Reporter | ||
Comment 8•5 years ago
|
||
I think we'll have a "late string freeze" this time. BTW, can't that you be an animated arrow? No strings?
Assignee | ||
Comment 9•5 years ago
|
||
This fixes the "Not found" display after the tree de-XBL which moved the tree-stack into the shadow-DOM.
I also added a spinner when it is searching.
Reporter | ||
Comment 10•5 years ago
|
||
Comment on attachment 9072864 [details] [diff] [review] 1559984-QFB-search-fix.patch Yes, this works, I liked the colours better. Where did you get the "spinner" from? I was searching some larger news groups and it's not all that pleasant. It looks like it's rotating clock-wise, and then stalls and rotates the other way around. That's of course just an effect that the eye and the brain make up. Something smoother would be better. Maybe we do a follow-up, but right now, it's the only patch I have.
Comment 11•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/d2122e452112
Fix the QFB "not found" display and add a search spinner. r=jorgk
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #10)
Comment on attachment 9072864 [details] [diff] [review]
1559984-QFB-search-fix.patchYes, this works, I liked the colours better. Where did you get the "spinner"
from? I was searching some larger news groups and it's not all that
pleasant. It looks like it's rotating clock-wise, and then stalls and
rotates the other way around. That's of course just an effect that the eye
and the brain make up. Something smoother would be better. Maybe we do a
follow-up, but right now, it's the only patch I have.
I made it myself. I haven't so big folders that I see the spinner. You could try to increase the dur="2s"
to 3s or 4s in the SVG to see if this helps when it turns slower.
Comment 13•5 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/320e458f6629 Follow-up: Increase spinner duration to 6s to minimise visual artefacts. r=me DONTBUILD
Reporter | ||
Comment 14•5 years ago
|
||
The problem is that the rotation isn't smooth but jerky. So it can jerk into a forward position that visually looks as if it rotated backwards (like some M$ progress bars). I tried up to 8s and found that 6s was best. All polish.
As I said, very easy to see doing a body search on a large news folder. Once on beta, I'll see it in my 129.000+ messages bugmail folder.
Reporter | ||
Comment 15•5 years ago
|
||
TB 68 beta 2:
https://hg.mozilla.org/releases/comm-beta/rev/3910676454e7428f44784c10f030fedfd74e52b1 (merged the two changesets)
Reporter | ||
Comment 16•5 years ago
|
||
Works OK on the beta, but how can I get my userChrome.css to work again?
#threadTree[filterActive="searching"] {
background: linear-gradient(#ffc, #ffc);
}
#threadTree[filterActive="nomatches"] {
background: repeating-linear-gradient(-45deg, #fff0f4,
#fff0f4 5px, white 5px, white 10px);
}
Add ! important
? I wouldn't mind combining the two.
Assignee | ||
Comment 17•5 years ago
|
||
Yes, but then the images are no more here. The first rule could be changed to background-color: #ffc !important;
The second would be more complicated because two background-images are used.
Reporter | ||
Comment 18•5 years ago
•
|
||
I still think it's sad that the
#threadTree[filterActive="matches"] {
background: linear-gradient(#f2f9fc, #f2f9fc);
/* background-color: #f2f9fc; */
}
was removed. This helps to realise that only a subset of the messages in the folder is showm. People who do many things at once (context switching) tend to forget that they were doing a search and wonder why messages are missing.
Any idea to improve that?
Assignee | ||
Comment 19•5 years ago
|
||
Unfortunately not. But in the QFBar is also a display with how many messages are found. Isn't this enough?
Reporter | ||
Comment 20•5 years ago
|
||
Well, I had the idea to display a tick (checkmark, "Häckchen") in the background. That's the opposite of "nothing found".
Assignee | ||
Comment 21•5 years ago
|
||
I think this would be too much. When no message is shown it's good to show why, either because it is still searching or no message is found. But when something is found you don't need an additional feedback in form of a checkmark behind the messages.
Description
•