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

Long text labels on QMenus and QActions causes crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.3, 4.7.0
    • 4.6.2
    • None
    • 2dbb9373af3d5cb0d395d99bad285d195ae9fa5c

    Description

      If a QMenu or QAction is created with a label with more than 40 characters it causes a crash on Symbian. This happens due to CEikMenuPaneItem' s limitation.It reserves 40 characters for menu text and trying to set any larger text causes an assert failure.

      Attached is a simple example to reproduce. Just try to open the Options menu of the example and it will crash.

      Qt applications have no way of querying for this maximum length limitation therefore I suggest that Qt on Symbian should cut the text longer than 40 characters.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            gercan Gorkem Ercan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes