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. Unable to right click in the Qt Creator

Unable to right click in the Qt Creator

Scheduled Pinned Locked Moved General and Desktop
17 Posts 3 Posters 7.3k Views
  • 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.
  • L Offline
    L Offline
    Lazy93
    wrote on last edited by
    #1

    Hello guys, I'm new to Qt stuff. I'm currently trying to make a GUI for a simulation system. The Qt Creator has been working fine in the past few days and suddenly today I can't right click the push button to see the menu to select 'go to slot' but instead, clicking it brings me to xml code view of the UI. I can't even right click the Sidebar in which the Project files exist for me to add new files or do anything. Is there any way for me to solve this ?

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

      Hi and welcome

      Please state Qt version and OS .

      I assume you can right click in other applications and its ONLY Creator that does weird things?

      If possible you could rename the current Qt install dir and install Qt again to see if that fixes it.

      L 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi and welcome

        Please state Qt version and OS .

        I assume you can right click in other applications and its ONLY Creator that does weird things?

        If possible you could rename the current Qt install dir and install Qt again to see if that fixes it.

        L Offline
        L Offline
        Lazy93
        wrote on last edited by
        #3

        @mrjj
        Hello, thanks for responding ! I'm using Qt Creator 3.4.2 Based on Qt 5.5.0 , I'm using Window 7.
        Yes I can right click in any other applications , desktop and websites and only Qt creator does this weird thing. Is there any simpler solution since installing was taking hours when i installed it due to slow internet speed.

        mrjjM 1 Reply Last reply
        0
        • L Lazy93

          @mrjj
          Hello, thanks for responding ! I'm using Qt Creator 3.4.2 Based on Qt 5.5.0 , I'm using Window 7.
          Yes I can right click in any other applications , desktop and websites and only Qt creator does this weird thing. Is there any simpler solution since installing was taking hours when i installed it due to slow internet speed.

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

          @Lazy93
          Hi
          I was afraid that reinstall was a bad options (or you would already done that)

          As Far as I know, there is no overall Reset thing.

          But you could try to massage it a bit and see if something works:

          1: Try go into Tools->Options->Inviro..->General tab and change theme.
          2: Move/rename C:\Users\YOURUSERNAME\AppData\Roaming\QtProject to reset settings.
          (it forgets also all open projects etc)

          L 1 Reply Last reply
          0
          • mrjjM mrjj

            @Lazy93
            Hi
            I was afraid that reinstall was a bad options (or you would already done that)

            As Far as I know, there is no overall Reset thing.

            But you could try to massage it a bit and see if something works:

            1: Try go into Tools->Options->Inviro..->General tab and change theme.
            2: Move/rename C:\Users\YOURUSERNAME\AppData\Roaming\QtProject to reset settings.
            (it forgets also all open projects etc)

            L Offline
            L Offline
            Lazy93
            wrote on last edited by
            #5

            @mrjj
            Hello again, thanks for the suggestions but unfortunately both suggestions did not work. There is a funny way to get things kinda back to how it supposed to work. I need to build my code, and after doing that the application output will appear which is the GUI. While the build GUI appear, I can right click the push button and project files like it used to be few days back. However, this problem is not solved since I will need to always alt+ tab to my GUI , and then right click the Qt Creator behind it.

            mrjjM 1 Reply Last reply
            0
            • L Lazy93

              @mrjj
              Hello again, thanks for the suggestions but unfortunately both suggestions did not work. There is a funny way to get things kinda back to how it supposed to work. I need to build my code, and after doing that the application output will appear which is the GUI. While the build GUI appear, I can right click the push button and project files like it used to be few days back. However, this problem is not solved since I will need to always alt+ tab to my GUI , and then right click the Qt Creator behind it.

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

              @Lazy93
              Hi
              Damn, that would have been to easy. :)

              Ok that sound very convoluted but pretty strange.

              Maybe you could reinstall Qt Creator as its a much smaller standalone download ?
              Qt Creator 3.4.2 for Windows (74 MB) (info)
              http://download.qt.io/official_releases/qtcreator/3.4/3.4.2/qt-creator-opensource-windows-x86-3.4.2.exe

              L 1 Reply Last reply
              0
              • mrjjM mrjj

                @Lazy93
                Hi
                Damn, that would have been to easy. :)

                Ok that sound very convoluted but pretty strange.

                Maybe you could reinstall Qt Creator as its a much smaller standalone download ?
                Qt Creator 3.4.2 for Windows (74 MB) (info)
                http://download.qt.io/official_releases/qtcreator/3.4/3.4.2/qt-creator-opensource-windows-x86-3.4.2.exe

                L Offline
                L Offline
                Lazy93
                wrote on last edited by Lazy93
                #7

                @mrjj
                Hello , thank you for another suggestion , but unfortunately it is still not working. I still can't right click the UI in design mode or even right click the Project files in Edit mode. :(

                mrjjM 1 Reply Last reply
                0
                • L Lazy93

                  @mrjj
                  Hello , thank you for another suggestion , but unfortunately it is still not working. I still can't right click the UI in design mode or even right click the Project files in Edit mode. :(

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

                  @Lazy93
                  Hi
                  So re-installing Creator did not even help.?!

                  Hmm. I am sorry. I don't have anymore ideas to fix it.

                  Last thing. shift+F10 is short key for context menu. If
                  you press that in Edit->Projects (select a file) , no menu is shown ?

                  L 1 Reply Last reply
                  1
                  • mrjjM mrjj

                    @Lazy93
                    Hi
                    So re-installing Creator did not even help.?!

                    Hmm. I am sorry. I don't have anymore ideas to fix it.

                    Last thing. shift+F10 is short key for context menu. If
                    you press that in Edit->Projects (select a file) , no menu is shown ?

                    L Offline
                    L Offline
                    Lazy93
                    wrote on last edited by
                    #9

                    @mrjj
                    Hi,
                    Shift + F10 does shows the menu in the Edit->Project ( my file) . How about to make the menu in the UI design mode appear aside from right clicking ?

                    mrjjM 1 Reply Last reply
                    0
                    • L Lazy93

                      @mrjj
                      Hi,
                      Shift + F10 does shows the menu in the Edit->Project ( my file) . How about to make the menu in the UI design mode appear aside from right clicking ?

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

                      @Lazy93
                      Shift +F10 is a windows shortcut. Do think it works in design. sadly. It will show context menu for main window not the selected
                      widget.
                      So it can draw the menu. Just not with right click. strange!

                      L 1 Reply Last reply
                      1
                      • mrjjM mrjj

                        @Lazy93
                        Shift +F10 is a windows shortcut. Do think it works in design. sadly. It will show context menu for main window not the selected
                        widget.
                        So it can draw the menu. Just not with right click. strange!

                        L Offline
                        L Offline
                        Lazy93
                        wrote on last edited by
                        #11

                        @mrjj
                        Yes, in a way at least I can add files in the project's file easily now. The problem now left is to make the menu for the widget appears. Very strange indeed, its quite a funny bug !

                        mrjjM 1 Reply Last reply
                        0
                        • L Lazy93

                          @mrjj
                          Yes, in a way at least I can add files in the project's file easily now. The problem now left is to make the menu for the widget appears. Very strange indeed, its quite a funny bug !

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

                          @Lazy93
                          Well I agree its a funny bug, also as it makes no sense that right click can fall off"
                          And that reinstalling Creator did not fix it!?

                          Oh a "fix for design mode"
                          If you select the object in the "Object|Class" list to the left,
                          and the does the shift+F10, it does show the right context menu :)

                          L 1 Reply Last reply
                          2
                          • mrjjM mrjj

                            @Lazy93
                            Well I agree its a funny bug, also as it makes no sense that right click can fall off"
                            And that reinstalling Creator did not fix it!?

                            Oh a "fix for design mode"
                            If you select the object in the "Object|Class" list to the left,
                            and the does the shift+F10, it does show the right context menu :)

                            L Offline
                            L Offline
                            Lazy93
                            wrote on last edited by
                            #13

                            @mrjj
                            Hi, yep reinstalling did not fix it . On the other hand, your suggestion of using shift +f10 is great ! As it helps me to proceed with my project now. However, I still don't think I can add [SOLVED] in the title since technically the problem itself is not solved, but rather alternative solution came up.

                            mrjjM 1 Reply Last reply
                            0
                            • L Lazy93

                              @mrjj
                              Hi, yep reinstalling did not fix it . On the other hand, your suggestion of using shift +f10 is great ! As it helps me to proceed with my project now. However, I still don't think I can add [SOLVED] in the title since technically the problem itself is not solved, but rather alternative solution came up.

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

                              @Lazy93
                              I agree, its not solved, just less annoying :)

                              K 1 Reply Last reply
                              2
                              • mrjjM mrjj

                                @Lazy93
                                I agree, its not solved, just less annoying :)

                                K Offline
                                K Offline
                                kumararajas
                                wrote on last edited by
                                #15

                                I do not think that, this have got anything to do with Qt Creator. I could be because, sometimes windows locks few operation and that gets locked only for specific application.

                                You may try googling about right click context menu not appearing inside application in generic words..

                                --Kumar

                                mrjjM 1 Reply Last reply
                                0
                                • K kumararajas

                                  I do not think that, this have got anything to do with Qt Creator. I could be because, sometimes windows locks few operation and that gets locked only for specific application.

                                  You may try googling about right click context menu not appearing inside application in generic words..

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

                                  @kumararajas

                                  Yeah, but its not actually the context menu as such as it can be open by shortcut key

                                  • its more like the actual right click mouse events that stopped working.
                                    But it does work on say the desktop.

                                  But I agree, seems not to be directly Creator as he ran it over.

                                  K 1 Reply Last reply
                                  0
                                  • mrjjM mrjj

                                    @kumararajas

                                    Yeah, but its not actually the context menu as such as it can be open by shortcut key

                                    • its more like the actual right click mouse events that stopped working.
                                      But it does work on say the desktop.

                                    But I agree, seems not to be directly Creator as he ran it over.

                                    K Offline
                                    K Offline
                                    kumararajas
                                    wrote on last edited by
                                    #17

                                    @mrjj Exactly. that's what I think as well...

                                    --Kumar

                                    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