[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=444971

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||21.12

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-08 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=444971

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/f686f4c6
   ||bf45b92784a6bf90a037199158f
   ||f0073

--- Comment #3 from Albert Astals Cid  ---
Git commit f686f4c6bf45b92784a6bf90a037199158ff0073 by Albert Astals Cid.
Committed on 08/11/2021 at 21:23.
Pushed by aacid into branch 'release/21.12'.

Markdown: Don't crash on files with html images, alt text, inside links

If we have code like  and the img has alt text

The old code did
  remove image
  insert alt text
but when we remove the image, the qtextdocument says
  "i don't need the  anymore since there's nothing inside"
and then everything breaks because the layout has changed and we're
iterating over "unexisting" text blocks

So instead we just insert the alt text and
since we have selected the image with the cursor it will
replace it correctly

M  +0-1generators/markdown/converter.cpp

https://invent.kde.org/graphics/okular/commit/f686f4c6bf45b92784a6bf90a037199158ff0073

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=444971

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=444971

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/okular/-/merge_requests/501

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=444971

--- Comment #1 from Nicolas Fella  ---
Can reproduce on current master

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 444971] Okular crashed when opening a markdown file

2021-11-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=444971

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are the assignee for the bug.