bugGNUstep - Bugs: bug #25103, Open panel no longer recognises...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25103: Open panel no longer recognises file extensions properly

Submitted by:  Richard Frith-Macdonald <CaS>
Submitted on:  Tue 16 Dec 2008 04:14:27 PM UTC  
 
Category: Gui/AppKitSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 16 Dec 2008 07:52:18 PM UTC, comment #1:

Well, I now know the reason ... and it's a combination between the gui and projectcenter.

The NSOpenPanel code is based in NSSavePanel, which asks NSWorkspace about the path extensions for file packages. This was failing to recognise .theme as a valid extension for Thematic.app because the Info_gnustep.plist (set by projectcenter) was an empty string. Getting NSWorkpace to treat an empty string like nil, and thus recognise the path extension fixes this.

However ... ProjectCenter really shouldn't be setting an empty string for the applications's role in handling the path extension.

Richard Frith-Macdonald <CaS>
Project Member
Tue 16 Dec 2008 04:14:27 PM UTC, original submission:

In Thematic.app, if I go to open an existing theme, the open panel now shows it as a directory so that I can't select/open it. It would appear that the open panel is no longer recognising the file extension as it should.

Richard Frith-Macdonald <CaS>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Dec 2008 07:52:18 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1