-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
[Icon request] ayatana-indicator-keyboard #3053
Comments
added only as symlinks from (unity 7) indicator-keyboard-* |
It's HiDPi? You try HiDPi branch? On sources used 24px icons size and this size available on Papirus... |
How it's looks with another ayatana indicators? |
I didn't find any information about the size in the sources, difficult code to understand... in general, it's strange, ayatana is an appindicator receiver and the size 22px is used there, as standard, here 24px is used in SVG icon files. Why? |
Maybe it's because you're using 22x22 folder rather than scalable? E.g. Qt provides only sizes specified in folder size names when you use QIcon::availableSizes/QIcon::actualSize on an icon gotten with QIcon::fromTheme that is svg. In other words, if Qt application uses svg icon theme and follows the information from QIcon::availableSizes/QIcon::actualSize, it will think only 22x22 pixmap could be gotten even if the icon is svg one (unless KDE platformtheme is used that provides a list of pre-defined sizes for svg icons). Maybe gtk has similar behavior. |
Yeah, it's HiDPI. I use distro package, checked HiDPI branch - the same result. |
|
You can experiment with Fixed and Scalable values in the HiDPI brunch. |
No, no, that's far from the truth. Have you actually tried to write something using it? QIcon is just a handle. You need to rasterize the icon with QIcon::pixmap that requires specifying a size. If application follows the information provided by QIcon::availableSizes/QIcon::actualSize and KDE frameworks aren't injected in the environment, the behavior is buggy with svg.
Why to move? Copy them. At least the ayatana ones. |
Let's close the topic about Qt, it has absolutely nothing to do with the current issue. I just wanted to tell you that the indicators for the tray are ONLY in folders 16/22/24 and have no problems, unlike ayatana-indicator-keyboard. I discovered the problem in the ayatana-indicator-keyboard repository, but the developers have not responded yet. |
Yes, we can create a new folder, for example, |
Maybe you try change vertical panel size (some pixels to up)... On my screen it's 30px |
I think you use scale x2 16px icons, but this size not available for indicator-keyboard icons on Papirus, only 22px and 24px. |
So my guesses are correct, we need to port the indicator-keyboard icons to the size of 16px. This is more than 150 icons |
I explain the problem, ayatana-indicator-keyboard -* now these are symbolic links to indicator-keyboard. But only for the size of 22px, which was previously the default in Unity and 24px, it is most likely XFCE (or the old version of elementaryOS). There was no need for 16px earlier, since GNOME drew the icon programmatically, and other working environments practically did not use this size. Notice how long ago these icons were added: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/commits/master/Papirus/22x22/panel/indicator-keyboard-En.svg |
It's strange, on Ubuntu MATE original keyboard indicator working good (You seen my screens). Anyway it's not solve this issue. As i say ealier, we need port icons to 16px, becuase HiDPI displays use it. wifi, battery, volume and kotatogram - it,s 16px @2x* but ayatana-indicator-keyboard-* it's 22px @2x |
Yeah, it's specific to my distro, some problem in some dependency apparently, but no one knows which one |
Offtopic: |
hm... |
@ilya-fedin У вас точно mate-screensaver , а не xscreenserver, потому как у них траблы с лицензией начались? |
|
Значит опять убунтовские костыли. Спасибо Илья! |
@ilya-fedin added 16px, please try it |
This a keyboard layout indicator from Ayatana Indicators project (can be used on e.g. MATE), original icons are here: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/tree/main/data/icons/scalable/status (they're installed with the same directory layout, i.e. /usr/share/icons/hicolor/scalable/status), they also have a generation script: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/blob/main/contrib/ayatana-indicator-keyboard-icon-generator.py
Looks like this on my system:
The text was updated successfully, but these errors were encountered: