Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Change of behavior with the scrollbar with QGraphicsScene in Windows 11

Change of behavior with the scrollbar with QGraphicsScene in Windows 11

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 331 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Onur Tekik
    wrote on last edited by Onur Tekik
    #1

    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.

    A 1 Reply Last reply
    0
    • Chris KawaC Online
      Chris KawaC Online
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2
      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.

      1 Reply Last reply
      0
      • O Onur Tekik

        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.

        A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        @Onur-Tekik
        Are you using a version of Qt which supports Windows 11?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved