Coder Social home page Coder Social logo

Comments (8)

sledgehammer999 avatar sledgehammer999 commented on June 17, 2024

This problem doesn't happen with the Fusion or Windows style theme
Isn't this a KDE breeze theme bug then?

qt themes (or more precisely QtStyles) are implemented as plugins (or separate modules). So the breeze theme probably has a bug and doesn't handle RTL in progressbars correctly.

from qbittorrent.

glassez avatar glassez commented on June 17, 2024

Doesn't the following mean that the problem is not in style?

XDG_CURRENT_DESKTOP=KDE and QT_STYLE_OVERRIDE=Breeze are on my environment.

Just XDG_CURRENT_DESKTOP=KDE is enough to reproduce.

If so, then used "platform" or "platform theme" plugin is most likely to blame.

from qbittorrent.

sledgehammer999 avatar sledgehammer999 commented on June 17, 2024

This problem doesn't happen with the Fusion or Windows style theme
Isn't this a KDE breeze theme bug then?

qt themes (or more precisely QtStyles) are implemented as plugins (or separate modules). So the breeze theme probably has a bug and doesn't handle RTL in progressbars correctly.

I think I wasn't clear enough.
The Breeze theme is a 3rd party qtstyle plugin, which is loaded by qt. So you probably have to file a bug report to that.

Do other apps that use progressbar and breeze work correctly with Arabic/RTL in your system?
If no, then consider reporting to KDE: https://bugs.kde.org/

from qbittorrent.

glassez avatar glassez commented on June 17, 2024

I think I wasn't clear enough.
The Breeze theme is a 3rd party qtstyle plugin, which is loaded by qt.

Doesn't the following mean that the problem occurs even w/o using Breeze style?

XDG_CURRENT_DESKTOP=KDE and QT_STYLE_OVERRIDE=Breeze are on my environment.

Just XDG_CURRENT_DESKTOP=KDE is enough to reproduce.

@zefr0x
Could you clarify what do you mean?

from qbittorrent.

sledgehammer999 avatar sledgehammer999 commented on June 17, 2024

Doesn't the following mean that the problem occurs even w/o using Breeze style?

He also mentions

This problem doesn't happen with the Fusion or Windows style theme

So I assume he sets QT_STYLE_OVERRIDE=Fusion to test. (And I thought that the Windows qt styles only worked on Windows).

@zefr0x please clarify how you test all these.

from qbittorrent.

sledgehammer999 avatar sledgehammer999 commented on June 17, 2024

(Flathub Version 0b92b92)

This is an important bit. IIRC flatpak/appimage/docker Qt applications can't use qt styles (or qt platformthemes) that are installed in the user's system. Only whatever is packaged inside the image.

from qbittorrent.

zefr0x avatar zefr0x commented on June 17, 2024

This problem doesn't happen with the Fusion or Windows style theme
Isn't this a KDE breeze theme bug then?

qt themes (or more precisely QtStyles) are implemented as plugins (or separate modules). So the breeze theme probably has a bug and doesn't handle RTL in progressbars correctly.

I think I wasn't clear enough. The Breeze theme is a 3rd party qtstyle plugin, which is loaded by qt. So you probably have to file a bug report to that.

Do other apps that use progressbar and breeze work correctly with Arabic/RTL in your system? If no, then consider reporting to KDE: https://bugs.kde.org/

There is no issue with the progressbar in other apps (I've tested this with KTorrent (Flathub version, it uses a different runtime)).

I think I wasn't clear enough.
The Breeze theme is a 3rd party qtstyle plugin, which is loaded by qt.

Doesn't the following mean that the problem occurs even w/o using Breeze style?

XDG_CURRENT_DESKTOP=KDE and QT_STYLE_OVERRIDE=Breeze are on my environment.
Just XDG_CURRENT_DESKTOP=KDE is enough to reproduce.

@zefr0x Could you clarify what do you mean?

When you have XDG_CURRENT_DESKTOP=KDE the Breeze style is the default, so QT_STYLE_OVERRIDE=Breeze has no effect.

As of my knowledge having XDG_CURRENT_DESKTOP=KDE is the only way to use the Breeze style. I wasn't able to use it just by using: QT_STYLE_OVERRIDE=Breeze.

Doesn't the following mean that the problem occurs even w/o using Breeze style?

He also mentions

This problem doesn't happen with the Fusion or Windows style theme

So I assume he sets QT_STYLE_OVERRIDE=Fusion to test. (And I thought that the Windows qt styles only worked on Windows).

@zefr0x please clarify how you test all these.

Yes I used QT_STYLE_OVERRIDE=Fusion and QT_STYLE_OVERRIDE=Windows and there was no issues.

and yes, the Windows style is available in Linux:

Available styles: Breeze, Windows, Fusion

(Flathub Version 0b92b92)

This is an important bit. IIRC flatpak/appimage/docker Qt applications can't use qt styles (or qt platformthemes) that are installed in the user's system. Only whatever is packaged inside the image.

The Flathub package is currently using the org.kde.Platform/5.15-23.08 runtime, and it does have the Breeze theme available in the runtime.

from qbittorrent.

zefr0x avatar zefr0x commented on June 17, 2024

NVM, it was just magically fixed now when I opened QB. Maybe It needed a reboot or some update fixed it.

Sorry for the wast of time :)

from qbittorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.