Closed Bug 73947 Opened 25 years ago Closed 25 years ago

no keyboard or mouse events proccessed when initially loading "about:blank" or a stream

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yaneti, Assigned: blizzard)

References

Details

Attachments

(2 files)

tested with TestGtkEmbed gcc 2.91.66 mozilla 0.8.1 : http://ftp.mozilla.org/pub/mozilla/releases/mozilla0.8.1/mozilla-i686-pc-linux-gnu-0.8.1.tar.gz TestGtkEmbed : sources from cvs checkout -r MOZILLA_0_8_1_20010326_RELEASE still i get these callbacks open_uri_cb about:blank load_started_cb net_state_change_cb 458753 location_changed_cb title_changed_cb net_state_change_cb 65552 net_state_change_cb 131088 load_finished_cb net_state_change_cb 786448 visibility_cb 1 but no mouse or keyboard events
I think this is because you are attacching mouse/key events on OnProgressChange http://lxr.mozilla.org/mozilla/source/embedding/browser/gtk/src/EmbedProgress.cp p#94 OnProgressChange is not called when browsing local pages (or streamed content). The old api was attacching them on OnStateChange.
Attached patch patch — — Splinter Review
*** Bug 74490 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
I have an r/sr=shaver on this assuming a comment change which I have in my local tree.
r=bryner
r=tor
Checked in. Thanks, guys! Checking in EmbedPrivate.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp,v <-- EmbedPrivate.cpp new revision: 1.9; previous revision: 1.8 done Checking in EmbedPrivate.h; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrivate.h,v <-- EmbedPrivate.h new revision: 1.8; previous revision: 1.7 done Checking in EmbedProgress.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/EmbedProgress.cpp,v <-- EmbedProgress.cpp new revision: 1.3; previous revision: 1.2 done
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: