After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708325 - Loads java the first time I click a note
Loads java the first time I click a note
Status: RESOLVED FIXED
Product: bijiben
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bijiben maintainer(s)
Bijiben maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-18 19:51 UTC by William Jon McCann
Modified: 2017-05-24 02:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Disable plugins (872 bytes, patch)
2013-09-18 21:55 UTC, Pierre-Yves Luyten
none Details | Review

Description William Jon McCann 2013-09-18 19:51:52 UTC
The first time I click a note after the app starts it takes up to a second or two and prints the following on the console:

No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:050] Using Gtk2 toolkit
No bp log location saved, using default.
java version "1.7.0_60"
OpenJDK Runtime Environment (fedora-2.4.2.0.fc19-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b56, mixed mode)
Comment 1 Pierre-Yves Luyten 2013-09-18 19:55:47 UTC
ouch. This semms related to WekKit but I'll have to dig up
Comment 2 Bastien Nocera 2013-09-18 21:34:53 UTC
Set the WebKitSettings "enable-plugins" property to FALSE.

See: https://git.gnome.org/browse/epiphany/tree/embed/ephy-embed-prefs.c?h=gnome-3-8#n732

This will stop things like Java, Totem, or Flash from ever being loaded into Bijiben.
Comment 3 Pierre-Yves Luyten 2013-09-18 21:55:58 UTC
Created attachment 255259 [details] [review]
Disable plugins

good, thanks for the info.

Attached patch seems to help on first webkit loading, just have to ensure first because my system is not that verbose despite below installed

java-1.7.0-openjdk.x86_64                1:1.7.0.60-2.4.2.0.fc19
Comment 4 Pierre-Yves Luyten 2013-09-19 22:26:06 UTC
(needed icedtea-web to reproduce.)

Setting "enable-plugins" to FALSE or "enable-java-applet" to FALSE does not prevent the output nor accelerates first note loading (despite what i first wrote above). Or at least not as done in attached patch and with one tested vm ; I could try with something else.


http://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html#WebKitWebSettings--enable-java-applet says "Java content can be still shown in the page through <object> or <embed>", which might explain why it's still loaded.

That said, removing icedtea-web did not accelerate neither ; just disabling plugins might be the way to go.
Comment 5 Isaque Galdino 2017-05-24 02:59:30 UTC
Issue is not present when using WebKit2 port: https://git.gnome.org/browse/bijiben/commit/?id=fb7b8bbac5ef3591d2f940f3034a4390468ad01d