URL:
  <http://savannah.gnu.org/bugs/?34490>

                 Summary: -[NSWorkspace open*] implemented uselessly
                 Project: GNUstep
            Submitted by: julian_
            Submitted on: Mi 05 Okt 2011 21:59:03 GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

the NSWorkspace method families

- (BOOL)openFile:(NSString *)fullPath
- (BOOL)openURL:(NSURL *)url

are implemented in a quite useless way. if they don't find a GNUSTEP
application to open the file / url, they just fail - even if non-GNUSTEP apps
to open the file/url are installed. this may be useful in a gnustep desktop
environment, but is completely counter-productive when deploying a
gnustep-using app in a gnome/kde/xfce/whatever world.

attached patch fixes the issue by opening the file/url with xdg-open, the
freedesktop.org standard for opening files/urls. only as a fallback of
course.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mi 05 Okt 2011 21:59:03 GMT  Name: open.diff  Size: 1kB   By: julian_

<http://savannah.gnu.org/bugs/download.php?file_id=24107>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34490>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to