mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Monochrome and other icons are missing #2559
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#2559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @goetzc on GitHub (May 26, 2015).
Using version 3.2.0 in Arch Linux, monochrome icons for the tray icon are not installed. I don't think this is distribution specific, as Arch uses this simple script to build the package:
Also the icons for the tray icon pop up are missing.
@ngosang commented on GitHub (May 26, 2015):
This is rare. I also use Arch and it works perfectly. :S
@goetzc commented on GitHub (May 26, 2015):
@ngosang maybe those icons are provided by another package, some theme maybe.
@ngosang commented on GitHub (May 26, 2015):
With 'monochrome icons' you are referring to notification area icon?
@goetzc commented on GitHub (May 26, 2015):
Yes, those for 'Tray icon style'.
@ngosang commented on GitHub (May 26, 2015):
They are included in the qBittorrent folder /src/icons/skin/. Uninstall the package and try to install the development version from sourcecode, maybe it's fixed now. https://github.com/qbittorrent/qBittorrent
@goetzc commented on GitHub (May 26, 2015):
Will test a the latest git code.
Do you have any qtbittorrent monochrome icons in /usr/share/icons/ or maybe in the user's icons folder?
@goetzc commented on GitHub (May 26, 2015):
With the latest git code the program doesn't start. The monochrome icons are also not included in the generated package.
There might be something wrong with the configure script. Maybe this commit has something to do
ff9a281b72?@goetzc commented on GitHub (May 26, 2015):
Now I see there are more icons missing.

This is the tray icon pop up:
@sledgehammer999 commented on GitHub (May 26, 2015):
Can you manually run that configure on the source and then give here the contents of the generated "conf.pri" file?
PS: I meant you should run the configure with the exact same options as in the arch build script
@goetzc commented on GitHub (May 27, 2015):
Sure, this is with the Arch build options:
@sledgehammer999 commented on GitHub (May 29, 2015):
IIRC, the missing icons should be embedded in the binary anyway. Later I'll try building in my debian VM and see if they're missing.
@sledgehammer999 commented on GitHub (Jun 1, 2015):
I saw the code. Those icons are embedded in the binary.
How does arch work? Does each user build its packages or can he download binary packages? Did you download the binary package available?
When you say "monochrome icons missing" what do you mean? Is the option
tools->options...->behavior->desktop->show qbittorrent in notification area->tray icon styleavailable?Can you do a simple compilation:
./configure --prefix=$HOME/qbt(or any other user-writable folder)make -jX(the numbers of cpu cores you have)$HOME/qbt/bin./qbittorrentDoes it still not show the icons?
@ngosang commented on GitHub (Jun 1, 2015):
It has several official repositories with binary packages. The version from repository is working for me.
@goetzc commented on GitHub (Jun 1, 2015):
Right, and direct links for binaries are here:
i686: http://mirror.us.leaseweb.net/archlinux/community/os/i686/qbittorrent-3.2.0-1-i686.pkg.tar.xz
x86_64: http://mirror.us.leaseweb.net/archlinux/community/os/x86_64/qbittorrent-3.2.0-1-x86_64.pkg.tar.xz
@sledgehammer999 commented on GitHub (Jun 1, 2015):
OK. Can you tell me about the rest questions? Can you also try to compile as I described above?
@goetzc commented on GitHub (Jun 1, 2015):
I did test the Arch binary, and compiled the git version myself.
Yes, from the three options available, only the default icon is show, with the monochrome options, it shows like the tray icon pop up, an empty white sheet.
I will compile it and report back.
@sledgehammer999 commented on GitHub (Jun 1, 2015):
I truly don't know what is happening then...
@sledgehammer999 commented on GitHub (Jun 1, 2015):
Hmm, can you try compiling using
--with-qt5during configure and see what happens?@Chocobo1 commented on GitHub (Jun 1, 2015):
@goetzc, what desktop environment are you using?
@goetzc commented on GitHub (Jun 1, 2015):
Some good news:
?symbol in it. The two from the tray icon popup are empty.Show qBittorrent in notification area, applying and enabling that option again did create a new tray icon (now there are two), the new one with the monochrome icon.When hovering the monochrome icon:

When hovering the monochrome icon:

When hovering the white sheet:

I will compile with
--with-qt5and report back.@goetzc commented on GitHub (Jun 1, 2015):
It seams that this happens when using
sni-qtQt4 plugin, which convertsQSystemTrayIconintoStatusNotifierItem. Qt5 doesn't have such plugin, but it will have built-in support for StatusNotifierItems in Qt 5.5. More info in issue https://github.com/qbittorrent/qBittorrent/issues/3076#issuecomment-104746296So, using qbt compiled against Qt4 without sni-qt plugin or using Qt5, does change the behavior, qBt uses the old tray icon implementation which show all icons, but is not supported in KDE Plasma 5 nor in Ubuntu Unity (and maybe more).
As Ubuntu comes with the
sni-qtplugin (sni-qt is an optional dependency for qt4 in Arch Linux), more users should have the same problem, but it doesn't seam to be. Maybe there is something more to consider.@ngosang commented on GitHub (Jun 1, 2015):
Maybe related #2934.
@sledgehammer999 commented on GitHub (Jun 1, 2015):
So as it seems this isn't a problem of qbittorrent itself. It is qt (and maybe KDE/Unity).
If someone wants to manually write code to handle this case via dbus, be my guest.
In the meantime I am closing this.
@goetzc thanks for coming back and saying what you found.