Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flat Design icons not loaded #45

Open
smaragdus opened this issue Oct 11, 2021 · 6 comments
Open

Flat Design icons not loaded #45

smaragdus opened this issue Oct 11, 2021 · 6 comments
Labels
bug Something isn't working Windows Specific to Windows Platforms

Comments

@smaragdus
Copy link

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
Copy link
Owner

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:

  • ./iconengines/qsvgicon.dll
  • ./imageformats/qgif.dll
  • ./imageformats/qico.dll
  • ./imageformats/qjpeg.dll
  • ./styles/qwindowsvistastyle.dll

Plus

  • ./platforms/qminimal.dll
  • ./platforms/qwindows.dll

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

  • ./DownZemAll.exe

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:

  • Maybe reinstall the last version? (the dlls should overwrite the right place with the right name)
  • Maybe add a read permission to the dll ?

@setvisible setvisible added the bug Something isn't working label Oct 16, 2021
@smaragdus
Copy link
Author

@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
Copy link
Owner

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
Copy link
Author

@setvisible

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

I will try to investigate further.

Regards

@xyxzxyz
Copy link

xyxzxyz commented Jan 8, 2022

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

@setvisible
Copy link
Owner

Maybe version 3.0.0 fixes it?

@setvisible setvisible added the Windows Specific to Windows Platforms label Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Specific to Windows Platforms
Projects
None yet
Development

No branches or pull requests

3 participants