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

mouserelease event is missing from QLabel with rich test inside

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Out of scope
    • Affects Version/s: 4.6.3
    • Fix Version/s: Some future release
    • Labels:
      None
    • Environment:
      Windows running symbian simulator, but it is the same on target.

      Description

      If you have a frame, and create a label with the Frame as parent, and then set the text as rich text
      then you only get mousepressevent on that label, the mouse releaseevent is missing.

      mAppName = new QLabel(ui->frame); //AppName Label should be path of the master frame
      mAppName->setText("<font color=black><font size=12px>Cust App</font>");

      if you on the other hand just use plain text, you get both mousepress and release event
      mAppName->setText("Test test test test");

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mcrahr Michael Rahr
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes