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

make QAbstractItemView's `activated` signal more consistent among platforms

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0, 5.15.0 RC2
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:

      As far as I can tell, this affects all versions and is not depend of hardware.

    • Platform/s:
      All, macOS

      Description

      ItemViews are great since you get a lot of interaction for free using the built in signals. A good example is the activated signal, when a cell is double clicked (on most platforms), but keyboard interaction is also possible. Herein lies my suggestion, since this is not consistent among platforms.

      On Windows and Linux based systems, we can select a cell by using the arrow keys, and activate it pressing the Enter or Return key. On MacOS systems we can similarly select a cell, but the Return key does not activate it. Instead this has been assigned to ⌘+O, to much of confusion of our users that use our software cross platform.

      I am curious why this decision has been made; I myself am not a MacOS user, but I have asked around, and most users that do were puzzled as well. The more that {{⌘+O }}is usually reserved for opening files, as is the case in our software. I also came across this question, so there might be more people wondering the same.

      My suggestion is, to also allow the enter/return key to be used to activate items/cells in future versions for MacOS, to be more consistent with their Windows and Linux counterparts.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            ferryt Fqt Timmers
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes