Discussion:
[bug #52957] Document based applications cannot load assigned file types in open panel
Gregory John Casamento
2018-01-23 00:30:17 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?52957>

Summary: Document based applications cannot load assigned
file types in open panel
Project: GNUstep
Submitted by: gcasa
Submitted on: Mon 22 Jan 2018 07:30:15 PM EST
Category: Gui/AppKit
Severity: 5 - Blocker
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

NSOpenPanel/NSSavePanel is not properly setting "Ok" as active or not when the
file is selected in the table view and, thus, is not allowing the user to
select the file and then open it. If the user types the file name they can
open it, but it cannot be opened by selection.

Steps to reproduce:

1) open a document based application (Gorm, PRICE, etc)
2) Click on the Open menu
3) Navigate to a place where those file types exist
4) Attempt to click on a file of the type this app expects

RESULT: You will not be able to select the file and open it.
EXPECTED: You should be able to select and open the file and open it.

GC




_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Riccardo Mottola
2018-01-23 00:42:35 UTC
Permalink
Follow-up Comment #1, bug #52957 (project gnustep):

Selecting a file or directory should put it in the text panel, it is not
happening.
NSSavePanel.m:488 should set the value on selected change, but apparently
doesn't get there. _selectTextInColumn is never called!
I understand _selectText should be called as action on a selection change, but
it does not happen.

_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2018-01-23 20:00:07 UTC
Permalink
Update of bug #52957 (project gnustep):

Status: None => Ready For Test
Assigned to: None => FredKiefer
Open/Closed: Open => In Test

_______________________________________________________

Follow-up Comment #2:

This behaviour was caused by an inconsistent target selection in NSSavePanel.
This worked until I recently corrected the way NSApplication finds the target
for an action. It should be fixed now and other similar cases should report
the issue on the command line to make it easier to detect and fix.

_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Riccardo Mottola
2018-01-24 11:27:54 UTC
Permalink
Update of bug #52957 (project gnustep):

Status: Ready For Test => Fixed
Open/Closed: In Test => Closed

_______________________________________________________

Follow-up Comment #3:

The fix looks fine and appears also to work well.

_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...