Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64910

Can't undo using Ctrl+Z after failed "Find Usages"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.6.2
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Environment:
      Ubuntu 14.04 LTS 64 bit
      Qt 5.4.0
      With Qt 5.3.2, I could not reproduce step 6.

      Description

      1. Create a new Qt Widget Application project.
      2. Open main.cpp from this project.
      3. Type something in this file.
      4. Press Ctrl+Z.
        Changes will be undone.
        So in general, the shortcut works.
      5. Move the cursor to the object "w".
      6. Press Ctrl+Shift+U for "Find Usages".
        Instead of triggering "Find Usages", an "U" will be inserted.
        Sometimes I saw it work, but in most cases, the "U" will be written. I guess this is because of Ubuntu's shortcuts getting in the way. This would be a separate issue anyway.
      7. Press Ctrl+Z to undo the insertion.
        Nothing happens.
      8. Click the menu bar and then the editor.
      9. Press Ctrl+Z to undo the insertion.
        Now, the change will be undone.

      Ctrl+Z should work whenever there are changes in the open file.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              rlohning Robert Löhning
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes