Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching to stylized icons #4253

Merged
merged 11 commits into from
Jan 11, 2017

Conversation

bertyhell
Copy link
Contributor

@bertyhell bertyhell commented Dec 4, 2015

This will look like this:
image

If you like these, we can change all of them.
Were using font awesome as a basis for these icons. Let me know what you think.

@bertyhell bertyhell closed this Dec 4, 2015
@bertyhell bertyhell reopened this Dec 4, 2015
@ngosang
Copy link
Member

ngosang commented Dec 10, 2015

Definitely we need to change the icon theme.

@ngosang
Copy link
Member

ngosang commented Dec 23, 2015

@sledgehammer999 we should think in the icons... The default icon theme in Windows is really ugly, awfull in Windows 10... Some icons are too small for HDPI displays (Mac OS)...

@Nemo-qB
Copy link

Nemo-qB commented Dec 29, 2015

Looks very nice. Fits qBittorrent perfectly.

@Chocobo1
Copy link
Member

@sledgehammer999 we should think in the icons... The default icon theme in Windows is really ugly, awfull in Windows 10... Some icons are too small for HDPI displays (Mac OS)...

Agree with this.


@bertyhell
Thanks for this, we definitely need a new set of icons for platforms other than linux.
Looking forward to a fully replaced screenshot. The details can be dealt later.
Don't forget to submit the script used to generate the images (& colors), I guess it is a HTML/CSS file right?

@bertyhell
Copy link
Contributor Author

I'll see if i can finish it this weekend. I first wanted to see if you guys were interested.

@bertyhell
Copy link
Contributor Author

Hey, we're about 40% done
We'll keep working on it

They are done by hand.
But we'll also keep svgs so you have a high quality version if you ever need it.

@bertyhell
Copy link
Contributor Author

ok guys
were at 60% of the oxigen icons

Have a sneek peek here:
image

@Nemo-qB
Copy link

Nemo-qB commented Jan 22, 2016

@bertyhell Looks great indeed, well done.

@bertyhell
Copy link
Contributor Author

Sure, shouldn't be a problem

@ngosang
Copy link
Member

ngosang commented Jan 26, 2016

@sledgehammer999 @Chocobo1 I said that before but with little success. We should pack icons in folders src/icons/theme1, src/icons/theme2... Each folder is a theme and should include all icons used in qBittorrent. By now we can ship the Oxygen theme subset but in the future we can include more themes for Windows and MacOS. The user will be able to change the theme folder in Options and graphic designers can propose new themes or new icons.

@bertyhell
Copy link
Contributor Author

Good idea. Whoever implements that can copy all the icons into the correct folders. If we do this in this PR it will break all icon references, right?

@bertyhell bertyhell changed the title Added stylized icons for the main actions bar Switching to stylized icons Jan 26, 2016
@ngosang
Copy link
Member

ngosang commented Jan 26, 2016

@bertyhell don't change your PR because of my comment. Wait for sledgehammer999.

@bertyhell
Copy link
Contributor Author

👍

@sledgehammer999 sledgehammer999 added the Look and feel Affect UI "Look and feel" only without changing the logic label Jan 26, 2016
@sledgehammer999
Copy link
Member

@bertyhell Thanks for the effort. Actually I was too looking to replace everything with flat icons from icon fonts. But never got around to it.

Can you post a screenshot on how your current progress looks in the app? Unless you aren't able to compile qbt.

I don't know if you have covered the "completed" icon. If not, I suggest having "tick" sign(in a frame) with the current color scheme. And I might have similar suggestions for other icons. It all depends on how far you have come.

@sledgehammer999 @Chocobo1 I said that before but with little success. We should pack icons in folders src/icons/theme1, src/icons/theme2... Each folder is a theme and should include all icons used in qBittorrent. By now we can ship the Oxygen theme subset but in the future we can include more themes for Windows and MacOS. The user will be able to change the theme folder in Options and graphic designers can propose new themes or new icons.

PS: Let's first tackle what the icons will look like, and then worry about sources/scripts/license compliance etc.

No. I don't want theming support (or something like that). Plus it will bloat the binary.

@bertyhell
Copy link
Contributor Author

I can try to build it on Friday. How easy is that on windows? Is there a step-by-step i can follow?

The screenshot i posted is our current progress. We hope to finish all the icons in the oxigen folder on Friday. The other icons will take some more time.

As for the license we're using font awesome as a base for these with some self made icons were needed. So we should be good on that front.
https://fortawesome.github.io/Font-Awesome/license/

@ngosang
Copy link
Member

ngosang commented Jan 26, 2016

I can test & review this PR at night.

@bertyhell
Copy link
Contributor Author

I'll have to generate and commit the pngs first. I can do that on friday.

@sledgehammer999
Copy link
Member

Ok. I can also probably do a test build in a few hours. I'll post screenshot.

@sledgehammer999
Copy link
Member

I'll have to generate and commit the pngs first. I can do that on friday.

Oops. Now I saw that. Then I'll wait.

@birdie-github
Copy link
Contributor

I do NOT want this grayish Windows-10-like shit in qBitTorrent. If you're gonna add it, PLEASE make it optional.

@birdie-github
Copy link
Contributor

@LordNyriox

I almost never look at my torrent client, because it's basically a background application. I wonder why you need to constantly gaze at what's inside of it.

OK, speaking of this 2D design.

The first two icons contain too much antialiasing and they basically look dirty. If we're going this path I want them to be 100% monotone.

icons

@sledgehammer999

If possible please do not delete old icons from the source distribution and make an icon pack selectable via a ./configure option.

@birdie-github
Copy link
Contributor

