bugGNUstep - Bugs: bug #28585, Unable to edit columns of tables...

Group
 
 

bug #28585: Unable to edit columns of tables inside a TabView in Gorm.

Submitter:  Germán Arias <espectador>
Submitted:  Wed 13 Jan 2010 05:01:41 AM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Aug 2011 07:44:15 AM UTC, comment #1: 

The problem lies into [GormScrollViewEditor mouseDown:] which calls edited object's -[hitTest:] with the point in the window coordinates (not the edited object's superview ones as stated in the Apple documentation of -[NSView hitTest:]: "aPoint is in the coordinate system of the receiver’s superview, not of the receiver itself.")

I have attached the patch fixes the problem which is manifested not only when NSTableView resides inside NSTabView but with any NSTableView is inside a view other than window's content view (see the additionally attached gorm file).

(file #23903, file #23904)

Sergei Golovin <svg>
Wed 13 Jan 2010 05:01:41 AM UTC, original submission:  

Create a new application in gorm, add a tabview to the window. Now add a table inside the tabview. You can't select the columns in that table to edit these.

Germán Arias <espectador>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23903:  GormScrollViewEditor.patch added by svg (1023B - text/x-patch)
file #23904:  NSTableColumnResizing.gorm.tar.bz2 added by svg (3KiB - application/x-bzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by svg (Updated the item)
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by espectador (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-30 svg Attached File- Added GormScrollViewEditor.patch, #23903
        Attached File- Added NSTableColumnResizing.gorm.tar.bz2, #23904
    2010-05-11 FredKiefer CategoryApplication Gorm

    Back to the top

    Powered by Savane 3.13-4b4b.
    Corresponding source code