clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.72k stars 671 forks source link

Clementine GUI does not appear when starting from the shortcut in Start Menu #7216

Open mstsbe opened 1 year ago

mstsbe commented 1 year ago

Before posting

Please follow the steps below and check the boxes with [x] once you did the step.

System information

Please provide information about your system and the version of Clementine used.

Expected behaviour / actual behaviour

Expected behaviour: Clementine should directly open the GUI interface when clicking the shortcut in the Start Menu, or launching it directly from its installation directory by double-clicking on clementine.exe.

Actual behaviour: Clementine does launch in the background (there are active processes in the Task Manager), but only after clicking (once) on the Clementine icon in the notification area (see screenshot) it will appear.

2022-09-19 18_38_32-

Steps to reproduce the problem (only for bugs)

Install the latest development build and try for yourself if you have this same issue.

mstsbe commented 1 year ago

I forgot to mention that I have a dual-monitor setup, with my screen to my right as my default/main monitor. Both monitors have the same resolution and DPI-scaling (100 %). Because from Win 10 1703 (aka Creators Update), MS overhauled the DPI scaling behavior to the per-monitor v2 model, instead of the fixed, global scaling model before: https://blogs.windows.com/windowsdeveloper/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/

I don't know how Qt handles this, does it delegate drawing and scaling to the underlying Windows API (GDI/Direct2D) ?

hrafnkel commented 1 year ago

I am seeing the same behaviour. I have a single monitor setup (1920 x 1080, 100% scaling).

However, if I leave the first attempt of starting Clementine running in the background and initiate it again from the start menu the GUI is then shown.

One the 1st attempt the Task Manager shows child processes, which over a short period terminate leaving just the partent process. This process is active, CPU and Mem show changing values per refesh.

On the 2nd attempt the Task Manager only shows one instance (collection?) with 13 processes ( 1 x Clementine, 6 x tagreader, 6 x Console Window Host).

O/S: Windows 10 Pro 64-bit, version 22H2, build 19045.2364, experience pack 120.2212.4190.0, and all patches up-to-date. CPU: AMD FX-6100 Clementine v1.3.1

This computer is setup as a dual boot. The alternative O/S is Linux Fedora 37 and on there Clementine works properly.