bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34490] -[NSWorkspace open*] implemented uselessly


From: julian
Subject: [bug #34490] -[NSWorkspace open*] implemented uselessly
Date: Wed, 05 Oct 2011 21:59:04 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]