bugGNUstep - Bugs: bug #18946, NSPopupButtonCell in a NSTableView...

Group
 
 

bug #18946: NSPopupButtonCell in a NSTableView does not send tableView:setObjectValue:forTableColumn:row:

Submitter:  Nikolaus Waxweiler <madleser>
Submitted:  Sat 03 Feb 2007 10:51:43 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 05 Feb 2007 07:02:34 AM UTC, comment #6: 

Closing this as fixed, please open another bug report for the handle_long_long_max error

make sure you've rerun configure maybe something has changed in your system headers since it was run?
only other thing i can think of is something GSFormat is including is #undef'ing LONG_LONG_MAX

matt rice <ratmice>
Group Member
Sun 04 Feb 2007 02:51:50 PM UTC, comment #5: 

Still using the release.. I tried to install the SVN version, but -base errors out with "GSFormat.m:115:2: #error handle_long_long_max defined without long_long_max being defined".

Nikolaus Waxweiler <madleser>
Sun 04 Feb 2007 02:24:14 PM UTC, comment #4: 

using svn or still using the release?

NSTableView was kindof confused in the past releases opting for the 'editable' definition of 'changes object values' where 'editable' should have meant 'can be edited by doing keyboard input'.

NSTableView in svn has changed to the latter definition, using that it should work ok


matt rice <ratmice>
Group Member
Sun 04 Feb 2007 01:26:55 PM UTC, comment #3: 


> and making the table columns ineditable in the gorm file.

Hum, when making the checkbox column not editable, I can't click the checkboxes. Another bug?

Nikolaus Waxweiler <madleser>
Sun 04 Feb 2007 01:06:29 PM UTC, comment #2: 

commited something to partially fix this in svn.

there are some related but much more intrusive changes that need to be made to NSTableView -mouseDown: I haven't yet done.

you will notice that this doesn't currently select a row when doing pop-ups... the mouseDown: row selection needs to be turned upside down, and row selection needs to be moved before cell tracking instead of at the end of the loop.

beyond that theres a few issues in the application that wouldn't be visible in OS X,

popUpCell and checkBoxCell should not be editable, you can see the effect by continuously clicking the check box like 10 times eventually it will stop toggling, you can fix this by
changing the -setEditable: calls to NO
and making the table columns ineditable in the gorm file.


matt rice <ratmice>
Group Member
Sun 04 Feb 2007 12:30:04 PM UTC, comment #1: 

Forgot to add: I'm on FreeBSD 6.2, Xorg 6.9.0, gcc 3.4.6, gnustep-back-art-0.11.0, gnustep-base-1.13.1, gnustep-gui-0.11.0, gnustep-make-1.13.0_4

Nikolaus Waxweiler <madleser>
Sat 03 Feb 2007 10:51:43 PM UTC, original submission:  

1. Get attachment
2. gmake && ./Squec.app/Squec
3. Click on a random popup button in the 2. column and select a random item
4. The text field on the left should display something like "Popup #x clicked. Selected index: y", but doesn't. See http://homepage.mac.com/tonyswu/tonyswu/computer/sample/cocoa/cellintv/index.html for the expected result.
(4.5. Note how when depressing the mouse button, the table field under the cursor is selected after the popup menu goes away. Is this intended? It shouldn't, imo, since the user did not actually click on the field himself)
5. Click on a random checkbox, see expected message appear in text field.

Nikolaus Waxweiler <madleser>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by madleser (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
    2007-02-05 ratmice StatusNone Fixed
        Open/ClosedOpen Closed
    2007-02-03 madleser Attached File- Added GNUstep-NSTableView-NSPopupButtonCell-Bug.tar.bz2, #11914

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code