Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embedding HIWebView in composited window



HI, I encountered HIWebView positioning problem in composited window.
HIWebView seems draw relative to content-view, even though in
composite-mode.

MacOSX 10.4.2 (and 10.3 was the same).

You can see this issue easily in the step below.
  In Developer/Examples/WebKit/CarbonWeb,
  in main.nib's MainWindow,
    make MainWindow Compositing.
    make the size of UserPane for HIWebView right-bottom quarter or so.
    Embed this UserPane in another UserPane .
    Compile and Run.
    Then, HIWebView position is wrong...

I found this issue has already been discussed in previous thread.
( "Embedding HIWebView" 2004/8/29 --- )
But in that time, no workarounds.
Has it filed as a bug ?

--------------------------------------

In our project, main window is composited and rather complicated
HIView structure, including 2 or 3 split-view.
This app is already released,
and at this time of version-up, I should embed HIWebView in deep inside
the HIView hierarchy in composited window.

MainWindow
|- RootView
    |-ContentView
        |-SplitView(VERT)-1
            |-(A) DataBrowser
            |-(B) SplitView(HORZ)-2
                |-(A) UserPane
                    |-HIWebView    <---- HERE
                    |-SegmentView
                |-B) UserPane
                    |-DataBrowser
                    |-some Buttons and etc...

Actually, SplitView(VERT)-1's (B) pane is made as plug-in,
switched by DataBrowser in SplitView(VERT)-1's (A) pane.
And many plug-in's have already been released for composited.
So, composited is MUST BE...

I need some  workarounds.
Any ideas and comments appreciated.

/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
  Masahiro Iwamoto
  mailto:email@hidden
  Symphony, Inc. ( R&D Department )
  3-50-14-802 Sendagi Bunkyo-ku Tokyo, 113-0022, Japan
  Tel. 03-5815-2316
  Fax. 03-5815-2317
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.