freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.66k stars 172 forks source link

GUI v2: Drag-and-drop interface #892

Open apyrgio opened 2 months ago

apyrgio commented 2 months ago

Main issue: #885

Update our existing drag-and-drop interface (see #409) for adding documents:

Once a document is added, the document pop-up should appear (see https://github.com/freedomofpress/dangerzone/issues/890). Once the user confirms the conversion, the windows should switch to the conversion view.

Design material

No document selected

image

Current way to add documents

image

harrislapiroff commented 2 months ago

Group 2

Here's an idea for the drag and drop interface. If we want to maintain our branding, we can have it peeking in through the side as shown. Alternatively, we could omit that for a simple "brandless" look.

I have omitted the Dangerzone logo, but I think that's fine since it is present in the app icon.

Again, I've designed this with macOS in mind (I've had a hard time finding premade UI kits for other OSes 😢) and I imagine this won't work for all OSes. In particular the combined toolbar is a very Mac idiom and I'm not sure if Qt supports it. If not, this design could be adapted by moving the toolbar below the titlebar.

Group 2