Bug 157089 - Read-only description metadata does not wrap in file properties dialog
Summary: Read-only description metadata does not wrap in file properties dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-02-01 17:22 UTC by Oliver Henshaw
Modified: 2018-10-27 03:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Untested diff provided by dfaure in irc (795 bytes, patch)
2008-02-01 17:24 UTC, Oliver Henshaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Henshaw 2008-02-01 17:22:12 UTC
Version:            (using KDE 3.5.8)
Installed from:    Fedora RPMs

Description of problem:

I'm writing a KFile plugin for kde 3.5 and discovered that long text in a
metadata field is not wrapped by the kde file properties dialog.

This bug is usually not triggered because most metadata items with
KFileMimeTypeInfo::Description are editable comment fields and so use the
multi-line editbox.


How reproducible:

View long text in meta-data tab in right-click properties dialog from
konqueror/dolphin.

Actual results:

Horizontal scroll bar.

Expected results:

Wrapped text.


Additional Info:

I had some trouble finding a test case - I can't think of any existing mime-types
with read-only description fields or long metadata offhand. I notice there's no
kfile plugins for .rpm (or other package types) in kde3.5, maybe there's something in kde4/strigi?

Something that should work as a text case would be a .pdf file with a long "Summary" metadata field (but I couldn't create one within a couple of minutes in kword. I'll have another go at a later time, if you don't have any better ideas.)
Comment 1 Oliver Henshaw 2008-02-01 17:24:09 UTC
Created attachment 23397 [details]
Untested diff provided by dfaure in irc

Here's a possible solution proposed by you on #kde earlier this week. I don't
know if the KFileMimeTypeInfo::Multiline flag should be re-used for this.
Comment 2 Dawit Alemayehu 2013-06-15 13:58:10 UTC
Has this been already addressed or do you have the same problem in KDE 4?
Comment 3 Andrew Crouthamel 2018-09-24 02:18:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 03:53:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!