Closed Bug 1636775 Opened 5 years ago Closed 5 years ago

Fix feed folder/item icon regression

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 78.0

People

(Reporter: alta88, Assigned: alta88)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files, 8 obsolete files)

There were 3 icons for feeds for a reason, to differentiate an account/server from a folder with subscriptions from a subscription item url.
To elaborate: most/many folderpane feed account folders display the feed url's favicon but not all; this is even more evident in subscribe dialog where all 3 types are shown and an opened folder displays the folder icon in order to show the user multiple feed items can be subscribed.

Attached patch feedIcons.patch (obsolete) — Splinter Review
Assignee: nobody → alta88
Attachment #9147108 - Flags: review?(richard.marti)
Regressed by: 1532378
Comment on attachment 9147108 [details] [diff] [review] feedIcons.patch The changes makes sense but this patch doesn't apply because of bug 1635370. Please update to tip.
Attachment #9147108 - Flags: review?(richard.marti)
Comment on attachment 9147108 [details] [diff] [review] feedIcons.patch Review of attachment 9147108 [details] [diff] [review]: ----------------------------------------------------------------- ::: mail/themes/shared/mail/folderPane.css @@ +123,4 @@ > .tabmail-tab[type="folder"][IsFeedFolder="true"], > treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true) { > + list-style-image: url("chrome://messenger/skin/icons/feeds.svg"); > + fill: currentColor; This fill shouldn't be needed.
Attached patch feedIcons.patch (obsolete) — Splinter Review

updated for comments.

Attachment #9147108 - Attachment is obsolete: true
Attachment #9147111 - Flags: review?(richard.marti)
Attached patch feedIcons.patch (obsolete) — Splinter Review

updated for account central.

Attachment #9147111 - Attachment is obsolete: true
Attachment #9147111 - Flags: review?(richard.marti)
Attachment #9147112 - Flags: review?(richard.marti)

Paenglab, I think it would be nicer if there were a feed-folder icon similar to search-folder, for just tree folders. Could you make one?

Attached image feed-folder.svg

Like this?

Attached patch feedFolder.patch (obsolete) — Splinter Review

Exactly! Thanks. This patch goes on top of the previous patch.

Attachment #9147115 - Flags: review?(richard.marti)
Comment on attachment 9147112 [details] [diff] [review] feedIcons.patch Thanks.
Attachment #9147112 - Flags: review?(richard.marti) → review+
Attachment #9147115 - Flags: review?(richard.marti) → review+
Attached patch feedMessageTab.patch (obsolete) — Splinter Review

Finally, update feed message in tabs icon. (It would be nice if it were orange, but it seems the tab standard is currentColor).

Attachment #9147124 - Flags: review?(richard.marti)
Attached patch feedMessageTab.patch (obsolete) — Splinter Review

In retrospect, the tab should match the feed folder, otherwise it would be inconsistent with the others.

Attachment #9147124 - Attachment is obsolete: true
Attachment #9147124 - Flags: review?(richard.marti)
Attachment #9147125 - Flags: review?(richard.marti)
Comment on attachment 9147125 [details] [diff] [review] feedMessageTab.patch I had this feedMessage tabs in a other patch. But like this all belongs together. Please update all patch commit messages wit `r=Paenglab`.
Attachment #9147125 - Flags: review?(richard.marti) → review+
Attached patch feedIcons.patchSplinter Review
Attachment #9147112 - Attachment is obsolete: true
Attachment #9147126 - Flags: review+
Attached patch feedFolder.patch (obsolete) — Splinter Review
Attachment #9147115 - Attachment is obsolete: true
Attachment #9147127 - Flags: review+
Attachment #9147127 - Attachment is obsolete: true
Attachment #9147128 - Flags: review+
Attached patch feedFolder.patchSplinter Review
Attachment #9147125 - Attachment is obsolete: true
Attachment #9147129 - Flags: review+

if it matters, landing order should be feedIcons.patch, feedFolder.patch, feedMessageTab.patch.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7ff3e6dcd86f
Fix feed folder/item icon regression, r=Paenglab
https://hg.mozilla.org/comm-central/rev/fa260ff0b744
Add a feed folder icon for trees, r=Paenglab
https://hg.mozilla.org/comm-central/rev/f82b65b87ebe
Update feed message tab icon, r=Paenglab

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 78.0
Attached patch feedcss2.patch (obsolete) — Splinter Review

Followup:

  1. height: auto is wrong, this makes no space for icons to be resolved, and shift the text when they are, plus forces layout to calculate which is way wrong in nsITree; too clever by half going on here :/
  2. use feed folder icon in foldermenus for folders with subscriptions
  3. due to de grid and de textbox, some css in subscribe isn't necessary. almost all of it can be shared (please check mac).
Attachment #9148236 - Flags: review?(richard.marti)
Keywords: regression
Version: unspecified → 77
Comment on attachment 9148236 [details] [diff] [review] feedcss2.patch Review of attachment 9148236 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! r+ with the comments addressed. Please update the commit message to be correct with bug number and commit text. ::: mail/themes/osx/mail/newsblog/feed-subscriptions.css @@ +11,1 @@ > padding: 14px; Change this to 4px and remove the #contentPane rule below and we have together with the shared #contentPane margin the 14px spacing back. ::: mail/themes/shared/mail/feedSubscribe.css @@ +4,5 @@ > + > +#subscriptionsDialog { > + width: 40em; > + height: 30em; > + padding: 0; This padding isn't needed anymore. The dialog is now a <window> which has no padding set. Please remove it.
Attachment #9148236 - Flags: review?(richard.marti) → review+
Attached patch feedcss2.patchSplinter Review

updated for comments.

By the way, there is yet another regression in that a feed url now cannot be updated. I'm not going to spend time on it.

Attachment #9148236 - Attachment is obsolete: true
Attachment #9148365 - Flags: review+
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8570a1102c50
Fix foldermenu icon, tree-image sizing, shared/updated subscribe dialog css. r=Paenglab

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: