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

QEvent::FileOpen Single vs. Multiple Events

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.0.0
    • GUI: Drag and Drop
    • None
    • 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

            Unassigned Unassigned
            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