https://bugs.documentfoundation.org/show_bug.cgi?id=78731
Maxim Monastirsky <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW See Also|https://bugs.freedesktop.or | |g/show_bug.cgi?id=80016 | --- Comment #15 from Maxim Monastirsky <[email protected]> --- (In reply to Fabio Bas from comment #13) > Did anyone bisected this to understand the commit that caused the problem? What exactly do you want to bisect? The problem is explained in comment 6. There is no way to make the WP detection "smarter" about this. > I see a simple solution in lowering the priority of wordperfect import > filter, aka trying to load the file with all the others formats first, and > then testing wordperfect as the last one. Could this work? This is an interesting idea. Looking at the detection priority list in filter/source/config/cache/typedetection.cxx reveals that the WP detection has indeed higher priority than other text based formats. I tried to lower it, and it indeed solved the issue. Will be good to do more tests with it, before pushing such change. Unfortunately such approach won't solve all issues, e.g. csv or just plain text files with strange extension (see the duplicates of this bug) would still fail, because there is no way to "detect" such files before the WP detection catches them. (In reply to Fabio Bas from comment #14) > Reopening: is there a reason why this has been marked as wontfix without an > explanation? Well, the explanation is in comment 6. Anyway REOPENED isn't the right status for this, let's keep it as NEW instead. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
