Closed
Bug 75609
Opened 23 years ago
Closed 23 years ago
Cannot use Windows MSAA support with WINVER=0x0400
Categories
(SeaMonkey :: Build Config, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: aaronlev, Assigned: aaronlev)
References
Details
(Keywords: access, Whiteboard: ETA mm/dd???; needed for embedding 0.9)
Attachments
(3 files)
741 bytes,
patch
|
Details | Diff | Splinter Review | |
1.06 KB,
patch
|
Details | Diff | Splinter Review | |
3.80 KB,
patch
|
Details | Diff | Splinter Review |
The current build system uses a default WINVER of 0x0400. This gives us the lowest common denominator of Windows support. However it does not define some things we need to support MSAA (Microsoft Active Accessibility), such as OBJID_WINDOW and WM_GETOBJECT. Is there any reason we can't use WINVER=0x0500 as the default now? I notice that in some modules, people are forcing WINVER = 0x0500 temporarily before they include certain files.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Leaf, I have a workaround. I don't know if you still want to try and fix the WINVER problem for future work.
Assignee | ||
Comment 3•23 years ago
|
||
Leaf, can you try building on NT with my patch and WINVER=0x0400? If you can test it and see that it still builds a working program, and r= this, that would be great. Aaron
Assignee: leaf → aaronl
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
\ No newline at end of file is there a reason to keep this one: // accessibility only on Windows2000 and Windows98 but not most of them: ? - // accessibility only on Windows2000 and Windows98
Comment 7•23 years ago
|
||
I applied the patch and compiled on NT4 sp6. It compiles just fine, but I don't see a change with what I can find using the Inspect Objects tool from MSAA. I can't step to individual elements inside the webpage, just the outermost window/frame the min/max/close buttons and then it jumps to the console window that launched the broswer.
Assignee | ||
Comment 8•23 years ago
|
||
Interesting, well at least it compiles on all platforms now. Did you rebuild everything or just the accessible, layout and widget directories? Also, sometimes you need to do: nmake /f makefile.win depend before nmake /f makefile.win Don't be deeper than a top level directory of mozilla, otherwise it won't use the "build" directory and link the .dll's.
Assignee | ||
Comment 9•23 years ago
|
||
Oh, one more thing - are you testing it with mfcembed or with Mozilla/NS6? It won't work with a XUL-based browser at all. You have to test with mfcembed.
Comment 10•23 years ago
|
||
I initially just applied the patch and rebuilt ( nmake -f client.mak build_all ) from the mozilla directory assuming the makefile system would pick up the file modifications ( which in retrospect I think it did ). Then I tested using mozilla. Not seeing the results I was hoping for, I clobbered ( nmake -f client.mak clobber_all ) and rebuilt the entire tree from mozilla ( nmake -f client.mak build_all ). Re-tested using mozilla and saw the same thing. I don't see a mfcembed binary in the dist\W*\bin directory. How do a test using that?
Comment 11•23 years ago
|
||
you should have --enable-tests (or not have --disable-tests) and you should not have NO_MFC. try cd mozlla\embedding\tests\mfcembed nmake /f makefile.win install [i don't have mfc installed, so i haven't played w/ this]
Comment 12•23 years ago
|
||
Thanks for the pointer timeless. Woo-hoo, it works!! :-) I can use the object inspector and looks like I can navigate to all the GUI elements. not much within the HTML page though, buttons and textfields show up, but not hyertext links or plain text.
Comment 13•23 years ago
|
||
P1/moz0.9.1, need ETA date.
Assignee | ||
Comment 14•23 years ago
|
||
This is part of our accessible branch tbat is getting reviewed. It's already done. Will mark fixed once it checked into the tip.
Status: NEW → ASSIGNED
Assignee | ||
Comment 15•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•