bugGNUstep - Bugs: bug #34927, NSOpenGLView subclasses only work...

 
 

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

bug #34927: NSOpenGLView subclasses only work when added as "custom view" to the NIB file

Submitted by:  julian <julian_>
Submitted on:  Mon 28 Nov 2011 04:10:31 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 28 Nov 2011 04:10:31 PM UTC, original submission:

hello

this bug seems to be similar to bug #34764 where custom classes don't properly get decoded from XIB files. but this is with NIB files.

attached is a simple NSOpenGLView example.

CocoaGL-1 works fine. the NSOpenGLView is added as a custom view to the NIB file and the pixel format is set up in the code.

CocoaGL-2 doesn't work on gnustep. the only difference is that the NSOpenGLView subclass has been added to the nibfile not by adding a "custom view" and changing its class but by adding a NSOpenGLView and changing its class to the subclass. the pixel format is setup right in Interface Builder instead of in the code.

both examples work fine under Mac OS X, but only the first one works on gnustep.

julian <julian_>

 

Attached Files
file #24488:  Archiv.tar.gz added by julian_ (919kB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by julian_ (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Nov 2011 04:10:54 PM UTCjulian_Attached File-=>Added Archiv.tar.gz, #24488

    Back to the top


    Powered by Savane 3.1-cleanup