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

Add support for enabling selectable text

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • GUI: Text handling
    • None

    Description

      Static text (text labels and similar) is currently not selectable (for copying to the clipboard) by default in Qt. This matches common desktop application behavior.

      For Qt on WebAssembly the expectations are different - on the web platform users expect that text is generally selectable.

      We should consider adding a way for the platform to provide the behavior (QTBUG-116044).

      UI controls which already supports text selection are in-scope. On the Qt Widgets side this would be widgets which support Qt::TextInteractionFlags. On the Qt Quick side we would should consider QTBUG-14077 again, if we decide to go ahead with this feature.

      There might also be a use-case for developers overriding the default. This is tracked in QTBUG-116046.

       

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              sorvig Morten Sørvig
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes