Re: [Interest] QEvent::FileOpen : opening single vs. multiple documents

2018-01-27 Thread René J . V . Bertin
On Saturday January 27 2018 20:24:04 Jake Petroules wrote: > What we should do instead is allow QFileOpenEvent to store a list of files > instead of just a single one. That probably should have been done from the onset, because introducing this now almost certainly means new API. There's no tim

Re: [Interest] QEvent::FileOpen : opening single vs. multiple documents

2018-01-27 Thread Jake Petroules
NSApplicationDelegate has a method which is called when a request to open multiple files is made. https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428742-application?language=objc Qt does indeed enumerate the files in this list and issue a separate file open event for eac

[Interest] QEvent::FileOpen : opening single vs. multiple documents

2018-01-27 Thread René J . V . Bertin
Hi, Judging from the behaviour of native Mac applications like Preview.app there must be a distinction in the LaunchServices messages being sent when the user requests the opening of a single document vs. a collection of documents. Preview.app for instance will open a new window for each reques