Re: webkit2 and copying

Hello Andreas,
On 2017.06.06 08:38, Andreas Schmidt wrote:

I have built balsa with the following configuration:

$ ./ --with-gpgme --with-gpg-app=/usr/bin/gpg2 --with-html-widget=webkit2 --with-spell-checker=gspell --with-rubrica=yes --with-libnotify --with-canberra --enable-smime --with-gtksourceview --without-gnome --with-libsecret --with-compface
Mine is --prefix=/usr/local --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --with-gpgme=gpgme-config --with-html-widget=webkit2 --without-canberra --without-gnome --without-gtksourceview --without-gss --without-ldap --with-libnotify --without-rubrica --without-sqlite --without-compface --with-spell-checker=gtkspell --with-osmo --with-gcr
which has some differences, but does use webkit2.

If I select text in a mail (or mail part, in multipart messages) with Content-Type: text/plain and right-click it, the menu contains an item "Copy". This item is missing for message parts with Content-Type: text/html, and copying the selected text manually by using <CTRL>+<C> does not work. However, I noticed that although I cannot copy the text to the clipboard, I still can highlight the text with the mouse and then paste the selected text via middle-click into another document.
I see the same, but in the HTML part, I can select Edit/Copy - it just is not present in the right click context menu. Also for me, even in HTML part, Ctl-C does work.

Perhaps this issue occurs only with webkit2? According to the README file, the following options are allowed for the HTML widget:

If I remember correctly, webkit is deprecated, and is only there for backwards compatibility. Using gtkhtml4, I get the error "You enabled gtkhtml4 but it was not found." OK, let's search the available packages for gtkhtml:

# grep-available -P gtkhtml | grep ^Package
Package: libgtkhtml-4.0-common
Package: libgtkhtml-4.0-0
Package: libgtkhtml-editor-4.0-0
Package: libgtkhtml3.14-19
# apt-get install libgtkhtml-4.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgtkhtml-4.0-0
E: Couldn't find any package by glob 'libgtkhtml-4.0-0'
E: Couldn't find any package by regex 'libgtkhtml-4.0-0'
gtkhtml-4.10-0 is available for me under Gentoo. I don't have an ubuntu system handy, but can you try something like "apt search gtkhtml" ? I'm not familiar with grep-available, but it appears it is using a database out-of-sync with your actual system. (No, I have no idea which is or isn't correct - but re-syncing both of them might be a first start, although I have no idea how to do that.)

So, now I have two questions: Does the copying issue occur only with webkit2, or is it independent of the HTML-widget used? Have I overlooked something, or why can't I install gtkhtml on Debian/Sid?

Best regards


------quoted attachment------
balsa-list mailing list
balsa-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]