gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 102 forks source link

Getting "title" for NSTextField when loading XIB on Windows. #77

Open gcasa opened 4 years ago

gcasa commented 4 years ago

scsi2sd_windows

My environment is MSYS2 on Windows 10. I set it up using Riccardo's instructions here:

http://wiki.gnustep.org/index.php/Installation_MSYS2

I am using GCC10 and the Cairo backend. The win32 backend dies. This is apparently happening because setFont: is called after the contents are sent in NSCell, but I can't determine why... this is happening in -[NSCell initWithCoder:]

SCSI2SD is located at:

https://github.com/gcasa/SCSI2SD-V6-Cocoa on the branch windows_changes.

This also happens with NSStoryboard_test and other XIB based tests.

Procedure to reproduce:

  1. install GNUstep on windows using the instructions above
  2. download and build one of the tests specified above
  3. run
  4. you will see something like the above for NSTextFields.

expected: It should show the correct strings.

gcasa commented 4 years ago

I have tested the latest on Linux and this is not happening there, so it is windows specific for whatever reason.

gcasa commented 4 years ago

Incidentally, the setFont: call causes a crash under the WIN32 backend.

fredkiefer commented 3 years ago

You are talking about two bugs here. One with the win32 backend and one for the cairo backend. Could you please open two separate bug reports for these? It is not clear when you are talking about either of these.

Could you also state which of these two bugs is still present?