@LordNyriox

Thank you for your comment.

I just hope that there won't be a situation when new additional actions are introduced in QBitTorrent and the old icons set becomes incomplete thus people won't be able to use it successfully.

… to png

Check readme for more information on how to convert the icons to png
src/icons/oxygen/build-icons/readme.md
@bertyhell
Copy link
Contributor Author

bertyhell commented Jan 10, 2017

If we are going to drop png files, there is no need to merge that javascript png generator and its configuration.

Having the original svg's in the repo + a way to easaly generate the png's is quite useful in my opinion. That way other people can tweak the icons without having the manually recreate them every time.

Also can you explain to me why you put those lines in .gitignore?

Yes, those are still required. To run that grunt task you need node.js. The node package manager will install a bunch of files in node_modules to get all the required files for doing the svg to png conversion. You don't want to see those node_module files in your git status.

Having the png ignored as well is required, since someone generating the png files doesn't want to check them in there (src/icons/skin/build-icons/icons/), but rather move them to the "drop in replace" location (src/icons/oxygen/).

@zeule
Copy link
Contributor

zeule commented Jan 10, 2017

Having the original svg's in the repo + a way to easaly generate the png's is quite useful in my opinion. That way other people can tweak the icons without having the manually recreate them every time.

Could you explain this, please? Why would one need a png file to edit its source, the svg one?

@bertyhell
Copy link
Contributor Author

Could you explain this, please? Why would one need a png file to edit its source, the svg one?

Oh, sorry, i had misread your comment. Yeah, you're right, we can drop all those once we switch to svg assets. 👍

@zeule
Copy link
Contributor

zeule commented Jan 10, 2017

Thanks, @bertyhell.

@sledgehammer999
Copy link
Member

@bertyhell the pngs currently need to be inside src/icons/oxygen/ and oxygen is an icon theme name. Immediately after I merge this PR, I plan to move the pngs to src/icons/<name>/ and make the necessary code changes. Do you want me to use a specific name for the "theme" or should I just put something generic like "qbt-theme"?

@bertyhell
Copy link
Contributor Author

You can choose what ever.
Flat or font awesome are good descriptions since a lot of icons are based on those.
But it is completely up to you.

@sledgehammer999
Copy link
Member

OK. I'll do the merge tomorrow when I have a non-sleepy head.

@Chocobo1
Copy link
Member

Chocobo1 commented Jan 11, 2017

Qt can load svg icons starting from version 4.2

Yeah, tried that, it's awfully slow if you need to resize/load them on-the-fly, so there might need some mechanisms caching them.

@sledgehammer999
Copy link
Member

Thx for the great effort. Be around if users start complaining :p

@sledgehammer999 sledgehammer999 merged commit 69da12e into qbittorrent:master Jan 11, 2017
@zeule
Copy link
Contributor

zeule commented Jan 11, 2017

Yeah, tried that, it's awfully slow if you need to resize/load them on-the-fly....

@Chocobo1, could you give any numbers, please? Plasma uses svg icons for many years and I can't see any signs of a slowness.

@Chocobo1
Copy link
Member

Chocobo1 commented Jan 11, 2017

@Chocobo1, could you give any numbers, please? Plasma uses svg icons for many years and I can't see any signs of a slowness.

No benchmark for that, I just tried to load svgs in place of pngs; when opening a dialog/window, it took about 1~2 secs to pop up (normally would be instant).

@bertyhell
Copy link
Contributor Author

Pull request successfully merged and closed

he did it, he really did it
image

@eli-schwartz
Copy link
Contributor

So I can merge it as-is. Even though I generally don't like commits that can be squashed into previous ones, this PR has taken too long. Also you don't know enough git to rework this. So I'll merge as-is.

github.com now has a feature for this: https://github.com/blog/2141-squash-your-commits

@ghost
Copy link

ghost commented Jul 28, 2017

Am I getting something wrong here? What do I have to do to get these icons? They look amazing but I still have the ugly ones. I'm using qBittorrent v3.3.14 64-bit for Windows, which I got from here

Are they coming with 3.4?

@zeule
Copy link
Contributor

zeule commented Jul 28, 2017

These icons will be released with version 3.4.0,

@ghost
Copy link

ghost commented Jul 28, 2017

I see. Waiting for that then!
image
😄

@ghost
Copy link

ghost commented Jul 28, 2017

Nice, I'll wait for the beta, just to help with bug reports, and if it takes too long I'll go with these. Thanks! :D

EDIT: Beta stalled as expected, I'll try these builds :)

@regs01
Copy link
Contributor

regs01 commented Aug 8, 2017

Those icons doesn't look good on Windows 10. Quite dark and colorless. Would be nicer to be lightened. Squarish icons also overloading table of tasks.

@ghost
Copy link

ghost commented Aug 8, 2017

I love them.

@ghost
Copy link

ghost commented Aug 8, 2017

@regs01 I agree. The icons could be a little bit brighter. They seem somewhat dull. It's definitely an improvement over the old icons but they just need to "pop" a bit more.

Especially the red delete button. The "red" color is so dull that you almost can't tell it's red.

Everything needs to be a few shades brighter, especially the red, yellow and orange icons.

It doesn't have to be Material Design bright. Just bright enough to not be dull.

@thalieht
Copy link
Contributor

thalieht commented Aug 8, 2017

Blue icons on high contrast theme win 10 🙊
But i've seen a few PR's that i don't closely follow that touch icons.. I'm hopeful.

capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Look and feel Affect UI "Look and feel" only without changing the logic
Projects
None yet
Development

Successfully merging this pull request may close these issues.