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. Can't see Items List of QComboBox, when use showFullScreen
Forum Updated to NodeBB v4.3 + New Features

Can't see Items List of QComboBox, when use showFullScreen

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 3 Posters 2.4k 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi
    That sounds really odd.
    So the QComboBoxes are shown on screen but when you click to open the dropdown list, there is no items in it anymore?
    No other widgets does strange things when showFullScreen is used ?

    Q 1 Reply Last reply
    1
    • mrjjM mrjj

      Hi
      That sounds really odd.
      So the QComboBoxes are shown on screen but when you click to open the dropdown list, there is no items in it anymore?
      No other widgets does strange things when showFullScreen is used ?

      Q Offline
      Q Offline
      Qingshui Kong
      wrote on last edited by
      #3

      @mrjj Hi
      Thank you for replying so quickly!

      Yes, it is very odd.

      I find there is one more widget doing the strange things. It is QDateTimeEdit. It acts the same with QComboBox.

      What's more, even though I can't see dropdown list, I can select one item by clicking.

      mrjjM 1 Reply Last reply
      0
      • Q Qingshui Kong

        @mrjj Hi
        Thank you for replying so quickly!

        Yes, it is very odd.

        I find there is one more widget doing the strange things. It is QDateTimeEdit. It acts the same with QComboBox.

        What's more, even though I can't see dropdown list, I can select one item by clicking.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @Qingshui-Kong
        Hi
        Would be possible to test with newer/newest version of Qt ?

        Also, did full screen work at some point but stopped or this is from beginning ?

        Im wondering if it could be some sort of gfx driver issue or font rendering issue.

        Q 1 Reply Last reply
        0
        • mrjjM mrjj

          @Qingshui-Kong
          Hi
          Would be possible to test with newer/newest version of Qt ?

          Also, did full screen work at some point but stopped or this is from beginning ?

          Im wondering if it could be some sort of gfx driver issue or font rendering issue.

          Q Offline
          Q Offline
          Qingshui Kong
          wrote on last edited by
          #5

          @mrjj
          Hi,

          I haven't install newer version of Qt. So I can't test it now. Could you help to test that?

          Full screen doesn't work. At least, I haven't seen that it works. So I think this is from the beginning.

          If it is some sort of gfx driver issue or font rendering issue, how could I confirm it and how could I fix it?

          Thanks!

          mrjjM 1 Reply Last reply
          0
          • Q Qingshui Kong

            @mrjj
            Hi,

            I haven't install newer version of Qt. So I can't test it now. Could you help to test that?

            Full screen doesn't work. At least, I haven't seen that it works. So I think this is from the beginning.

            If it is some sort of gfx driver issue or font rendering issue, how could I confirm it and how could I fix it?

            Thanks!

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #6

            @Qingshui-Kong
            hi
            well i tested with
            https://www.dropbox.com/s/3hlqg2hqm22m3gu/testfullscreen.zip?dl=0
            and it works as expected.
            Could You try same sample ?

            Well you can check if any new drivers are available for your gfx card if not already done. ( like from Intel or nvidia)

            Q 1 Reply Last reply
            1
            • mrjjM mrjj

              @Qingshui-Kong
              hi
              well i tested with
              https://www.dropbox.com/s/3hlqg2hqm22m3gu/testfullscreen.zip?dl=0
              and it works as expected.
              Could You try same sample ?

              Well you can check if any new drivers are available for your gfx card if not already done. ( like from Intel or nvidia)

              Q Offline
              Q Offline
              Qingshui Kong
              wrote on last edited by
              #7

              @mrjj
              Hi,

              Thank you very much!

              This sample works.

              Maybe, my program is a little complex. I should debug my program to find out the problem.

              mrjjM 1 Reply Last reply
              0
              • Q Qingshui Kong

                @mrjj
                Hi,

                Thank you very much!

                This sample works.

                Maybe, my program is a little complex. I should debug my program to find out the problem.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @Qingshui-Kong
                Hi
                ok, that is good news. \o/
                Its just a normal bug then.
                Do you start app at once in full screen or
                you toggle it ? ( like sample)

                Q 1 Reply Last reply
                1
                • mrjjM mrjj

                  @Qingshui-Kong
                  Hi
                  ok, that is good news. \o/
                  Its just a normal bug then.
                  Do you start app at once in full screen or
                  you toggle it ? ( like sample)

                  Q Offline
                  Q Offline
                  Qingshui Kong
                  wrote on last edited by
                  #9

                  @mrjj
                  Hi

                  I start app at once in full screen. I use w.showFullscreen() in the main() function.

                  mrjjM 1 Reply Last reply
                  0
                  • Q Qingshui Kong

                    @mrjj
                    Hi

                    I start app at once in full screen. I use w.showFullscreen() in the main() function.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @Qingshui-Kong
                    hi
                    ok, i tried with sample that way too but still there are items.
                    So it seems its something in the real app code.
                    if you just do // w.showFullscreen()
                    then there is items visible ?
                    How do you fill the items to the combobox. any chance they can be empty strings for some reason ?

                    Q 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @Qingshui-Kong
                      hi
                      ok, i tried with sample that way too but still there are items.
                      So it seems its something in the real app code.
                      if you just do // w.showFullscreen()
                      then there is items visible ?
                      How do you fill the items to the combobox. any chance they can be empty strings for some reason ?

                      Q Offline
                      Q Offline
                      Qingshui Kong
                      wrote on last edited by
                      #11

                      @mrjj
                      Hi,
                      Yes, there should be some bugs in my app code.

                      If I use w.show() in the main function, it works.

                      I am sure that I have fill the items to the combobox. And I can select them by clicking, even though I can't see them.

                      1 Reply Last reply
                      0
                      • AndySA Offline
                        AndySA Offline
                        AndyS
                        Moderators
                        wrote on last edited by
                        #12

                        This is a known limitation on Windows, I suggest you have a look at https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows as that describes the problem in more detail and gives a solution which you can use.

                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        Q 2 Replies Last reply
                        2
                        • AndySA AndyS

                          This is a known limitation on Windows, I suggest you have a look at https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows as that describes the problem in more detail and gives a solution which you can use.

                          Q Offline
                          Q Offline
                          Qingshui Kong
                          wrote on last edited by
                          #13

                          @AndyS

                          Thanks very much!

                          1 Reply Last reply
                          1
                          • AndySA AndyS

                            This is a known limitation on Windows, I suggest you have a look at https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows as that describes the problem in more detail and gives a solution which you can use.

                            Q Offline
                            Q Offline
                            Qingshui Kong
                            wrote on last edited by
                            #14

                            @AndyS

                            Hi AndyS,

                            Could you answer my another question?
                            Here is the link.
                            https://forum.qt.io/topic/95431/how-to-set-window-flags-for-qfiledialog

                            Thanks.

                            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