这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature request: qqc2 style #184

@hazel-bunny

Description

@hazel-bunny

Describe the feature
A clear and concise description of what feature you would like adding.

Many KDE applications are using the kirigami framework and qt quick controls. These applications are themed by default using qqc2-desktop-style, which is a hack and doesn't support transparency and blur. KDE also has qqc2-breeze-style, which provides a real and native (less hacky) qqc2 style. Would it be possible to fork qqc2-breeze-style and create a qqc2 style for darkly?

But it is already supported by qqc2 desktop style, so what's the point?
The point is, qqc2-desktop-style is broken. It doesn't support:

  • Real transparency
  • Blur
  • Styling menus in Elisa, Discover, KClock, Neochat, Plasma System Monitor, Tokodon, Alligator, Kalendar and many other apps
  • Hiding ugly separator lines
  • And much more

It uses qstyle to draw controls, which makes it unable to take advantage of gpu acceleration and slows down large apps like kalendar. In addition, it only works with breeze and brise and breaks every other qstyle, including but not limited to:

  • Darkly
  • Lightly
  • Klassy
  • Zephyr
  • Oxygen
  • K4Oxygen
  • Kvantum
  • Fusion (partially works when using qqc2-fusion-style)
  • Windows
  • Skulpture
  • Plastik
  • Qt6GTK2
  • Iaora
  • Adwaita-Qt
  • Oomox-Qt
  • Virtuality
  • StyleProject
  • (I'm yet to test more styles like Vinyl, QtCurve, QSvgStyle, PhantomStyle, etc)

Therefore, a native qqc2 style would be the best solution. I know it is a lot of work, but forking qqc2-breeze-style and adding and editing controls should make it a bit easier. Is this feature intended in this project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin progressSomething is work in progress

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions