setvisible / ArrowDL

ArrowDL (Arrow Downloader) is a download manager for Windows, MacOS and Linux
https://www.arrow-dl.com/
GNU Lesser General Public License v3.0
548 stars 30 forks source link

Flat Design icons not loaded #45

Open smaragdus opened 2 years ago

smaragdus commented 2 years ago

I like the Classic Design (the default one) but I tried to switch to Flat Design,

screen:

DownZemAll! 2 4 3 - 2021-10-11 - flat design - error - 001

and I saw that the icons in the horizontal and in the vertical tool bars are not loaded,

screen:

DownZemAll! 2 4 3 - 2021-10-11 - flat design - error - 002

This also applies when dark theme is selected,

screen:

DownZemAll! 2 4 3 - 2021-10-11 - flat design - error - 003

the icons do not load,

screen:

DownZemAll! 2 4 3 - 2021-10-11 - flat design - error - 004

This happens on Windows 8 x64. Perhaps the problem is caused by my system, I don't know. I don't know whether this issue is reproducible either.

setvisible commented 2 years ago

I bet it's a plugin issue.

On Windows the application uses extra engines to render png, svg, gif... and other plugin for OS-specific styles:

Plus

These plugins must be in the directory of the application, where is:

The issue is reproducible by changing the name of the plugins (or their directory, because dir name and dll's filename matter).

When these dll are not in the correct location, the application still starts, but doesn't load the styles or images, and the application looks like yours.

Possible fixes:

smaragdus commented 2 years ago

@setvisible

The problem here is that I do not know whether this issue can be reproduced at all or it appears on my system only, if it is the latter it is not caused by DownZemAll! but by my system (Windows 8 x64).

I was using DownZemAll_v2.4.3_windows-mingw-x64.zip, I just extracted the archive, I didn't change the location of any files including DLLs. Below I will attach the directory structure (text file):

DownZemAll! - files.txt

The directory structure is unchanged. I also tried to move the mentioned DLLs one level up in the main directory (next to the executable- DownZemAll.exe), there was no effect.

Anyway, I decided to use the installer- DownZemAll_x64_Setup.exe, and installed it in two different locations (first- in Program Files, and then- in AppData), there was no effect either.

I also exported the registry values (DownZemAll!.reg REG file in DownZemAll!.zip ZIP file to be able to upload it here):

DownZemAll!.zip

I don't know whether this REG file would disclose anything and thus be of any help.

setvisible commented 2 years ago

The files look ok, and the portable version mentioned runs correctly on Windows 10.

I suspect the issue comes from the Qt5 plugin system, otherwise the entire application could not start.

Qt5 is compatible with Windows 7, 8.1 and 10: https://doc.qt.io/qt-5/supported-platforms.html#windows

This article (5 years old) mentions some issues with the Windows 8's MetroUI... https://wiki.qt.io/Qt_5_on_Windows_8_and_Metro_UI

Idea: Maybe try to execute the application with backward compatibility ? (click right on the .exe > Properties > Compatibility > Disable optimization, execute as windows 7... etc... I'm not sure the options Windows 8 proposes, maybe there is a successful combination :) )

smaragdus commented 2 years ago

@setvisible

Short response- Run this program in compatibility mode for: Windows 7 did not help.

I will try to investigate further.

Regards

xyxzxyz commented 2 years ago

I have same issue here on Win 11. No icons after selected flat design.

setvisible commented 1 year ago

Maybe version 3.0.0 fixes it?