Created attachment 79124 [details] reproduction case Save the reproduction case under filename "foo" or "attachment?54454" or some such, but WITHOUT a filename extension. It is a trivial/empty odb (LibreOffice Base file). Open file in LibreOffice: /path/to/libreoffice/program/soffice foo Actual result: LibreOffice calc starts on a blank sheet. Expected result: LibreOffice Base opens the document. Rename the file to foo.odb. Now it works. Regression compared to 4.0 and 3.x This bug happens with all odb files I tested.
Kohei maintains the framework type-detection logic nowadays; any ideas?
Lionel - marking it as NEW as you're a developer so no need to independently confirm unless requested
Likely a type detection issue, though no idea what in particular could be the culprit. I'll keep this in the back of my mind. I won't be able to debug this anytime soon though. Perhaps the type detection service for Calc is incorrectly "detecting" this odb file as ods? That's where I'd start sniffing.
BTW, how urgent is this?
(In reply to comment #4) > BTW, how urgent is this? I would appreciate if it were fixed in our 4.1.0 release.
I'm looking into this right now.
I'm just amazed that how little each so called "type detection" service actually does... Most of them doesn't even check the content and call it "detected"... Because of this, simple reordering of detection services screw things up.
Fix pushed to master, and the backport review pending at https://gerrit.libreoffice.org/#/c/4876/.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d1fc3fce16172d7d619b6826de44528030ab36f8 fdo#64448: Don't get type name from incorrect filter. 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.
(In reply to comment #8) > Fix pushed to master, and the backport review pending at > https://gerrit.libreoffice.org/#/c/4876/. Tested and pushed. Thanks! Do you think we should try to go for libreoffice-4-1-0?
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fa965d8b1743d786ea07d887f883ab9af9b6652e&h=libreoffice-4-1 fdo#64448: Don't get type name from incorrect filter. It will be available in LibreOffice 4.1.1. 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.
(In reply to comment #10) > (In reply to comment #8) > > Fix pushed to master, and the backport review pending at > > https://gerrit.libreoffice.org/#/c/4876/. > > Tested and pushed. Thanks! Do you think we should try to go for > libreoffice-4-1-0? Yeah. It won't hurt. It's not a very invasive change, so I don't see why not.
I'll mark this fixed.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-1-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e7a43ee7c00b2e244ceb6218b8d342f7656736a9&h=libreoffice-4-1-0 fdo#64448: Don't get type name from incorrect filter. It will be available already in LibreOffice 4.1.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.