GNU bug report logs -
#76120
[PATCH] Expose the native sharing dialog (macOS)
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi Eli and Stefan,
Attaching the latest iteration of the patch (renamed
0003-Add-context-menu-share-to-mouse.el.patch) incorporating your
feedback.
New in patch:
- Sharing/opening file externally is now generic and available via
context menu (needs context-menu-mode enabled) on multiple
platforms.
- Added file opening/sharing support for GNU/Linux via (xdg-open)
and any other platform which support it.
- Region/text opening/sharing is now supported by xdg-open too.
- Sharing/opening routing behavior is now configurable and can
override the context menu implementation.
- Removes lambda usage from Objective-C/native code.
- Guards macOS addition via NS_IMPL_COCOA (avoid breaking
GNUstep).
While routing logic is now configurable, it'be great to extend the
default behavior for other platforms. Android sounds like a great
candidate as per Rudolf's suggested API
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76120#47. Any
Android folks keen on extending the feature?
Also attaching screenshots as per current patch for both GNU/Linux
and macOS.
Álvaro
[0003-Add-context-menu-share-to-mouse.el.patch (text/x-patch, attachment)]
[macos.jpg (image/jpeg, attachment)]
[linux.jpg (image/jpeg, attachment)]
This bug report was last modified 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.