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

 
 

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

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

Submitted by:  Nikolaus Waxweiler <madleser>
Submitted on:  Sat 03 Feb 2007 10:51:43 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

(Jump to the original submission 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>
Project 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>
Project 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>
Project 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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ratmice (Posted a comment)
  • -unavailable- added by madleser (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Feb 2007 07:02:34 AM UTCratmiceStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 03 Feb 2007 10:51:43 PM UTCmadleserAttached File-=>Added GNUstep-NSTableView-NSPopupButtonCell-Bug.tar.bz2, #11914

    Back to the top


    Powered by Savane 3.1-cleanup1