Change of behavior with the scrollbar with QGraphicsScene in Windows 11
-
Hey everyone,
I'm working with a Qt desktop application with my colleagues (I develop the app, they use it.). A part of the application includes a window where we can observe a graphics scene by navigating with a scroll bar. It was seem to be working for all of us (Win 10 users) until one of us upgraded his operating system to Windows 11. Now it looks like we're not having the same behavior with the very same software. The behavior is probably related with the slidserMoved(int) signal. Looks like it is not emitted. Does anyone observed a same/related behavior with Windows 11?
Thanks in advance for your precious time.
Onur.
-
int main(int argc, char *argv[]) { QApplication a(argc, argv); QScrollBar s; s.connect(&s, &QScrollBar::sliderMoved, [](int i){ qDebug() << "Moved to " << i; }); s.show(); return a.exec(); }
Works for me.
What you usually do is produce a minimal (and I mean minimal) example that demonstrates the issue and if you can't then find what's different about your actual app.
-
Hey everyone,
I'm working with a Qt desktop application with my colleagues (I develop the app, they use it.). A part of the application includes a window where we can observe a graphics scene by navigating with a scroll bar. It was seem to be working for all of us (Win 10 users) until one of us upgraded his operating system to Windows 11. Now it looks like we're not having the same behavior with the very same software. The behavior is probably related with the slidserMoved(int) signal. Looks like it is not emitted. Does anyone observed a same/related behavior with Windows 11?
Thanks in advance for your precious time.
Onur.
@Onur-Tekik
Are you using a version of Qt which supports Windows 11?