Bug 407768

Summary: open saved game
Product: [Applications] ksudoku Reporter: Richard Will <richard.will>
Component: generalAssignee: Ian Wadham <iandw.au>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, kde-games-bugs-null, nk0885
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 190402
fr190418l
zfr190426r

Description Richard Will 2019-05-20 14:33:59 UTC
SUMMARY


STEPS TO REPRODUCE
1. ctrl + O
2. select saved game
3. enter

OBSERVED RESULT
XML-Datei kann in Zeile 1 nicht gelesen werden

EXPECTED RESULT


SOFTWARE/OS VERSIONS Linux (x86_64) release 5.0.16-300.fc30.x86_64
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2019-05-21 20:58:40 UTC
Can you attach the saved game?

Which ksudoku version are you running?
Comment 2 Richard Will 2019-05-22 11:07:01 UTC
Created attachment 120243 [details]
190402

Danke für die Antwort Albert!
Can you attach the saved game?
Attchmnt 1-3

Which ksudoku version are you running?
version 1.4
Lib.: KDE Frameworks 5.58.0
Qt 5.12.1 (kompiliert gegen 5.12.1)
Das xcb Fenstersystem

On Tue, 21 May 2019, Albert Astals Cid wrote:

> https://bugs.kde.org/show_bug.cgi?id=407768
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>         Resolution|---                         |WAITINGFORINFO
>             Status|REPORTED                    |NEEDSINFO
>                 CC|                            |aacid@kde.org
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> Can you attach the saved game?
>
> Which ksudoku version are you running?
>
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 Richard Will 2019-05-22 11:07:01 UTC
Created attachment 120244 [details]
fr190418l
Comment 4 Richard Will 2019-05-22 11:07:01 UTC
Created attachment 120245 [details]
zfr190426r
Comment 5 Albert Astals Cid 2019-05-22 21:27:11 UTC
yep
Comment 6 Albert Astals Cid 2019-05-22 21:27:44 UTC
Git commit 9849aca3bb891651166f2eca21f5bef6753b3a2c by Albert Astals Cid.
Committed on 22/05/2019 at 21:26.
Pushed by aacid into branch 'Applications/19.04'.

Fix opening saved games

Don't try to download to a temp file just to feed it to QDomDocument.

Just download the file to a bytearray and use that

M  +3    -7    src/gui/serializer.cpp

https://commits.kde.org/ksudoku/9849aca3bb891651166f2eca21f5bef6753b3a2c
Comment 7 Albert Astals Cid 2019-10-28 00:03:55 UTC
*** Bug 413006 has been marked as a duplicate of this bug. ***
Comment 8 Albert Astals Cid 2020-11-15 21:23:46 UTC
*** Bug 429161 has been marked as a duplicate of this bug. ***