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

Add a Kirigami UI #82

Open
PureTryOut opened this issue Apr 12, 2021 · 9 comments
Open

Add a Kirigami UI #82

PureTryOut opened this issue Apr 12, 2021 · 9 comments

Comments

@PureTryOut
Copy link

Hey I've used Quickddit extensively in the past when I still used my Jolla Phone and loved the experience, it was one of the few apps that I would actually consider high quality, so thanks for that!

Nowadays I have left SailfishOS behind and am personally more focussed on mainline Linux systems, in particular postmarketOS with Plasma Mobile. I would love to have Quickddit be available there, and a Kirigami UI would probably work really well. I see this app is also available for Ubuntu Touch nowadays so the logic for separate UI's seems to be already there.

rinigus, the developer from Pure-Maps, has already made his app available in Kirigami (besides a SailfiishOS and a Ubuntu Touch UI) so you can probably ask him for tips and help.

Would a Kirigami UI be something in the scope of Quickddit?

@accumulator
Copy link
Owner

accumulator commented Apr 15, 2021

Hi @PureTryOut,

Thanks for the endorsement! It's really nice to get feedback every now and then, since SailfishOS is such a small space :)

For me currently, Quickddit is in maintenance mode, I won't do much development on it for the time being, but I'll keep it up to date with newest Sailfish, architectures, youtube-dl etc. Maybe that changes if/when I move away from Sailfish..

However, I would welcome a Kirigami based UI if someone is willing to create it AND support it (same deal I made with @dano6 for the Ubuntu Touch port)

The C++ base is 100% ready for a Kirigami UI. I think you can even take 90% of the Ubuntu Touch QML as a base, as it is also QtQuick Controls 2 based. I was actually surprised how little impact the Ubuntu Touch port had on the C++ side (♥ QML). But if there's support needed on that side I can help.

Sharing components between ports (or using a generic wrapper, like Pure Maps approach) is probably not ideal for Quickddit, as each platform has slightly (or in the case of Sailfish, a lot) different behavioral properties. But if Ubuntu Touch and Kirigami/Plasma Mobile have similar user interaction patterns, it might be interesting to investigate what components can be (made to be) shared.

@dano6
Copy link
Collaborator

dano6 commented Apr 15, 2021

Hi,
Ubuntu Touch port is not using Ubuntu.Components, there is just forced Suru theme from https://github.com/ubports/qqc2-suru-style/. I planned to port it to qt5.12 and do not require a specific theme, to research how hard it would be to use multiple styles.
I would love to get it usable with Breeze, Suru and Default QQC2 style

@dano6
Copy link
Collaborator

dano6 commented Apr 15, 2021

I am not a fan of platform specific toolkits, but if somebody is willing to use Pure Maps approach for Ubuntu Touch/Kirigami/Plasma Mobile (Sailfish has a great frontend already, it will only break stuff), I would love to help him. For me, it looks too complicated, and I do not have enough time for that.

@dano6
Copy link
Collaborator

dano6 commented Apr 17, 2021

WIP preview of using breeze style

Screenshot from 2021-04-17 20-34-00

@dano6
Copy link
Collaborator

dano6 commented Apr 19, 2021

Screenshot from 2021-04-19 08-21-20
Screenshot from 2021-04-19 08-25-09
Screenshot from 2021-04-19 08-26-10

@Shatur
Copy link

Shatur commented May 12, 2021

@dano6, looks nice! Are you planning to submit a PR?

@dano6
Copy link
Collaborator

dano6 commented May 14, 2021

Yes, but I am waiting for this ubports/qqc2-suru-style#56
But you can test with AUR package https://aur.archlinux.org/packages/quickddit/
For breeze support please install optional dependencies, breeze-icons and qqc2-breeze-style.
Style can be changed in the settings, Suru, Material, Universal and Breeze should somewhat work

@Shatur
Copy link

Shatur commented May 14, 2021

@dano6, thanks! Works correctly with org.kde.breeze. But with Plasma theme my interface sometimes freezes. Especially when I'm trying to change the theme to another one.

@dano6
Copy link
Collaborator

dano6 commented May 15, 2021

I see. Reason for that is Buttons in Plasma theme are quite resources heavy. I will investigate performance more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants