Opened 9 years ago

Last modified 2 years ago

#50501 assigned enhancement

glom: use native file dialog for Quartz

Reported by: m.rick@… Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: catap (Kirill A. Korinsky), cooljeanius (Eric Gallager)
Port: glom

Description

Do you think the Quartz build could integer this native dialog? It's a small piece of code to enhance GTK applications and give them native dialogs windows. It is useless for Linux, but can be interesting for Mac users.

https://github.com/mlabbe/nativefiledialog

Known Limitations I accept quality code patches, or will resolve these and other matters through support.

No support for Windows XP's legacy dialogs such as GetOpenFileName. No support for file filter names -- ex: "Image Files" (*.png, *.jpg). Nameless filters are supported, though. No support for selecting folders instead of files. On Linux, GTK+ cannot be uninitialized to save memory. Launching a file dialog costs memory. I am open to accepting an alternative nfd_zenity.c implementation which uses Zenity and pipes.

https://github.com/mlabbe/nativefiledialog/blob/master/screens/open_cocoa.png

I ported a native experimental stand-alone build of Glom that works almost well. It must be stored in the /Applications folder and unsigned applications must be allowed for the first launch. https://www.dropbox.com/s/y78qt7z3ljzzh6n/Glom-1.28.5-postgis.7z?dl=0

Change History (5)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: https://trac.macports.org/query?status=!closed&cc=~murrayc%40murrayc.com removed
Keywords: Glom Quartz removed
Owner: changed from macports-tickets@… to mf2k@…
Port: glom added; Glom removed
Status: newassigned
Version: 2.3.4

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from mf2k@… to macports-tickets@…
Status: assignednew

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Owner: changed from macports-tickets@… to catap
Status: newassigned
Summary: Give native file dialog to Glom Quartzglom: use native file dialog for Quartz

Given how old this ticket is, it's possible that this is already the case with the latest release of glom, gtk3, etc.

But we should test a Quartz install, to see whether that's the case.

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: catap added; mascguy removed
Owner: changed from catap to mascguy

comment:5 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.