Issue with "--start-in-tray" switch and MS RDP

Bug #2044118 reported by Richard Worrell
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Running W11 on a headless system and using MS RDP to access the PC. The PC is auto logged in on bootup.

In V6.29 I have selected "preferences/sharing over the net/start calibre when computer started" This works fine when I RDP into the system. I do see a window pop up and close when I use the shortcut with the "--start-in-tray" switch.

In V7.0 with the same configuration it does work but the window that pops up does not close. So everytime I RDP in I have an open blank window that I cannot close and an icon on the taskbar. If I then click on the tray icon calibre opens correctly and another click minimises it to the tray.

Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: New → Fix Released
Revision history for this message
Richard Worrell (dickydodah) wrote :

Wow that's great. many thanks for your quick response and a really great bit of software :-)

Revision history for this message
Kovid Goyal (kovid) wrote :

You are welcome, it's not really a fix, more of a workaround for an
underlying Qt bug. It's quite possible it will manifest in different
curcumstances, the proper fix will have to come from Qt.

Revision history for this message
Richard Worrell (dickydodah) wrote :

Hi, I have installed 7.1 and the issue is better but it does still happen. I have tested a fair bit more and discovered a "fix" The problem only occurs if the Calibre program is running maximised. I have now set the window to be almost full screen and when I RDP in it no longer sticks at a blank window.

It works perfectly on my laptop with no flash of the main screen so this is only affecting RDP sessions and the workaround is fine. I hope QT will adress the issue but I won't hold my breath.

Revision history for this message
Kovid Goyal (kovid) wrote :

Qt bug report: https://bugreports.qt.io/browse/QTBUG-124177

And I think I have figured out a good workaround for the Qt bug, will be in the next calibre release.

Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Revision history for this message
Richard Worrell (dickydodah) wrote :

I will test at the next release and report back. Thanks for all your hard work :-)

Revision history for this message
Kovid Goyal (kovid) wrote :

THere are preview builds with the fix available as described here: https://www.mobileread.com/forums/showthread.php?t=359648

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.