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. Dock window scroll bar activate without clicking
Forum Updated to NodeBB v4.3 + New Features

Dock window scroll bar activate without clicking

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 233 Views 1 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.
  • K Offline
    K Offline
    Ketan_Lalcheta
    wrote on last edited by
    #1

    Hi

    I have a dock window and it has displayed scroll bar due to more content present into dialog.

    What I need is to scroll through content , but it forces me to click somewhere on dialog and then mosue scroll button works.

    I have tried to set the focus on the dialog i.e. dock window itself , but no success. What should be done when user do not need to click on dialog and it still allow user to scroll the content through mouse scroll button.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIR, that highly depends on your OS. Some do not allow interaction with unfocused window. Which one are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • GaoboG Offline
        GaoboG Offline
        Gaobo
        wrote on last edited by
        #3

        Maybe you can change the dialog's focus policy to StrongFocus. I also found that the widget still can't recive some mouse wheel event even if it's focus policy is StrongFocus.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SarahBeth
          wrote on last edited by SarahBeth
          #4

          I also had same problem.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Ketan_Lalcheta
            wrote on last edited by
            #5

            Yeah @Gaobo , It did not work with strong focus as well.
            @SGaist , I am windows 11.

            Why scrolling does not work when window has no focus and focus is set? Is it a bug or a known limitation due to some issue it may cause?

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Ketan_Lalcheta
              wrote on last edited by
              #6

              @SarahBeth , What you did then? It was kept as limitation only or has some work around?

              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