Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26316

QtCreator crashes when right-clicking in a switch statement

    XMLWordPrintable

Details

    • Linux/X11
    • 6dd66e012b49f634541457aafffc2367e91d95e7 (qt-creator/qt-creator/6.0)

    Description

      Is this related to QTCREATORBUG-26043? No idea.

      I have this ugly habit where I just keep right-clicking when I'm thinking... and I started noticing that QtCreator is crashing at times when I right-click. Then I tried to find out where it crashes, and it then turns out it's crashing when I right-click in the scope of a switch statement. Literally.

      Here's a screenshot of where I can reliably reproduce this (I tried to upload this here, but it won't work... it keeps saying token missing):

      https://imgur.com/a/6riN9Ft

      If I click inside a loop, all good. If I right click in the scope of the switch, it crashes.

      EDIT: If the switch statement is NOT in a member function, it won't crash.

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            thedestroyer Samer Afach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: