-
Notifications
You must be signed in to change notification settings - Fork 816
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
Missing header buttons in tray window with Ubuntu package #1746
Comments
Thanks for reporting, @ShevT ! I'm not fully understanding this issue though:
|
Thanks again for clarifying! As I can't reproduce this with the app being built directly from source (or the AppImage), I'm assuming this is some problem with the ubuntu beta packages - maybe with the QT::Svg module or asset paths. I'll look into this (and maybe ask @ivaradi for some more info) as soon as we approach a more stable master state, which is not yet the case right now because there are first some other issues that have to be finished (including our package build-chain itself). Until then, if you want to play around with the current state and test it, you may want to try the current AppImages (see #1744 for more info on that) :-) |
|
Fixed in #1744 |
After merge # 1744 the problem remained |
I can reproduce this with current master. The icons are only missing when the org.kde.desktop QQC2 style is used, forcing it to e.g. Material with |
There seem to be a few things broken. First the org.kde.desktop QQC2 style needs patching to support loading icons from qrc (https://phabricator.kde.org/D28194) Then the icons are still not visible because the background seems to "cover" it. When I comment out the background assignment I see the icons. Not sure yet whether that's an issue in the KDE QQC2 style or Nextcloud |
So it turns out I've hunting that one today and indeed as @nicolasfella several things are in the way. First there the patching needed to support loading icons from qrc URLs in the org.kde.desktop QQC2 style. But it's only half of the story... The QQC2 style is done in a way that everything is rendered via a private StyleItem (which delegates to QStyle) set on the background property of the control... Yes, that means that overriding that property basically throws out all the rendering from the org.kde.desktop style... Honestly, this makes for a very fragile style IMO. I wonder if it should be modified to not use background like that. I wonder if using the contentItem wouldn't make more sense. Anyway, I think this should be fixed on the style side. In the meantime, my PR #1962 should work around that issue. |
nextcloud-client 2.7.0-20200121.032623~eoan1
The text was updated successfully, but these errors were encountered: