Bug 62824 - FILEOPEN: opens rtf file as spreadsheet
Summary: FILEOPEN: opens rtf file as spreadsheet
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.6.0.0.alpha1
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard: BSA bibisected40
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-03-27 16:14 UTC by gzernmplatz
Modified: 2023-10-04 18:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gzernmplatz 2013-03-27 16:14:34 UTC
Problem description: I saved a text in LibreOffice Writer as .rtf (rich text format), closed it and worked on a spreadsheet. Then I reopened the .rtf document (using open recent) and it appeared on the screen as a spreadsheet (without LibreOffice even asking the questions it would be supposed to ask when opening a .csv file). Of course I wanted to edit the text as a text.

Operating System: Windows 7
Version: 4.0.1.2 release
Last worked in: 3.5.3 release
Comment 1 Joel Madero 2013-03-27 19:49:39 UTC
Thank you for reporting this issue! I have been able to confirm the issue on:
Version 3.6.5.2 
Platform: Bodhi Linux 2.2 x64
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
As I've been able to confirm this problem on an earlier release I am changing the version number as version is the earliest version that we can confirm the bug, we use comments to say that the bug exists in newer versions as well.

Marking as:

New (confirmed)
Minor - doesn't prevent high quality work, may have been a change made on purpose (default to open rtf in whatever component is currently open)
Low - very easy workaround (just open document in writer)

Keywords - regression (maybe, like I said, might be intentional)


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 2 Pedro 2013-04-24 16:05:53 UTC
I can replicate the bug on LO 4.0.3.1 running under Windows XP x86 SP3

> may have been a change made on
> purpose (default to open rtf in whatever component is currently open)

Doesn't make sense. RTF is a text only format. There are no RTF spreadsheets.

This is indeed a regression.
Comment 3 Joel Madero 2013-04-24 18:27:50 UTC
this is a filters issue, marking as such
Comment 4 Joel Madero 2013-04-25 18:53:42 UTC
 29eabec9444105ba81c1ba85b5e491919bf1c8d3 is the first bad commit
commit 29eabec9444105ba81c1ba85b5e491919bf1c8d3
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Sun Dec 9 16:52:12 2012 +0000

    source-hash-2a360b68475d6fff5b6618feddb0b52f3a4a2373
    
    commit 2a360b68475d6fff5b6618feddb0b52f3a4a2373
    Author:     Noel Grandin <noel@peralex.com>
    AuthorDate: Tue Jun 12 15:41:27 2012 +0200
    Commit:     Michael Stahl <mstahl@redhat.com>
    CommitDate: Tue Jun 12 23:25:10 2012 +0200
    
        Convert SV_DECL_PTRARR(SvBaseLinks) to std::vector
    
        Change-Id: I9197dc4fd7ed32f030de8121913265ec78c83585

:100644 100644 f7eccba8d9d5410eeab71c5acf79c4d2e6b8449c f3050e05432fb8b9624ca76ff6025d190f12ef05 M	autogen.log
:100644 100644 596c69d5a502161bf6c9fa82c7809db0bd2d2717 6b47b1d0f80f893139e6896a1d3b9ec414080790 M	ccache.log
:100644 100644 6a19e107e2479b08da8537ab509cec001af5cf5e be4045365079f31ab24b4d2e4309b743675bd4fe M	commitmsg
:100644 100644 7a8dafbae307c7a593dfef2ac43f747867e41bd8 a67d8e92e07894b300e4f1300d8048a0b39ee4b6 M	dev-install.log
:100644 100644 060ccd79dce129d52524f3c72521506ca6e3fd1d 6dabafb2814fbb1ce5b1a232487d948f60281875 M	make.log
:040000 040000 d31d0ae92b309453f8f3761ec68db0771b43ac07 885fe6e2bcbf9d30789fb4ded5edc3eac7f9c149 M	opt



# bad: [5b4b36d87517a6ea96ff8c84c46b12f462fc9a1a] source-hash-8450a99c744e9005f19173e4df35d65640bcf5c4
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00] source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect start 'latest' 'oldest'
# good: [16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9] source-hash-099198a4224778fe6e43f5dc13b5b9b1b4dc828c
git bisect good 16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9
# bad: [f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a] source-hash-a581d31b227623e09d2970a91214fda398f98eda
git bisect bad f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a
# bad: [5bf3b624cdeb593e55402f44c730209f12813961] source-hash-4b4ca8030285bd66526ff5bb2b6ea5a75a6c6bc7
git bisect bad 5bf3b624cdeb593e55402f44c730209f12813961
# bad: [fbd64ab02c3b611eb2161132a98d2a24ccf109ad] source-hash-77987eacff20dec40caf29aae61d262239d441e9
git bisect bad fbd64ab02c3b611eb2161132a98d2a24ccf109ad
# good: [b8013cdf546a6319d5cd43746b74e35f177a5544] source-hash-699e7d9e4081942bb0ad73e9be73f90a26d0c2f7
git bisect good b8013cdf546a6319d5cd43746b74e35f177a5544
# bad: [778045e259d6c6cdd39e55feea1646e95eab8537] source-hash-6aeeca56daa9065f607cc7056e7d86d237c84a99
git bisect bad 778045e259d6c6cdd39e55feea1646e95eab8537
# bad: [5d495e9d278412d3719fe3d18b429d2b34831241] source-hash-4f5c523b97542bdbfe69fb7695bcb9699c66f89f
git bisect bad 5d495e9d278412d3719fe3d18b429d2b34831241
# bad: [29eabec9444105ba81c1ba85b5e491919bf1c8d3] source-hash-2a360b68475d6fff5b6618feddb0b52f3a4a2373
git bisect bad 29eabec9444105ba81c1ba85b5e491919bf1c8d3
Comment 5 Joel Madero 2013-04-25 19:44:55 UTC
Changing version as I can confirm that it has been around at least since:

Version 3.6.0.0.alpha1
Comment 6 Michael Meeks 2013-05-03 14:21:11 UTC
If I read the bisection right this means the problem is in the range:

git log 699e7d9e4081942bb0ad73e9be73f90a26d0c2f7..2a360b68475d6fff5b6618feddb0b52f3a4a2373 | less

Which means it's possibly related to Kohei's filter re-work:

commit eed0a0b26b9d61d26c888423c4e3d83b61728e3f
Author: Kohei Yoshida <kohei.yoshida@gmail.com>
Date:   Tue Jun 5 15:53:31 2012 -0400

    Prioritize external filters over the internal ones.

etc.

Kohei - any idea why some RTF files load in the spreadsheet ? [ is this a cut/paste style RTF filter issue ? ;-].
Comment 7 Kohei Yoshida 2013-05-03 18:59:17 UTC
This is a feature. RTF is not an app-specific format.  Opening it from writer opens it in writer, and opening it from calc opens it in calc.  This is working as intended.

The same applies to .txt (.csv) and .html.
Comment 8 Robinson Tryon (qubit) 2015-12-22 01:31:40 UTC
Removing comma from Whiteboard (please use a space to delimit values in this field)
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started
[NinjaEdit]