kate doesn't show symbols when opening empty file

Bug #259772 reported by Anton Goloborodko
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KDE Software Development Kit
Fix Released
High
kdesdk (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Hi!

I tried to such commands:

antalar@antalar:~/programming$ touch compile
antalar@antalar:~/programming$ kate compile

But after opening "compile file" kate doesn't show any symbols I printed.
Then, if I would print some text there (blindly, of course), save it and then read it, I could see, that actually Kate is working (for example, I've printed "test" in kate window):

antalar@antalar:~/programming/TheorChromo/win32$ cat compile
testantalar@antalar:~/programming/TheorChromo/win32$

But when I'll try to open this file in kate again, there would be no text again.

Kubuntu 8.10, kde 4.1

Revision history for this message
Anton Goloborodko (antalar) wrote :

Oh, I've made mistakes:

-antalar@antalar:~/programming/TheorChromo/win32$ cat compile
-testantalar@antalar:~/programming/TheorChromo/win32$

+antalar@antalar:~/programming$ cat compile
+testantalar@antalar:~/programming$

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

touch compile
kate compile

This would create a new, empty file called "compile". It would be normal for nothing to be in that file.

Changed in kdesdk-kde4:
status: New → Invalid
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oh, nevermind. I see what you mean.
When I open "compile" then try to type stuff. The text is invisible.
Then, when I close and reopen it, the file is empty even though cat says the file contains "test".
Very weird.

Changed in kdesdk-kde4:
status: Invalid → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Transitioning to affect the Intrepid package since this is an issue in Intrepid also.

Revision history for this message
Anton Goloborodko (antalar) wrote :

>Oh, nevermind. I see what you mean.
>When I open "compile" then try to type stuff. The text is invisible.
>Then, when I close and reopen it, the file is empty even though cat says the file contains "test".
>Very weird.

Exactly!! :)

Revision history for this message
Harald Sitter (apachelogger) wrote :

Please forward this report to http://bugs.kde.org and add it's URL to the bug watch "KDE Software Development Kit" at the very top of this report. Thank you.

Changed in kdesdk:
importance: Undecided → Low
Revision history for this message
Anton Goloborodko (antalar) wrote :

I'm sorry, but I didn't understand, what did you mean.

I've reported this bug to http://bugs.kde.org :
https://bugs.kde.org/show_bug.cgi?id=170039

But I do not understand how can I add it's URL to this bug watch.

Changed in kdesdk:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdesdk:
status: Unknown → Fix Released
Revision history for this message
nYYBvPJWYe (ztlxipsoou-deactivatedaccount) wrote :

Same problem here.

The KDE bug was marked as a duplicate of this one:

https://bugs.kde.org/show_bug.cgi?id=170039

Somebody helpfully mentioned that this bug only applies to files with one line.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in KDE 4.2.

Changed in kdesdk:
status: Confirmed → Fix Released
Changed in kdesdk:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.