Hi all,

> This cairo/back combo is so far unusable for me. I will try libart now ...

        apt-get install libart-2.0-dev

        cd /usr/src/GNUstep
        cd libs-back
        ./configure --enable-graphics=art
...
## ------- ##
## WARNING ##
## ------- ##
You are about to build the art backend which is deprecated
and likely to be removed in the future.

        make
        make install
        cd ..

I have retried my application under art. When I open one of the problematic 
forms I now get 

2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1183. In 
-[NSView setFrame:] given negative width
2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1188. In 
-[NSView setFrame:] given negative height
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Warning: shmget() failed: 
Invalid argument.
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Falling back to normal 
XImage (will be slower).
2020-05-06 18:43:11.384 SOObjectBrowser[8177:8177] Warning: failed to create 
image for window!
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Warning: shmget() failed: 
Invalid argument.
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Falling back to normal 
XImage (will be slower).
2020-05-06 18:43:11.387 SOObjectBrowser[8177:8177] Warning: failed to create 
image for window!
2020-05-06 18:43:12.696 SOObjectBrowser[8177:8177] X-Windows error - BadAlloc 
(insufficient resources for operation)
          on display: :0
                type: 0
       serial number: 21442
        request code: 130
2020-05-06 18:43:12.697 SOObjectBrowser[8177:8177] X-Windows error - BadPixmap 
(invalid Pixmap parameter)
          on display: :0
                type: 0
       serial number: 21443
        request code: 2

and the app fails (hangs). Hmmgh!! Could the problem be related to this

2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1183. In 
-[NSView setFrame:] given negative width
2020-05-06 18:43:11.295 SOObjectBrowser[8177:8177] File NSView.m: 1188. In 
-[NSView setFrame:] given negative height

message? My code works on MacOSX and used to work on older GNUstep releases. 
This of course does not mean much. There could still be a problem that is 
tolerated by the other two environments. I will try to figure out where this 
"given negative ..." stuff comes from. However, if this already rings any bells 
I would be glad to hear your suggestions. 

Thanks,

  Andreas

    • ... Andreas Höschler via Discussion list for the GNUstep programming environment
      • ... Svetlana
        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
      • ... Liam Proven
        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
          • ... Liam Proven
          • ... Johannes Brakensiek
            • ... Andreas Höschler via Discussion list for the GNUstep programming environment
  • ... Riccardo Mottola
    • ... Andreas Höschler via Discussion list for the GNUstep programming environment
      • ... Andreas Höschler via Discussion list for the GNUstep programming environment
        • ... Andreas Höschler via Discussion list for the GNUstep programming environment
          • ... Andreas Höschler via Discussion list for the GNUstep programming environment
            • ... Riccardo Mottola
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer
              • ... Fred Kiefer
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer
              • ... Andreas Höschler via Discussion list for the GNUstep programming environment
              • ... Fred Kiefer

Reply via email to