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

QEvent::FileOpen Single vs. Multiple Events

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2, 6.0.0
    • Fix Version/s: None
    • Component/s: GUI: Drag and Drop
    • Labels:
      None
    • Platform/s:
      All

      Description

      This is a resurrection of an old discussion from the Qt lists. In essence, dragging multiple files to the app icon results in multiple QEvent::FileOpen's being emitted, even though the NSApplicationDelegate receives the file list in a single event. I understand this use case, but would like to propose adding a way to retrieve the original list of dropped files.

      I personally don't have much preference for the way in which this is implemented. The original discussion proposed augmenting the FileOpen event with a pluralized urls() or files() method. 

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            csparker247 Seth Parker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes