Bug 396133 - Global menu causes an empty window of qBittorrent
Summary: Global menu causes an empty window of qBittorrent
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 5.13.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-03 16:24 UTC by Maksym
Modified: 2018-07-23 15:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
qBittorrent window after closing to System Tray and restoring from there (487.44 KB, image/jpeg)
2018-07-03 16:24 UTC, Maksym
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksym 2018-07-03 16:24:49 UTC
Created attachment 113739 [details]
qBittorrent window after closing to System Tray and restoring from there

If the ‘Global menu’ widget present of any panel (Latte, Default panel, as a titlebar button or even at the desktop) it causes empty window of qBittorrent after I closing it and restore it from System Tray. This problem reproduces only if I close the qBittorrent to System Tray, but not minimize to System Tray. If I remove ‘Global menu’ widget, qBittorrent works fine. I found it out by experienced way. Here is the video I made to show that Global menu widget may causes this bug: https://youtu.be/kgZ-0gWz0gg.
Comment 1 Nick Stefanov 2018-07-03 16:57:49 UTC
The bug is also present here - Plasma 5.13.2 Arch Linux. It started with Plasma 5.13 update. However I don't use Global menu. See the details in this GitHub bug:
https://github.com/qbittorrent/qBittorrent/issues/9121#issuecomment-402218249
Comment 2 Maksym 2018-07-03 17:00:58 UTC
Software versions:
Manjaro KDE 17.1.11
Plasma 5.13.2
Qt 5.11.1
KDE Framework 5.47.0
qBittorrent 4.1.1 (also 4.0.4)

Steps to reproduce:
1. Add global menu to the panel or any other place (desktop or as titlebar button)
2. Launch qBittorrent
3. Close it to the System Tray
4. Restore it from System Tray
5. Now you can see the empty window
Comment 3 YLevchuk 2018-07-03 18:09:32 UTC
Manjaro KDE 17.1.11
Plasma 5.13.2
Qt 5.11.1
KDE Framework 5.47.0
qBittorrent 4.1.1 
Steps:
1. Active Window Control with Application Menu (aka Global) added to the panel or latte dock (desktop or as titlebar button)
2. Launch qBittorrent
3. Close it to the System Tray
4. Restore it from System Tray
5. Now you can see the empty window
Comment 4 Christoph Feck 2018-07-03 18:28:00 UTC
Could be another victim of https://bugreports.qt.io/browse/QTBUG-69277

If possible, please test with Qt older than 5.11.1.
Comment 5 Maksym 2018-07-03 19:59:42 UTC
(In reply to Christoph Feck from comment #4)
> Could be another victim of https://bugreports.qt.io/browse/QTBUG-69277
> 
> If possible, please test with Qt older than 5.11.1.

I've tried to compile Qt 5.11, but unfortunately get failed. I'm an average Linux user, so not sure that I can do something like that. Maybe someone more advanced can test.
Comment 6 Maksym 2018-07-04 18:16:10 UTC
(In reply to Christoph Feck from comment #4)
> Could be another victim of https://bugreports.qt.io/browse/QTBUG-69277
> 
> If possible, please test with Qt older than 5.11.1.

Yes, it's because Qt 5.11.1 version. Today I have tried Plasma 5.13.2 with Qt 5.10.1 and qBt worked correctly. This bug can be closed, because it seems not to be related to plasmashell or global menu.
Comment 7 Maksym 2018-07-04 19:01:44 UTC
Sorry, I made mistake, all this things are confusing me. I have tried Qt 5.11.1 with Plasma 5.12.4 (because Plasma 5.13.2 with Qt older than 5.11.1 doesn't work, I see the black screen at start up the system) and qBt had an empty window.
Comment 8 Nick Stefanov 2018-07-04 21:07:58 UTC
I tried KDE_NO_GLOBAL_MENU=1 qbittorrent but for me it doesn't help. The only solution for me is to use Breeze Look & Feel wich I don't like. I always use Oxygen Look & Feel theme.
Comment 9 Oskar 2018-07-14 19:01:43 UTC
(In reply to Nick Stefanov from comment #8)
> I tried KDE_NO_GLOBAL_MENU=1 qbittorrent but for me it doesn't help. The
> only solution for me is to use Breeze Look & Feel wich I don't like. I
> always use Oxygen Look & Feel theme.

For me the bug also happens when using the default Breeze theme (which i actually like a lot ;)).
Comment 10 Nick Stefanov 2018-07-14 20:28:32 UTC
But it seems nobody cares. I have 1500+ torrents and I can't migrate to another torrent client. I'd rather wait fo a fix.
Comment 11 Nick Stefanov 2018-07-21 10:47:32 UTC
Some progress?
Comment 12 Kai Uwe Broulik 2018-07-23 15:19:24 UTC
Can't reproduce with qBittorrent 4.0.3. Global menu and minimizing to tray does not break anything here.
Comment 13 Kai Uwe Broulik 2018-07-23 15:20:06 UTC
Closing as it's QTBUG-69277 who has its offending patch reverted in most major distros by now.