[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Albert Astals Cid changed: What|Removed |Added Status|ASSIGNED|RESOLVED Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/okular/commit/9e23338b |hics/okular/commit/01871fdf |002cd14d8a9ad191526a7950e72 |ff9363af3a90959650ef20ab927 |d97e9 |6c464 Resolution|--- |FIXED --- Comment #13 from Albert Astals Cid --- Git commit 01871fdfff9363af3a90959650ef20ab9276c464 by Albert Astals Cid. Committed on 31/08/2022 at 16:55. Pushed by aacid into branch 'release/22.08'. Even more tweaks to opening "text" files Related: bug 456434 M +10 -1part/part.cpp https://invent.kde.org/graphics/okular/commit/01871fdfff9363af3a90959650ef20ab9276c464 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Bug Janitor Service changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #12 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/645 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Peter Ped Helcmanovsky changed: What|Removed |Added CC||p...@7gods.org -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 --- Comment #11 from Adrian W. --- Created attachment 147561 --> https://bugs.kde.org/attachment.cgi?id=147561=edit Doesn't open as markdown document -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 --- Comment #10 from Adrian W. --- Created attachment 147560 --> https://bugs.kde.org/attachment.cgi?id=147560=edit Opens as markdown document -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Adrian W. changed: What|Removed |Added CC||generic@nonimportant.email Status|RESOLVED|REOPENED Resolution|FIXED |--- Version|21.08.3 |21.12.3 Platform|Other |Manjaro --- Comment #9 from Adrian W. --- I have a lot of markdown documents opening with the Txt backend. Figured it out eventually, it seems to me like it's a bug. Attached 2 files, one opens with the Txt backend and the other with the Markdown backend. - Both are 'mime-type: text/plain' - Both show in Dolphin as 'Type: Markdown document' (*.md) But Dolphin properties show different recognized content: 'markdown.md' shows correctly 'Content: plain text document' 'notmarkdown.md' shows incorrectly 'Content: MATLAB file' The difference that triggers the content to be misdiagnosed is how the first line starts. Remove the first line from 'markdown.md' and the content changes to MATLAB document, consequently opening the file in Okular with the Txt backend. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Simone Lazzaris changed: What|Removed |Added Status|NEEDSINFO |RESOLVED Resolution|WAITINGFORINFO |FIXED --- Comment #8 from Simone Lazzaris --- After an update and a reboot, it started to work for me too. Sorry for the fuss. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Albert Astals Cid changed: What|Removed |Added Status|REOPENED|NEEDSINFO Resolution|--- |WAITINGFORINFO CC||aa...@kde.org --- Comment #7 from Albert Astals Cid --- The attached file works, so you'll have to give us one that doesn't -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Simone Lazzaris changed: What|Removed |Added CC||sim...@omni.it Resolution|FIXED |--- Version|20.12.0 |21.08.3 Status|RESOLVED|REOPENED --- Comment #6 from Simone Lazzaris --- I'm reopening this bug as I've got the same behavior in the newer version (21.08.3). OS: Arch Linux x86_64 Kernel: 5.15.3-arch1-1 KDE Plasma Version: 5.23.3 KDE Gear: 21.08.3 Qt Version: 5.15.2 Okular Version: 21.08.3 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Alfredo Amaya changed: What|Removed |Added CC||alfre2...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 SoilpH96 changed: What|Removed |Added CC||filippo27...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Marcelo Jimenez changed: What|Removed |Added CC||marcelo.jime...@gmail.com --- Comment #5 from Marcelo Jimenez --- *** Bug 431183 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Albert Astals Cid changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED Latest Commit||https://invent.kde.org/grap ||hics/okular/commit/9e23338b ||002cd14d8a9ad191526a7950e72 ||d97e9 --- Comment #4 from Albert Astals Cid --- Git commit 9e23338b002cd14d8a9ad191526a7950e72d97e9 by Albert Astals Cid. Committed on 27/12/2020 at 00:16. Pushed by aacid into branch 'release/20.12'. Fix opening markdown files In d2ae2c283df3d42e72a964d8891e0915f8f3a94b we introduced a tweak that broke opening markdown files. what we really want is this: * If the mimetype from the filename is text (or children) but looking at the data says it's not text, then try opening first opening with the data suggeted mimetype * But if the data suggested mimetype says it's text, use the filename suggested mimetype since for example, the only way to really differentiate markdown from text is the filename, so trust that M +4-2part/part.cpp https://invent.kde.org/graphics/okular/commit/9e23338b002cd14d8a9ad191526a7950e72d97e9 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Alexander Kernozhitsky changed: What|Removed |Added CC||sh200...@mail.ru -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Bug Janitor Service changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED|ASSIGNED --- Comment #3 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/347 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 user6...@mail.ru changed: What|Removed |Added CC||user6...@mail.ru --- Comment #2 from user6...@mail.ru --- Same here. OS: Arch Linux x86_64 Kernel: 5.4.84-1-lts KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Okular Version: 20.12.0 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 --- Comment #1 from Ilya Bizyaev --- Same here. Okular 20.12 Frameworks 5.76.0 Qt 5.15.2 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 430538] Markdown files opened as plain text
https://bugs.kde.org/show_bug.cgi?id=430538 Ilya Bizyaev changed: What|Removed |Added CC||bizy...@zoho.com -- You are receiving this mail because: You are watching all bug changes.