Aquavcl01 tasks

From Apache OpenOffice Wiki
Revision as of 07:21, 17 May 2007 by Ericb (Talk | contribs)

Jump to: navigation, search

This page is work in progress.

Aqua VCL tasks

This page is reserved for all aquavcl01 tasks, and will probably removed (I hope) when aquavcl01 will be integrated)

Any contributions/help to continue/build this page is welcome.

Fix crashes in Aquavcl01 + m202

As starting point, Ismael post on mac@porting mailing list (will be replaced by the initial post URL) :

I investigated about the crash and i found that it comes from the function HandleMenuPopulateEvent in vcl/aqua/source/window/salframe.cxx line 822. The crash occurs because of these two lines which have a comment before:
// FIXME: looks like it crashes when some menus are activated...
pSalFrame->CallCallback(SALEVENT_MENUACTIVATE, &aMenuEvt);
pSalFrame->CallCallback(SALEVENT_MENUDEACTIVATE, &aMenuEvt);

The bug is caused by CallCallBack (defined in vcl/inc/salframe.cxx line 314) maybe because of a null or invalid pointer on a variable or a function: m_pProc, m_pInst or pEvent. The first two belong to the salframe class, and the last is passed as an argument.

Hoping it will help.

Pleae complete ..

Remove deprecated functions

Related reading: QuickDraw Reference, Deprecated QuickDraw functions and QuickDraw to Quartz2D guide


short list of the deprecated functions + the context :

Context 1 : App/ Timer # comment : since RunApplicationEventLoop is usable, we should be able to replace *TimeMask with the recent corresponding kEvent*

file: deprecated function : RemoveTimeTask / PrimeTimeTask / InstallTimeTask


Context 2: gdi / ATS+fonts : # Comment -> work in progress. I'll describe everything file : vcl/aqua/source/gdi/salatslayout.cxx

--> i will remove deprecated in salatslayout while i m working on it. (plipli)

deprecated function : ATSUGetGlyphInfo

file : vcl/aqua/source/gdi/salatsuifontutils.cxx # same as ATS+fonts deprecated functions : TextOrder / ScriptOrder / LanguageOrder / FMGetFontFromFontFamilyInstance


No idea (ChristianL  ? ) :

Context 3 : gdi / Color + Pixmaps file : vcl/aqua/source/gdi/salcolorutils.cxx deprecated functions : GetGDevice / MakeITable / GetCTSeed / GetPixDepth /GetCTable /


Context3 4: gdi / Geometry + Pixmaps

file : vcl/aqua/source/gdi/salpixmaputils.cxx deprecated functions : SetRect / GetGDevice (dupe) / NewPixMap / GetPixelsState / SetPixelsState / LockPixels / DisposePixMap


Context 4: Frame

file : vcl/aqua/source/window/salframe.cxx deprecated functions : GetMainDevice / SetRect (dupe) / NewRgn / GetRegionBounds / DisposeRgn


URL : build log of vcl/aqua

CWS Integration

Enter your plan/ proposal here

CWS REsync

Current: m211


Known Issues

Aqua alpha-0.8

1 - Refresh bug

2 - "File -> New" disabled when the active document is no longer empty

3 - When typing text in Writer or Calc, the cursor position is not quite correct.

4 - The text tends to appear misplaced in Writer when opening existing documents (the text continues outside of the margins to the right, and some of it seems to be outside of the page (& not visible though))

5 - Printing doesn't detect my printer.

6 - Focus problems

7 - Assistants have a very strange behaviour, and I don't think we can consider them to be working => might be related to Refresh bug again

8 - Styles and formating palette is bounded to "F11", as in classic OpenOffice, but F11 generaly raises expose on MacOs X > panther

9 - Almost unreadable font in DicoOOO (the one on top-right & bottom-left, which says "Dictionnaire des synonymes" & so on)

10 - Bug on quit

11 - After a restart, Styles and formating palette is stuck in my upper-left corner (a part of it is indeed outside of the screen), and I can't grab it back... As I don't see it in Expose either, it is "lost" for me ;-)

12 - Impress : No text appears in presentation mode... How do I get outside of presentation mode? Escape doesn't work... I had to command+tab

[FIXME] : complete with other tasks


Ericb 21:09, 2 November 2006 (CET)

Personal tools