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. Ctrl-Click not working
Forum Updated to NodeBB v4.3 + New Features

Ctrl-Click not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 7 Posters 2.1k Views 3 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.
  • R Offline
    R Offline
    RobertoC
    wrote on 4 Mar 2020, 09:01 last edited by
    #1

    Hello,

    I have the Qt creator 4.11.0 and ctrl-click shortcut doesn't always work. I have to click a lot of times on a function name to take me to the function definition. Any ideas why?

    Thanks,
    Roberto

    J 1 Reply Last reply 4 Mar 2020, 09:18
    0
    • R RobertoC
      4 Mar 2020, 09:01

      Hello,

      I have the Qt creator 4.11.0 and ctrl-click shortcut doesn't always work. I have to click a lot of times on a function name to take me to the function definition. Any ideas why?

      Thanks,
      Roberto

      J Offline
      J Offline
      JonB
      wrote on 4 Mar 2020, 09:18 last edited by
      #2

      @RobertoC
      Just checked and it works OK for me (Linux, Creator 4.8.1). I don't know the answer, but I suppose the first thing to ask is: once you hold Ctrl key down, if you move mouse over the function you want to click on does it show the underline to indicate clickable or not when it is not going to work? Does it make any difference to your behaviour if when you hold Ctrl the mouse pointer is already over the function name versus if you move the mouse from outside the function name onto the function name?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RobertoC
        wrote on 4 Mar 2020, 10:44 last edited by RobertoC 3 Apr 2020, 11:25
        #3

        It doesn't make any difference if the mouse pointer is already over the function or is outside the functions. Also, every time I hold down the Ctrl the function name, or parameters which can be accessed are underlined.

        J 1 Reply Last reply 4 Mar 2020, 11:39
        0
        • R RobertoC
          4 Mar 2020, 10:44

          It doesn't make any difference if the mouse pointer is already over the function or is outside the functions. Also, every time I hold down the Ctrl the function name, or parameters which can be accessed are underlined.

          J Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 4 Mar 2020, 11:39 last edited by
          #4

          @RobertoC its a matter of project size, I'm afraid.

          will always work in small projects. You can turn of the clang code model (if it's still possible in 4.11) that should help


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            RobertoC
            wrote on 4 Mar 2020, 11:44 last edited by
            #5

            The project size is not big. Also, cland code model is disabled.

            Everything worked fine on 4.8.1, but since updating to 4.11.0 it's not working. I also tried reinstalling the old version but now it happens also on that one.

            Thanks

            M 1 Reply Last reply 4 Mar 2020, 13:34
            0
            • R RobertoC
              4 Mar 2020, 11:44

              The project size is not big. Also, cland code model is disabled.

              Everything worked fine on 4.8.1, but since updating to 4.11.0 it's not working. I also tried reinstalling the old version but now it happens also on that one.

              Thanks

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 4 Mar 2020, 13:34 last edited by
              #6

              @RobertoC
              Is pressing F2 on the symbol also slow ?

              R 1 Reply Last reply 5 Mar 2020, 07:25
              1
              • M mrjj
                4 Mar 2020, 13:34

                @RobertoC
                Is pressing F2 on the symbol also slow ?

                R Offline
                R Offline
                RobertoC
                wrote on 5 Mar 2020, 07:25 last edited by
                #7

                @mrjj F2 works perfectly.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lordadamson
                  wrote on 25 Aug 2021, 16:29 last edited by
                  #8

                  I have the same exact issue. And F2 works perfectly with me as well.
                  I'd report a bug. But I don't know what information to include.

                  I'm on macos so it's cmd+click for me.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sergey I.
                    wrote on 22 Oct 2021, 17:59 last edited by
                    #9

                    Exactly same problem for me. Quite a small project but uses Boost lib which is definitely a huge lib. So ctrl+click takes ages to go to an identifier but F2 works just fine.
                    Without Boost everything works fine.

                    M 1 Reply Last reply 15 Nov 2021, 06:28
                    1
                    • S Sergey I.
                      22 Oct 2021, 17:59

                      Exactly same problem for me. Quite a small project but uses Boost lib which is definitely a huge lib. So ctrl+click takes ages to go to an identifier but F2 works just fine.
                      Without Boost everything works fine.

                      M Offline
                      M Offline
                      mts1715
                      wrote on 15 Nov 2021, 06:28 last edited by
                      #10

                      @Sergey-I said in Ctrl-Click not working:

                      Exactly same problem for me. Quite a small project but uses Boost lib which is definitely a huge lib. So ctrl+click takes ages to go to an identifier but F2 works just fine.
                      Without Boost everything works fine.

                      Same at my project: before adding boost everything worked good, but now ctrl-click redirecting takes about 5-10 seconds.

                      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