[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2022-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||7285

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Xisco Faulí  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=95
   ||217

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #14 from Commit Notification 
 ---
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/ecfb83d7463bed7c89baeccc03286c1ac9956d70

tdf#146048: detect UTF-16 without BOM

It will be available in 7.3.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:7.4.0|target:7.4.0
   ||target:7.3.0.0.beta2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Mike Kaganski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #13 from Mike Kaganski  ---
Must be OK now :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #12 from Commit Notification 
 ---
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3392f567be8d52804b187b0bced47204ef38fa3c

tdf#146048: detect UTF-16 without BOM

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #11 from Mike Kaganski  ---
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535392 - a similar problem in
Eclipse
https://gerrit.libreoffice.org/c/core/+/102884 - we added use of
UCharsetDetector in SwIoSystem::IsDetectableText

Likely we need a similar thing in SvParser::GetNextChar when it checks
encoding.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #10 from Caolán McNamara  ---
if in thunderbird I select the image, including some text before and after and
then copy and paste that block, we get text/html and utf-8 encoded text so such
a copy and paste works ok (getTransferData in vcl/unx/gtk3/gtkinst.cxx:853
where there is gtk_selection_data_get_data_with_length)

but then dragging and dropping the same selection gives this problem, again its
claimed to be text/html but its utf-16 encoded (getTransferData in
vcl/unx/gtk3/gtkframe.cxx::4627).

Afaics there's no information available to distinguish the two cases. I'd sort
of expect the dnd case to be the same as the cnp one. It sort of looks like a
bug in the provided data to me, certainly unusual. Unless I miss something the
only recourse we have is to try and repair/detect its true encoding.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Mike Kaganski  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #9 from Mike Kaganski  ---
FTR: the problem is unrecognized UTF-16 stream encoding obtained in
GtkDnDTransferable::getTransferData for text/html request (under
'!GTK_CHECK_VERSION(4, 0, 0)' branch). The data gets passed to
SvParser::GetNextChar, which tries to check BOM, but there's no BOM - the
UTF-16 stream starts directly with "<\0i\0m\0g\0...", and then getting next
token fails to recognize img tag, and sends it as plain text.

Caolan: do you know how do we deal with such things on Linux? (sorry for stupid
question.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #8 from Mike Kaganski  ---
Also repro using Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 68c15984ea17354c03e5ddf03e0c0b4214999659
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #7 from Mike Kaganski  ---
Created attachment 176755
  --> https://bugs.documentfoundation.org/attachment.cgi?id=176755=edit
A screencast (0:08 till 2:33 is dull waiting)

Repro using Version: 7.2.3.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.3~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded

and TB 78.14.0 (64-bit)

on Ubuntu 20.04.3 LTS.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

--- Comment #6 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #5 from raal  ---
No repro Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: ba7db98cca3d8516697c94ef0d6af27db9e1655e
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Thunderbird Daily 96.0a1 (2021-12-04) (64-bit)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146048] Picture inserted as base64 if dragged into a document from Mozilla Thunderbird

2021-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146048

Julien Nabet  changed:

   What|Removed |Added

Summary|Picture inseted as base64   |Picture inserted as base64
   |if i drag it into a |if dragged into a document
   |document from mozilla   |from Mozilla Thunderbird
   |Thunderbird |

-- 
You are receiving this mail because:
You are the assignee for the bug.