Qbittorrent: KDE Plasma 5.13.1 problem - messed out interafce

Created on 21 Jun 2018  Â·  53Comments  Â·  Source: qbittorrent/qBittorrent

qBittorrent version and Operating System

4.1.1

If on linux, libtorrent and Qt version

libtorrent 1.1.7-2
Boost libs 1.67.0
Qt 5.11.1

What is the problem

As of today qBittorent has the following problem with KDE Plasma. When it is left for a while in sys tray, the interface goes empty like this:
screenshot

Actually the torrent client is active and it do it's work but is not interactive. I tried different themes, icons, windows decoration to no avail.

What is the expected behavior

Normal interface.

Steps to reproduce

Start qBittorrent, left it for a while in sys tray.

Duplicate GUI Qt bugs

Most helpful comment

Guys, I have created bug report at the KDE community. I've compiled qBittorrent 4.0.4 from sources to make sure the bug related to Plasma and got the confirm - the same issue with 4.0.4 version. So you can confirm the bug with Plasma 5.13.2 by this link.

All 53 comments

Any attention please? The torrent client is nearly unusable! I have to restart it every 3-4 minutes for I can see normal interface and do my work.

Highly unlikely to be a qBittorrent problem because it does not do any custom painting whatsoever. Nevertheless, does it happen with other Qt apps? Could you update Plasma to 5.13.1.1, please? Could you try with the default KWin settings, please?

Thank you for your reply, it's appreciated!

No, all other Qt apps works without problem. I even try Tixati and it hasn't problems too.
Plasma is updated to 5.13.1.1 and just then the problem occurs. I use qbittorrent for years and this is the first time I have such issue.
What do you mean with "default KWin settings"? These may be?
1
I even tried with all effects turned off with the pretty same result :(

Thanks for the update! I see only two ways to get the pictures you show: either qBt hangs in its event loop (and stops updating itself) or KWin does not repaint the window properly. If qBt event loop freezes, KWin should detect that and inform you that qBt does not respond (BTW, you can test this pressing a keyboard shortcut when the qBt window has focus, e.g. F1 which should open browser window, Ctrl+Q should terminate the program). If the problem occurs because of the window manager, it might make sense to try default settings, and that is why I asked you to do so. This includes window decorations.

The torrent client is active. I already tried just to drop a file in the main window and the Torrent creator's windows pops up. The systray icon also gives info for the speed of transfer and they seem to be active. To see the tasks and interface however, I must restart it and than all works as expected for some time till the next time.

Well, then it is a KWin issue probably. Try to switch to OpenGL 3.1, maybe that would help. I once saw frozen plasmashell window with OpenGL 2.

I revert it to OpenGL 2.0 because you told me to set the default settings. I use it with OpenGL 3.1 and the problems occurs both on OpenGL 2.0 & OpenGL 3.1.
Now I set all relevant settings to default - Look & Feel is set to Breeze, effects are disabled and the windows decoration is also set to default. I'll see if there will problems and will report shortly.

Sorry for my english, it's difficult for me to say what I want to say in the way I want to say it :)

Could you, please, try to disable compositing and enable it again (Ctrl+Shift+F12, AFAIR) when the qBt window freezes next time?

I tried this alredy - doesn't help :)
For now the bug didn't occured since I defaulted the settings. Now I have to try one by one to find the culprit. I think that the problem is in Oxygen Look and Feel theme - just a shot in the dark. It'll take time to figure it out but I'll will write when I have any results. Thank you once again.

Yes, I got it - the culprit is Oxygen Look & Feel theme. Is very pity for Breeze is very ugly. Is there something we can do?

Look and Feel means theme for Desktop, application style, and KWin decorations (although your screenshot shows something different from Oxygen) . Might it be the application style? Probably you can isolate the theme component that makes it happen? Then it may be not so important for you (and you can continue to use all the other flavours of the theme), and you can submit a bug report to the KDE bugzilla.

I already did that - I can use all my settings - icons, window decorations and desktop theme but if I set Look and Feel to Oxygen, the problem occurs almost imeddiately. I tried to choose Oxygen Look and Feel without further settings - the problem occurs. Then I set all my components - icons, windows decoration and desktop theme but stay on Oxygen Look and Feel - the problem is still here. If I choose some other Look and Feel theme, the problem is gone, no matter if with my icons, desktop theme and window decorations or not. The only culprit is Oxygen Look and Feel theme alone.

Excuse me, I did not see application style on your list. Why? Have you tried to apply the Oxygen style only?

I try them also, just not mention it:
1
I tried all available styles but they give no difference.

Do I correctly conclude then, that after setting application style, window decoration, and desktop theme to Oxygen the error does not happen, but after you additionally select Oxygen in the Look and Feel, the problem comes back?

Yes - I can choose what icon theme, desktop theme and window decoration I want and if Oxygen Look & Feel theme is NOT chosen, there isn't problem with qBittorrent. If I choose Oxygen Look & Feel, the described problem occurs no matter of what icons, desktop theme or window decoration are being chosen.

Thanks for confirming! I think that is enough for submitting a bug report to KDE.

P.S. The icon theme should not play any role.

Would you like to submit a bug please? For me is difficult because of language. You can explain them correctly what is the problem.

No, sorry, I will not do that because I can't reproduce the problem.

Ok, thank you.
Are you with Plasma 5.13.1 too?

No, I build from the git master branch.

And wich version is your Plasma?

This week it's 5.13.80.

And there aren't problems with Oxygen Look and Feel theme? Can you please try to use this theme for a day and look for yourself?

Oh, no, it just occured with Breeze Look and Feel :(

screenshot_20180624_145954

I use Breeze (the dark flavour) daily. But your screenshot is not Breeze, as you use another KWin decorations. And in all "frozen" screenshots I see the same Windows-like buttons. What decoration is it? I could give it a try.

It is named Seven but it's not the problem. I tried with default window decoration with Oxygen Look and Feel and the problems occurs no matter of that. Now it happens with Breeze too...

I have the same problem with qt5ct configuration on Openbox.

Thanks god someone confirms it and I'm not alone!

image
Have the same problem after kde update.

I'm confirming the bug on Manjaro 17.1.11 with KDE Plasma 5.13.2. If the ‘Global menu’ widget present of any panel (Latte or Default panel) it cause empty window of qBittorrent 4.1.1 after I close it and restore it from System Tray. This problem reproduces only if I closing qBittorrent to System Tray, but not minimizing it to System Tray. If I removing ‘Global menu’ widget from panel or minimizing qBittorrent to tray, everything works fine. I found it out by experienced way. Here is the video I made to show that Global menu widget may cause this bug: https://youtu.be/kgZ-0gWz0gg.
e347ac73072d3daa8cfa12b165b0fb6fbe98d242

Good shot :) But I don't use Global menu widget and It isn't present in my panel. It's very weird bug...

Maybe Global menu present as a titelbar button (which is at the System settings->Application style->Window decorations), check it. Because no matter where the Global menu present, it cause this bug anyway.

No, it's no there, I don't use it, see the screenshots of mine :) I use Menu which shows the icon of the app, not Global menu :)

Yes, I just saw your screenshot :) You're right, it's weird.

Guys, I have created bug report at the KDE community. I've compiled qBittorrent 4.0.4 from sources to make sure the bug related to Plasma and got the confirm - the same issue with 4.0.4 version. So you can confirm the bug with Plasma 5.13.2 by this link.

Use the global menu too and have not seen the problem.

Thank you hardytheone.

zaule, which Qt version you use?

@hardytheone: 5.11.1

It's me again :) Seems to Qt 5.11.1 causes this issue (at least with Plasma 5.13.2). That was said in comments for my bug report in KDE Bugzilla and I decided to check it. I've installed Manjaro 17.1.8 with Plasma 5.12.4 and Qt 5.10.1, qBittorrent worked fine. Next I upgraded the Manjaro to 17.1.11 and Qt 5.11.1, but skip Plasma package group from being upgraded. So after upgeade I had Manjaro 17.1.11, Qt 5.11.1 and Plasma 5.12.4. And guess what? Issue with qBittorrent came again. But later I noticed that KDE Plasma Framework was also upgrade from 5.44.0 to 5.47.0. "Maybe it's because KDE Plasma Framework", I thought. So I've installed fresh Manjaro 17.1.8 again and this time I skiped from being upgraded Plasma and kf5 (it containes KDE Plasma Framework) groups, but issue still existed. Maybe zeule can't reproduce the problem, because he use Plasma 5.13.80 from the git master branch, I don't know. It's only my little "research". I think maybe you should know this.

BTW, for me this qBt behavior can be avoided by running it with following command:
env KDE_NO_GLOBAL_MENU=1 qbittorrent
That disable Global menu. Maybe it will work for you too. Advice source.

Thank you, I'll try it :)

I don't have KDE but I still have the issue. My configuration:
Arch Linux
Openbox 3.6.1
Qt 5.11.1
qt5ct 0.35
qBittorrent 4.1.1

Nope, env KDE_NO_GLOBAL_MENU=1 qbittorrent doesn't help here:

screenshot_20180705_000405

@onlined as it turned out, it's because of Qt 5.11.1 version, not KDE. If possible, try to downgrade Qt (for example to 5.10.1) and I bet this will solve the problem.
@mozo78 do you have the issue only when closing or minimizing qBt to tray? Because if the first, you can just minimizing qBt instead of closing to avoid the problem. BTW, you can write your e-mail or Telegram username and we can chating in russian :)

Do you know what I noticed? We all faced this bug using Arch Linux (I'm using Manjaro, but it's based on Arch). Maybe the problem with Qt 5.11.1 in Arch? Because zeule using Qt 5.11.1 too, but can't reprosuce this problem. @zeule what Linux distriburion do you use?

@hardytheon the problem occurs both with minimize and close for me.
I'm bulgarian - I do understand russian but it's hard for me to write and speak :)

Gentoo

9240 is probably the same issue.

Not sure if it related to qbittorrent, because with clementine I have the same issue:

изображение

STR:

  • Minimize to tray
  • Open the main again

qBittorrent - 4.1.5
KDE frameworks 5.59
Qt - 5.11.3

The problem is not present in KDE 5.16.3/Qt 5.13.0 so upgrade your DE. You can also try qBittorrent 4.1.6.

Was this page helpful?
0 / 5 - 0 ratings