Bug 249158 - Text file preview should not do auto-fitting using linebreaks
Summary: Text file preview should not do auto-fitting using linebreaks
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: thumbnail (show other bugs)
Version: SVN
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 01:05 UTC by Kai Uwe Broulik
Modified: 2010-12-06 18:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Showing dolphin's preview pane (9.81 KB, image/png)
2010-08-27 01:05 UTC, Kai Uwe Broulik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2010-08-27 01:05:18 UTC
Created attachment 50995 [details]
Showing dolphin's preview pane

Version:           SVN (using KDE 4.5.0) 
OS:                Linux

The text preview does automatically fit the first few lines of the previewed file into the small preview area and uses linebreaks.


Reproducible: Always


Actual Results:  
Text gets split up like
* { margin: 0
;
    padding: 
0;
}

Expected Results:  
Should just cut the lines:
* { margin: 0
    padding:
}
So more lines could be displayed
Comment 1 Christoph Feck 2010-08-28 20:20:14 UTC
Unsure if this should be changed, because the text thumbnailer always had wrapping implemented and I think the idea is that you should see "the first n characters" instead of "the first n lines partially".

Needs more voters.
Comment 2 Kai Uwe Broulik 2010-12-06 18:06:36 UTC
In 4.6 the font is at least smaller so more content fits into the preview
Now at least the font is smaller so more content fits into the preview and also the line break is more intelligently.
I‘ll mark it as fixed anyway since it is no longer as annoying as it used to be.