Bug 262971 - Kate (4.4.x and 4.5.x) session opening fail
Summary: Kate (4.4.x and 4.5.x) session opening fail
Status: RESOLVED FIXED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.4
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 18:11 UTC by Matteo Azzali
Modified: 2011-01-17 15:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Azzali 2011-01-12 18:11:06 UTC
Version:           4.4
OS:                Linux

After opening some files and saving session, if you reopen Kate you'll get a lot of little square dialog windows with prograss bar. Eventually if you opened just a couple file you'll then see a "filename doesn't exists" message for the files (that are there!).

Last bug-free version was 4.3.4 which I still use.

In some Irc chatting it looked like kate was trying to copy files into a temp directory ("Application Data\.kde\tmp-USERNAME") instead of loading them.

Often Kate will crash or freeze if you have a lot of file opened.


Reproducible: Always

Steps to Reproduce:
1) Install KDEWindows version 4.4.0 - 4.5.4. 
2) Open Kate, open a couple files (more files for more troubles), save session as default
3) close and reopen Kate and you can't miss

Actual Results:  
Can't use kate 4.3.4 if not closing all files before quitting

Expected Results:  
On linux and with 4.3.4 I can keep 50+ files opened in a session and find them under my finger when I reopen Kate
Comment 1 Carlo Segato 2011-01-13 02:17:16 UTC
SVN commit 1214104 by segato:

on windows KUrl::path() returns toLocalFile() if the path is local, that means that the path doesn't start with a / so we need to add it back to create a proper url
BUG:262971


 M  +4 -0      kurl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1214104
Comment 2 Carlo Segato 2011-01-13 02:20:52 UTC
SVN commit 1214105 by segato:

backport r1214104
on windows KUrl::path() returns toLocalFile() if the path is local, that means that the path doesn't start with 
a / so we need to add it back to create a proper url
CCBUG:262971



 M  +4 -0      kurl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1214105
Comment 3 Carlo Segato 2011-01-13 02:25:01 UTC
just a side note, the url in the session file are wrong so you need to either remove it in %APPDATA%\.kde\share\apps\kate\sessions or save it again from kate
Comment 4 Patrick Spendrin 2011-01-17 15:55:33 UTC
Ok, kdelibs has been updated to version 4.5.4-3 which backports the above fix from Carlo.