[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

Xisco Faulí  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |t...@iki.fi
   |desktop.org |
 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #7 from Commit Notification 
 ---
Tor Lillqvist committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=48c977dd945130051a7e37d7fcb7eb11b767ead3

tdf#69460, tdf#118416: Don't copy whole columns to the clipboard

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://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 mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-07-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:6.2.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #6 from Tor Lillqvist  ---
And if I copy just a few cells and quit LO, and then run:

> xclip -o -target image/png -selection clipboard >afewcells.png

the afewcells.png indeed contains an image of those cells "printed".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #5 from Tor Lillqvist  ---
Using the xclip command to list what "targets" (formats?) are available on the
X11 clipboard after quitting LO (this time running it "normally", not under
gdb):

When I copy just two cells:

> TARGETS
> MULTIPLE
> application/x-libreoffice-internal-id-9270
> STRING
> UTF8_STRING
> text/plain;charset=utf-8
> text/richtext
> text/rtf
> application/x-libreoffice-tsvc
> text/plain;charset=utf-16
> application/x-openoffice-dif;windows_formatname="DIF"
> application/x-openoffice-link;windows_formatname="Link"
> application/x-openoffice-sylk;windows_formatname="Sylk"
> text/html
> image/bmp
> application/x-openoffice-bitmap;windows_formatname="Bitmap"
> image/png
> application/x-openoffice-wmf;windows_formatname="Image WMF"
> application/x-openoffice-emf;windows_formatname="Image EMF"
> application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"
> application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object 
> Descriptor 
> (XML)";classname="47BBB4CB-CE4C-4E80-a591-42d9ae74950f";typename="LibreOfficeDev
>  6.2 
> Spreadsheet";displayname="file:///tmp/testcalccopypastecolumn.ods";viewaspect="1";width="2259";height="904";posx="0";posy="0"
> application/x-openoffice-embed-source-xml;windows_formatname="Star Embed 
> Source (XML)"

When I copy a whole column (by clicking on the column header, for instance
"B"):

*nothing*

So clearly something does go wrong. xclip complains "Error: target TARGETS not
available"

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #4 from Tor Lillqvist  ---
When you say "no problem", you mean that you did not get the SEGV when running
LO under gdb, after first selecting an entire column and then attempting to
quit LO?

I know that there is no *apparent* problem (no visible indication something
went wrong) when running LO otherwise. But my theory is that not all of the
kinds of formats that LO tries to put on the clipboard actually end up there.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

Xisco Faulí  changed:

   What|Removed |Added

 CC||xiscofa...@libreoffice.org

--- Comment #3 from Xisco Faulí  ---
No problem with

Version: 6.2.0.0.alpha0+
Build ID: 6ebc026e34d0c119067e7dfbad8d932f92844760
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

I guess it's only in debug mode ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #2 from Tor Lillqvist  ---
Not sure why I don't get any message from the shell when running soffice and
doing the same thing that the process would have been killed by that SEGV. Does
cairo actually catch it? Anyway, even if it does, surely what the code tries to
do is insane?

The code in ScTransferObj::GetData() already shrinks the range handled in the
case of RTF or RICHTEXT. Most likely it should do that for *all* cases. But
Eike points out on IRC that it should not use the ShrinkToUsedDataArea()
function to do it, as that will apparently drop empty cells that still have
some visible formatting applied to them. Probably it should use
ScTable::GetPrintArea().

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

--- Comment #1 from Tor Lillqvist  ---
Related to bug #69460. No idea why this issue hasn't come up more often?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118416] SEGV when Calc exits when it tries to export an image of a whole column on the system clipboard

2018-06-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118416

Tor Lillqvist  changed:

   What|Removed |Added

 CC||t...@iki.fi
 OS|All |Linux (All)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs