Monday, September 27, 2010

Re: More information about the strange clipboard behaviour

Desktop clipboard
9 available targets:
---------------
[format: TIMESTAMP / length: 8 / bits 32]: (time omitted)

[format: TARGETS / length: 72 / bits 32]: u_______q_______t_______x______________y_______G_______z_______{_______

[format: MULTIPLE]: NULL

[format: COMPOUND_TEXT / length: 12 / bits 8]: David Gómez

[format: STRING / length: 12 / bits 8]: David Gómez

[format: TEXT / length: 12 / bits 8]: David Gómez

[format: UTF8_STRING / length: 12 / bits 8]: David Gómez

[format: text/html / length: 762 / bits 8]: <meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">David Gómez</span></span>_

[format: text/plain / length: 12 / bits 8]: David Gómez

X clipboard
9 available targets:
---------------
[format: TIMESTAMP / length: 8 / bits 32]: (time omitted)

[format: TARGETS / length: 72 / bits 32]: u_______q_______t_______G_______x_______y______________}_______{_______

[format: MULTIPLE]: NULL

[format: UTF8_STRING / length: 12 / bits 8]: David Gómez

[format: COMPOUND_TEXT / length: 11 / bits 8]: David G�mez

[format: TEXT / length: 11 / bits 8]: David G�mez

[format: STRING / length: 11 / bits 8]: David G�mez

[format: text/plain;charset=utf-8 / length: 12 / bits 8]: David Gómez

[format: text/plain / length: 16 / bits 8]: David G\u00f3mez

Desktop clipboard
11 available targets:
---------------
[format: TIMESTAMP / length: 8 / bits 32]: (time omitted)

[format: TARGETS / length: 88 / bits 32]: u_______q_______t_______x_______y_______z_______G_______{_______|______________}_______

[format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_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_b_o_d_y_>_<_/_h_t_m_l_>_

[format: text/_moz_htmlinfo / length: 6 / bits 8]: 0_,_0_

[format: UTF8_STRING / length: 12 / bits 8]: David Gómez

[format: COMPOUND_TEXT / length: 11 / bits 8]: David Gómez

[format: TEXT / length: 11 / bits 8]: David Gómez

[format: STRING / length: 11 / bits 8]: David Gómez

[format: text/x-moz-url-priv / length: 120 / bits 8]: h_t_t_p_s_:_/_/_m_a_i_l_._g_o_o_g_l_e_._c_o_m_/_m_a_i_l_/_?_u_i_=_2_&_v_i_e_w_=_b_s_p_&_v_e_r_=_o_h_h_l_4_r_w_8_m_b_n_4_

X clipboard
11 available targets:
---------------
[format: TIMESTAMP / length: 8 / bits 32]: (time omitted)

[format: TARGETS / length: 88 / bits 32]: u_______q_______t_______x_______y_______z_______G_______{_______|______________}_______

[format: MULTIPLE]: NULL

[format: text/html / length: 24 / bits 8]: ÿþD_a_v_i_d_ _G_ó_m_e_z_

[format: text/_moz_htmlcontext / length: 2036 / bits 8]: <_h_t_m_l_ _c_l_a_s_s_=_"_c_Q_"_>_<_b_o_d_y_ _c_l_a_s_s_=_"_c_P_"_>_<_d_i_v_ _s_t_y_l_e_=_"_p_o_s_i_t_i_o_n_:_ _r_e_l_a_t_i_v_e_;_"_>_<_d_i_v_ _s_t_y_l_e_=_"_w_i_d_t_h_:_ _9_7_8_p_x_;_"_ _c_l_a_s_s_=_"_n_H_"_>_<_d_i_v_ _s_t_y_l_e_=_"_p_o_s_i_t_i_o_n_:_ _r_e_l_a_t_i_v_e_;_"_ _c_l_a_s_s_=_"_n_H_"_>_<_d_i_v_ _c_l_a_s_s_=_"_n_H_"_>_<_d_i_v_ _c_l_a_s_s_=_"_n_o_"_>_<_d_i_v_ _s_t_y_l_e_=_"_w_i_d_t_h_:_ _8_0_6_p_x_;_"_ _c_l_a_s_s_=_"_n_H_ _n_n_"_>_<_d_i_v_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_=_"_"_>_<_d_i_v_ _c_l_a_s_s_=_"_g_s_"_>_<_d_i_v_ _i_d_=_"_:_l_j_"_ _c_l_a_s_s_=_"_i_i_ _g_t_"_>_<_d_i_v_ _i_d_=_"_:_l_k_"_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_t_d_>_<_/_t_r_>_<_/_t_a_b_l_e_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_d_i_v_>_<_/_b_o_d_y_>_<_/_h_t_m_l_>_

[format: text/_moz_htmlinfo / length: 6 / bits 8]: 0_,_0_

[format: UTF8_STRING / length: 12 / bits 8]: David Gómez

[format: COMPOUND_TEXT / length: 11 / bits 8]: David Gómez

[format: TEXT / length: 11 / bits 8]: David Gómez

[format: STRING / length: 11 / bits 8]: David Gómez

[format: text/x-moz-url-priv / length: 120 / bits 8]: h_t_t_p_s_:_/_/_m_a_i_l_._g_o_o_g_l_e_._c_o_m_/_m_a_i_l_/_?_u_i_=_2_&_v_i_e_w_=_b_s_p_&_v_e_r_=_o_h_h_l_4_r_w_8_m_b_n_4_

Hi all :)

I've further investigate the issue, using the gtk_clipboard_dump
utility and Firefox to compare with Chrome.

I've included the output from the utility showing the clipboard
contents when copying exactly the same text from Chrome and Firefox.

Both browsers provide an UTF8_STRING entry in the desktop clipboard,
but Firefox doesn't provide X clipboard contents when Chrome does.

Attached files are encoded using utf8: Vim detects them as latin1
because they actually contain latin1 characters, so take that into
account.

Thanks for your help :)

--
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
The revolution will not be televised

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: