Closed Bug 1542631 Opened 5 years ago Closed 5 years ago

Sync folderpane feed account icon with Account Central icon

Categories

(Thunderbird :: Theme, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 68.0

People

(Reporter: alta88, Assigned: alta88)

Details

Attachments

(8 files, 5 obsolete files)

This has bothered me for a long long time.

paenglab, I also think the former feed 'news' like icon should be used for newsgroups, which look way too much like chat.

Attached patch feedIcon.patch (obsolete) — Splinter Review
Assignee: nobody → alta88
Attachment #9056421 - Flags: review?(richard.marti)
Comment on attachment 9056421 [details] [diff] [review]
feedIcon.patch

The patch is empty.
Attachment #9056421 - Flags: review?(richard.marti)
Attached patch feedIcon.patch (obsolete) — Splinter Review

oops.

Attachment #9056421 - Attachment is obsolete: true
Attachment #9056422 - Flags: review?(richard.marti)
Comment on attachment 9056422 [details] [diff] [review]
feedIcon.patch

Review of attachment 9056422 [details] [diff] [review]:
-----------------------------------------------------------------

Using the accountcentral icons needs scaling them to 16px. Please use the newsblog/rss-feed icons instead. And when you're on it, can you copy the Linux accountcentral/manage-rss.png to windows? Then the icons are consistent.

::: mail/themes/linux/mail/folderPane.css
@@ +191,5 @@
>  
>  .tabmail-tab[type="folder"][IsServer="true"][ServerType="rss"],
>  treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-rss) {
> +  list-style-image: url("chrome://messenger/skin/accountcentral/manage-rss.png");
> +  -moz-image-region: unset;

Please use -moz-image-region: auto; this is what everywhere is used.
Attachment #9056422 - Flags: review?(richard.marti) → review-
Attached patch feedIcon.patch (obsolete) — Splinter Review

Getting the icons is a real jumble and all platforms are inconsistent. This patch (for win and linux currently) standardizes the location of icons in themes/../mail/newsblog. The requirement is that an account/server icon look consistent everywhere, that a folder icon (with no favicon) be the same, and also a feed url item/message (subscribe/tab). Linux account central is copied to win.

OSX tbd.

Attachment #9056422 - Attachment is obsolete: true
Attachment #9056624 - Flags: review?(richard.marti)
Attached patch feedIcons2.patch (obsolete) — Splinter Review

icon binary file changes (win/linux).

Attachment #9056626 - Flags: review?(richard.marti)
Comment on attachment 9056624 [details] [diff] [review]
feedIcon.patch

Review of attachment 9056624 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks, looks good. Only f+ because of the missing Mac changes.

::: mail/themes/windows/mail/folderMenus.css
@@ +69,5 @@
>    -moz-image-region: rect(0 16px 16px 0);
>  }
>  
> +.folderMenuItem {
> +  list-style-image: url("chrome://messenger/skin/icons/folder.png");

What about moving this line to line 13?

@@ +73,5 @@
> +  list-style-image: url("chrome://messenger/skin/icons/folder.png");
> +}
> +
> +.folderMenuItem[IsServer="true"] {
> +  list-style-image: url("chrome://messenger/skin/icons/server.png");

And this one to line 69. Then we don't have the same selector twice.

::: mail/themes/windows/mail/folderPane.css
@@ +52,5 @@
>  }
>  .tabmail-tab[type="folder"][IsFeedFolder="true"],
> +treechildren::-moz-tree-image(folderNameCol, isFeedFolder-true) {
> +  list-style-image: url("chrome://messenger-newsblog/skin/rss-feed-folder.png");
> +  -moz-image-region: auto;

Removing the width/height here let the favicon show in it's original dimensions.

Please readd them here. Or maybe better globally on line 17 and remove the the ones on line 50 and 51.
Attachment #9056624 - Flags: review?(richard.marti) → feedback+
Attached image rss-feed-folder.png

Icon for Mac.

Attached image rss-feed-folder@2x.png

HiDPI icon for Mac.

Attachment #9056626 - Flags: review?(richard.marti) → feedback+

thanks for the mac folder icons. mac is a bit of a mess as manage-rss.png is fine for a account central, but it would have to use the icon in folder-pane.png for its similar server/account icon. and the one in server.png is what folder needs to be. to go along with the easy to understand new location in newsblog/ could you make a similar set of server/feed item group as in win/linux?

the "new" starburst isn't needed as that's now a background image on top of the icon in folderpane.

Attached image rss-feed.png

Like this?

yes, that's what the other 2 platforms do. but to be consistent, the manage-rss.png should also have the orange border.

Attached patch feedIcon.patch (obsolete) — Splinter Review

updated css for comments.

Attachment #9056624 - Attachment is obsolete: true
Attachment #9056727 - Flags: review?(richard.marti)
Attached patch feedIcons2.patchSplinter Review

icons.

Attachment #9056626 - Attachment is obsolete: true
Attachment #9056728 - Flags: review?(richard.marti)
Comment on attachment 9056727 [details] [diff] [review]
feedIcon.patch

The Mac part has some wrong -moz-image-region and background size definitions for HiDPI.

I'll upload a fixed version of this patch which is easier than pointing the errors and wait for a new patch.
Attachment #9056727 - Flags: review?(richard.marti)
Attachment #9056728 - Flags: review?(richard.marti) → review+
Attached patch feedIcon.patchSplinter Review

Fixed the mac HiDPI -moz-image-region and background-size definitions.

Attachment #9056727 - Attachment is obsolete: true
Attachment #9056948 - Flags: review+

(In reply to Richard Marti (:Paenglab) from comment #18)

Comment on attachment 9056727 [details] [diff] [review]
feedIcon.patch

The Mac part has some wrong -moz-image-region and background size
definitions for HiDPI.

I'll upload a fixed version of this patch which is easier than pointing the
errors and wait for a new patch.

thanks! (can't test on a mac). and for the icons.

Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c66f9410c0c0
Sync folderpane feed account icon with Account Central icon (icon changes). r=Paenglab
https://hg.mozilla.org/comm-central/rev/e033ed07d35d
Sync folderpane feed account icon with Account Central icon. r=Paenglab

Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 68.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: