Closed Bug 437018 Opened 18 years ago Closed 7 years ago

xulwindow initialization does not work with GtkMozEmbed

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(2 files, 2 obsolete files)

Build xulrunner + TestGtkEmbed from trunk pref("xpinstall.whitelist.required", false); ./run-mozilla.sh ./TestGtkEmbed https://addons.mozilla.org/en-US/seamonkey/downloads/file/26635/adblock_plus-0.7.5.4-fx+tb+sm.xpi EXPECTED OUTCOME: "Software installation" xul window displayed ACTUAL OUTCOME: Embed window blocked by not visible modal window No "Software installation" window
Attached file Output log
My solution for this bug next: 1) create nsIWindowCreator2 interface 2) create native nsIXULWindow for new windows with nsIWebBrowserChrome::CHROME_OPENAS_CHROME flag https://bugzilla.mozilla.org/attachment.cgi?id=325081 3) Create embedding window 4) Reparent setup embedding widget as parent of xul window May be I'm wrong, please correct me...
Depends on: 408666
Attached patch Better fix (obsolete) — Splinter Review
Previous proposal was wrong.. GtkMozEmbed EmbedWindow always using nsIDocShellTreeItem::typeContentWrapper, and completely break creation of nsGlobalChromeWindow and related things. Here is the complete fix for embedding XUL windows in gtkmozembed window
Assignee: nobody → romaxa
Status: NEW → ASSIGNED
Attachment #325384 - Flags: review?(mpgritti)
Comment on attachment 325384 [details] [diff] [review] Better fix Still some problems there
Attachment #325384 - Attachment is obsolete: true
Attachment #325384 - Flags: review?(mpgritti)
Attached patch Updated Comment#3 bugfix (obsolete) — Splinter Review
Attachment #325392 - Flags: review?(mpgritti)
Bugfix from Bug 408925 was included by mistake.. Also g_main_context_wakeup not reqired. Sorry for spam
Attachment #325392 - Attachment is obsolete: true
Attachment #325393 - Flags: review?(mpgritti)
Attachment #325392 - Flags: review?(mpgritti)
Attachment #325393 - Flags: review?(mpgritti) → review?(dcamp)
Comment on attachment 325393 [details] [diff] [review] Remove not related stuff from patch Any update for review?
Attachment #325393 - Flags: review?(dcamp) → review?(benjamin)
Attachment #325393 - Flags: review?(benjamin) → review?(bzbarsky)
Comment on attachment 325393 [details] [diff] [review] Remove not related stuff from patch I have no idea about the g_timeout_add and g_source_remove stuff, but the rest looks fine to me.
Attachment #325393 - Flags: review?(bzbarsky) → review+
Product: Core → Core Graveyard
Embedding: GTK Widget isn't a thing, closing.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: