Opened 17 years ago
Last modified 17 years ago
#1734 closed bug
BDirectWindow apps compiled for R5 don't work in Haiku — at Version 4
Reported by: | jackburton | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1/alpha1 |
Component: | Kits/Interface Kit | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
I copied the R5 devtools to my haiku partition and compiled the sample apps Chart and Stars. They start up correctly but only show a black window. If the same applications are cross compiled from within the haiku build environment (under linux) they work correctly. After investigating a bit, it seems that their inherited DirectConnected() method is never called. I added some debug output to our BDirectWindow implementation, and the _DirectDaemon() method loops correctly, acquires the fDisableSem correctly, and then releases the fDisableSemAck correctly. So the code path looks okay, just that the virtual inherited version of DirectConnected() is never called. Anyone has any idea ?
Change History (4)
comment:1 by , 17 years ago
follow-up: 3 comment:2 by , 17 years ago
Yes, I would guess it is related. Have you tried replacing the R5 libraries in the development tools folder with the Haiku libraries? If you use Oliver's GCC, there is also something related to BDirectWindows in the gcc folder, I think there is an option to disable it's usage, should be in the README of Oliver's gcc.
comment:3 by , 17 years ago
Replying to stippi:
Yes, I would guess it is related. Have you tried replacing the R5 libraries in the development tools folder with the Haiku libraries?
No, I haven't tried. Although I'd like to point out that this is a binary compatibility issue, if I have to do that. IOW: R5 apps won't work unless recompiled. On a side note: Does wonderbrush use a BDirectWindow for the about box ? Because that too shows a black window.
If you use Oliver's GCC, there is also something related to BDirectWindows in the gcc folder, I think there is an option to disable it's usage, should be in the README of Oliver's gcc.
Yeah I remember that, but I'm using the old R5 development package.
comment:4 by , 17 years ago
Description: | modified (diff) |
---|
Could this be related to #1259 ?