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

mouserelease event is missing from QLabel with rich test inside

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.6.3, 6.0.0
    • None
    • 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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mcrahr Michael Rahr
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes