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

Settings window issue #613

Open
glpzzz opened this issue Jul 28, 2023 · 16 comments
Open

Settings window issue #613

glpzzz opened this issue Jul 28, 2023 · 16 comments

Comments

@glpzzz
Copy link

glpzzz commented Jul 28, 2023

image

when clicking in the 3 dots icon, in top right, the app ends up like this. No warnings or errors on terminal.

Ubuntu 23.04

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

Are you running wayland?

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

No. I'm running Xorg. Current compositor is picom. Disabling the compositor makes the transparent windows to display all black, no content.

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

Which installation method/package did you use?

Can you check the version of the app and the Qt version (gear icon > About, qt version is all the way at the bottom)

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

I built it.

App Version: 2.2.0 (Pro Version)
Qt version: 6.4.2 (built with 6.4.2)

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

Thanks. When running through the terminal, do you get any errors?

I think you may be missing the dependency for QML. The dependency list in the readme is probably outdated. Although I would expect the compilation to fail if that's the case.

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

Maybe you can test out the appimage to see if the problem goes away.

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

I'm submitting a PR to add another package in instructions for Ubuntu 23.04 qml6-module-qtdatavisualization. Without this one, is not possible to build.

When running from the terminal, this is the output:

QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: Windows, Fusion
qrc:/qt/qml/EditorSettings.qml: module "kvantum" is not installed
qrc:/qt/qml/kanbanMain.qml: module "kvantum" is not installed
Database: connection ok

but except for settings windows and kanban view, it works good.

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

What's the output of echo $QT_QPA_PLATFORMTHEME?

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

blank. I don't have that env var.

$ env | grep QT                                                                                           
QT_STYLE_OVERRIDE=kvantum

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

Ah yes, that's the one I meant.

Looks like overriding the style to one that QML doesn't know about makes the QML windows invisible. We'll fix this. Thanks for reporting.

For now, you can run Notes with QT_STYLE_OVERRIDE="" notes until the bug is fixed.

@nuttyartist
Copy link
Owner

@glpzzz So still the editor settings and Kanban view don't work?

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

image

Thanks! Settings window now works. It seems is not a regular window right? I have not checked the source yet.

When activating kanban from the settings window, it kind of works, but only shows notes created from kanban mode. Not the others.

I see there is a Pro icon below kanban. Perhaps this is my issue? Or do building it from source bypasses pro check?

@zjeffer
Copy link
Collaborator

zjeffer commented Jul 28, 2023

  • It is indeed not supposed to be a regular window, but a popup.
  • Kanban mode will only work with a specific format. Create a new item with the + icon in the kanban view, and go back to the regular view to see the format it creates.
  • Building it from source gets you the Pro features.

@nuttyartist
Copy link
Owner

nuttyartist commented Jul 28, 2023

I see there is a Pro icon below kanban. Perhaps this is my issue? Or do building it from source bypasses pro check?

It bypasses it. I forgot to remove the Pro label for Pro version, it's good you reminded me.

The rest answered by @zjeffer 👍

@glpzzz
Copy link
Author

glpzzz commented Jul 28, 2023

Thaks! Good app!

@guihkx
Copy link
Collaborator

guihkx commented Jul 28, 2023

When running from the terminal, this is the output:

QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: Windows, Fusion
qrc:/qt/qml/EditorSettings.qml: module "kvantum" is not installed
qrc:/qt/qml/kanbanMain.qml: module "kvantum" is not installed
Database: connection ok

but except for settings windows and kanban view, it works good.

Looks like this issue (which is about our Flatpak package, but the symptom is the same):

Last time I researched about this message, it led me to this Qt bug, which has no solution yet. We only have the workaround already mentioned here by @zjeffer.

@nuttyartist nuttyartist moved this to Bug Hunt 🎯 in Notes 2.3.0 Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Bug Hunt 🎯
Development

No branches or pull requests

4 participants