Refactor symbolic icons: add 22px/24px, replace with symlinks#3991
Refactor symbolic icons: add 22px/24px, replace with symlinks#3991
Conversation
|
No need to go deeper to understand something wrong with this PR. This d160199 commit creates about 400 new icons. Where are all of these icons using? For example, why is this
|
|
I understand when you replace with a symlink the same icon, but why do you replace all symbolic icons with symlinks by duplicate them in monochrome... Symlinks aren't free, I told you before. Each symlink takes from 4 KB to 16 KB of the disk space. |
|
@SmartFinn Большой объём. Ну будут дубликаты. Ну ты реально будешь ковырять тысячи файлов и прям уникальный значок искать? Это тяжело. Я старался как можно меньше уменьшать количество файлов, как мог. |
|
Да, cs-desklets монохромная! Я уже объяснил принцип разработки |
|
При чем здесь сколько весит значок и симлинк? К чему мне эти байты бляха? Тут проблема просто значок добавить. Потому что в кедах к примеру, изначально был монохромный значок, потом сменился на микс монохром + симболик... И конфликты симлинк\файл. Я уже объяснял |
|
в actions/status - куча значков, там можно много на симлинки повесить. За то теперь всё стандартизированно и унифицировано хоть как-то |
|
И будущая разработка и порт 22\24 значков монохрома. Ты меняешь их в actions и автоматом по симлинку ты меняешь всё в symbolic - это и есть уменьшение дубликата... |
No, I didn't hear the reason why app icon became an action icon.
You increased the count of files to 410 just in one commit. 90% of them are the trash that aren't used anywhere.
What the conflicts exactly. Why I didn't faced with them in last 8 years? |
In your head - maybe. I see hundreds of icons that should be removed. |
|
Вот смотри другой пример, ты добавил значок "new-action-symbolic" просто в папку "symbolic", потом я или кто-то другой добавляет значок "new-action" и ты предлагаешь симлинк в симболик что ли? |
|
Я добавил все значки из symbolic , что бы потом его сделать симлинком! |
No, you're adding hundreds of icons that are conflicts with icons of other context, or even using nowhere. |
|
А по другому разве можно сделать? |
|
Oh, it will be a long trip. Let's review this PR file by file. What are the icons? Where are they using? Why did you add them? |
Replace an icon with a symlink that really match each other.
And what a problem here? It's two different icons that are using in two or more different programs. |
|
Это значки для -symbolic, я их СПЕЦИАЛЬНО перевёл в симлинк, что бы в actions вообще не было значков. ТАМ ТОЛЬКО СИМЛИНКИ! Это сделано для правила, что бы потом не возникало вопросов, почему я могу этот значок добавить, а этот нет. Иначе у нас будут конфликты файлов, стилей |
Нет, не два разных значка. Один и тот же стиль - твоё решение! |
|
Is this enough reason to add fake icons? |
|
Да, это резон. Потому что ты либо ДУБЛИРУЕШЬ значки, либо делаешь симлинк. И дело тут не в байтах, а разработке. Этот cs-desklets потом так же можно будет использовать как симлинк в другой проге и т.д. |
|
Ты же прекрасно видишь, что объём большой. Может хватит уже до каждого значка докапываться... |
Said someone who created hundrend of duplicates...
What are you talking about. It's bullshit. Now if I want to add This is THE DUPLICAION, isn't it? |
|
@SmartFinn Во-первых, я так сделал потому что объем большой!!! Ты можешь сделать симлинк на уже существующий файл в actions. В чём проблема-то. Ты сравни количество actions в мнохроме и в symbolic, он больше в разы просто. |
|
@varlesh why are you trying to do this without discussing anything first? Serhii has basically just done the directory restructuring and you now try to do something different with all this? |
|
@SmartFinn Бляха, тут два только выхода - это дублирование или симлинк |
|
@varlesh also, please tell me the difference between monochrome and symbolic icons (your idea). As I see it, in out case the only difference is the |
|
@varlesh you want to go through all the effort of making sure we have all monochrome icon with standard names first and only then add symlinks to the same monochrome icons (but they now have |
|
@morganist Currently, the "symbolic" actions/status folders have a mix of icons and symbolic links. Adding new icons and links becomes a problem because, for example, the file you are trying to add is in 16px, but not in 22px or 24px. Or this file can be a symlink to another file, etc. Adding new icons becomes a problem because firstly, we duplicate the monochrome icon and the "symbolic" icon. |
It's a good point. Symbolic icons are much limited than monochrome icons. We can face with a situation when a part of icon aren't recoloring because |
|
The second point is to duplicate the file in symbolic folders! This file is already exist in actions\status without the -symbolic suffix. |
this eOS icons and now not used
Move mail-attachment-symbolic and view-private-symbolic to actions
not full... network-mobile-XXX need port to 16/24
Co-authored-by: Alexey Varfolomeev <varlesh@gmail.com>
acccb34 to
3a37205
Compare
|
@SmartFinn Ну что сливать или добавлять чё будем? |
Co-authored-by: Alexey Varfolomeev <varlesh@gmail.com>
Co-authored-by: Alexey Varfolomeev <varlesh@gmail.com>
Co-authored-by: Alexey Varfolomeev <varlesh@gmail.com>
This commit removes icons that have their copies in other contexts. To decide what remove and keep I used breeze, Adwaita, and elementary icon themes as references. Some symlinks were moved to categories, because: fonts-symbolic is a categories icon in GDM Settings app org.gnome.Settings-accessibility-symbolic and org.gnome.Settings-region-symbolic are icons for categories in GNOME Settings
b5517ce to
42897d9
Compare
This pull request refactors the symbolic icons to improve consistency and support for additional sizes.
Changes include:
Duplicate icons in the "symbolic" folders have been swap to symlinks in the folders of monochrome icons. A significant part affected the "actions" and "status" directories.
All icons of all sizes have been combined and a single template has been created for which new icons and symlinks have been added in 3 sizes - 16/22/24. Since when switching to "-symbolic" from one 16px size to three sizes, the directories vary and adding new symlinks and icons becomes very difficult. A skeleton has also been prepared to adapt the size of the 22/24 icons - this is a very old problem.
These categories do not have a symlink to monochrome folders, because we have limited sizes of monochrome icons for them, and therefore these are duplicate (partially) icons:
If you plan to add a new icon to symbolic direcoties, especially in the actions/status category, then it is essential to add a symlink to monochrome icons, if there is no similar and necessary icon, then add it to the symbolic folder, but always in 3 sizes (this also applies to symlinks). Otherwise, we will lose unification and another developer will not be able to use your icon for symlinks. There are also three sizes needed for scaling...