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

Incorrect tooltips for unsigned enum values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 7.0.0
    • Qt Creator 4.10.0-beta2
    • C/C++/Obj-C++ Support
    • Kubuntu 19.04 x86-64
    • Linux/X11

    Description

      When hovering mouse cursor over an enum value, where the enum has an unsigned base type and the value has the most significant bit set, QtCreator displays a tooltip with a negative signed value instead of the positive unsigned.

      In the attached screenshot displaying the problem, the mouse is over `fir`.

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              lastique Andrey Semashev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: