Results 1 to 8 of 8

Thread: Debugging shortcuts broken by Ubuntu 11.04

  1. #1
    Join Date
    Mar 2006
    Location
    Chicago
    Posts
    8
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Debugging shortcuts broken by Ubuntu 11.04

    I just upgraded to Ubuntu 11.04. Unity seems to have broken the ability to use key shortcuts for the "step over" command in qtcreator.

    I assume this is related to Unity binding the F10 key (standard Step Over key shortcut) to the menu bar. However, when I disable this feature, I am still not able to get it to work in the QtCreator debugger. I have also tried assigning other custom shortcuts to this command and none of them seem to work. I even upgraded to the most recent QtCreator, hoping this may address the issue, but this also did not help.

    Any suggestions or solutions to this problem would be most appreciated.

    Thanks in advance,

    Greg

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    You can assign "step over" a different shortcut.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2006
    Location
    Chicago
    Posts
    8
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    Quote Originally Posted by wysota View Post
    You can assign "step over" a different shortcut.
    Quote Originally Posted by gmiller39 View Post
    I have also tried assigning other custom shortcuts to this command and none of them seem to work.
    Yes, I tried this. For some reason it does not work.
    Last edited by gmiller39; 9th May 2011 at 11:24.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    So maybe that's not the problem.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jul 2009
    Location
    Italy, Pieve Ligure (GE)
    Posts
    55
    Thanks
    7
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    I recently upgraded to Ubuntu 11.04 AND to Qt SDK 1.1 at the same time and I am facing the same problem.

    Note:
    a) I use the Ubuntu Classic interface, not the Useless new interface.
    b) I have installed the latest pre-compiled Qt SDK binaries (32bit), without compiling it myself.

    I noticed the following:

    1) The issue affects F10 (Step Over) and F5 (Run) most of the times; F9 (Toggle Breakpoint) often and F11 (Step Into) sometime.

    2) By keeping the keys pressed longer, they finally work; usually the key auto-repeat had already kicked in and I get several 'clicks' in a row (which is not convenient, of course!)

    3) After I use the menu item once instead of the shortcut, the F10 key works fine a few time (4 or 5), then it resumes its lazy behaviour.

    So, this does not seem to be related to Unity key binding(s), rather it seems some other kind of interaction between the OS and Qt Creator itself.

    Hoping it might help...

  6. #6
    Join Date
    May 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    Try this link: http://www.youtube.com/watch?v=UTPvtkDX8vc
    The video is for Midnight Commander, but works for Qt Creator too.
    Regards,
    Vladimir

  7. #7
    Join Date
    Mar 2006
    Location
    Chicago
    Posts
    8
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    I still have not resolved this issue. The link posted by morosev seemed useful but in the end did not help. It is worth mentioning that I am unable to bind F10 to anything in Matlab either. Though in Matlab, I can bind other keys to the step over command. I have no problems with this when I run KDE.

  8. #8
    Join Date
    Jul 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debugging shortcuts broken by Ubuntu 11.04

    i fixed it by using the compiz config settings manager (ccsm). you might need to install it via synaptic package manager if you don't have it. run it, then click "ubuntu unity plugin", then on the "behavior" tab change "key to open the first panel menu" from F10 to Disabled or whatever you want. click apply. meow you can use F10 to step over.

Similar Threads

  1. Broken Qt
    By hakermania in forum Installation and Deployment
    Replies: 7
    Last Post: 9th September 2010, 08:02
  2. Replies: 3
    Last Post: 6th September 2010, 23:00
  3. QGraphicsGridLayout Broken
    By oberlus in forum Qt Programming
    Replies: 1
    Last Post: 27th August 2010, 10:32
  4. Replies: 0
    Last Post: 4th November 2009, 07:45
  5. Qt4.3 broken by Qt4.4
    By bnilsson in forum Installation and Deployment
    Replies: 2
    Last Post: 4th January 2008, 11:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.