slint
slint copied to clipboard
macOS: Slint 1.3 has warnings, `AboutSlint` fails to display on macOS/Linux with QT backend
OS: macOS Sonoma 14.1.1 Arch: aarch64 Rust: 1.74.0 Project: https://github.com/malwaredb/malwaredb-rs Slint: 1.3 Slint Backend: QT6 via homebrew
-
AboutSlint
table does not show - Warning output:
QGraphicsEffectSource::draw: Can only begin as a result of QGraphicsEffect::draw
with/withoutAboutSlint
Worked with Slint 1.2. I haven't tried macOS without QT.
Linux (Debian Bookworm) with QT5, Slint 1.3, xorg: AboutSlint
table does not show but without error/warning output.
Thanks for the bug report. I opened the .slint files with the viewer on X11 with the Qt5 backend, and i could properly see the AboutSlint
QT6 might be the problem. I haven't tried it with QT6 & X11 yet.
Showing admin.slint
on macOS produces the following window for me.
This is indeed too small to show the "About Slint" tab. I think that this may however be due to the fact that admin.slint
fixes the window size:
width: 440px;
height: 390px;
Clearly 440px is not enough to show all tabs. Perhaps you may want to remove the fixed size?
Removing the height and width statements has the same result.
QGraphicsEffectSource::draw: Can only begin as a result of QGraphicsEffect::draw
QGraphicsEffectSource::draw: Can only begin as a result of QGraphicsEffect::draw
Ok... resizing and it shows up, but still does't look right compared to how I remember Slint 1.2. The spacing of the items in the window feels off. Maybe it's a QT6 thing.