Bug 312134 - Rich text cannot be displayed and stored in Table View
Summary: Rich text cannot be displayed and stored in Table View
Status: ASSIGNED
Alias: None
Product: KEXI
Classification: Applications
Component: Tables (show other bugs)
Version: 2.6 rc1
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Wojciech Kosowicz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 21:09 UTC by Jarosław Staniek
Modified: 2021-03-09 23:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-3435-0.html (1.36 KB, text/html)
2015-04-14 18:05 UTC, Jarosław Staniek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2012-12-23 21:09:31 UTC
Table View displays rich text as HTML and would not allow pasting or editing of rich text.

Reproducible: Always

== CASE 1: Table View displays rich text as HTML
Steps to Reproduce:
1. Paste a rich text to a form's Text Editor widget in form data view (currently the Text Editor does not support formatting actions so pasting is needed); the widget should have data field assigned for table T
2. Accept changes
3. Go to the table view of the table T

Actual Results:  
The text in record(s) that were filled in step 1 is displayed as HTML, i.e. starts with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"  ...

Expected Results:  
The HTML is rendered as rich text. For values not having the HTML DOCTYPE prefix, plain text should be displayed.

== CASE 2: Table View would not allow pasting or editing of rich text
Steps to Reproduce:
1. Go to a table view of the table T, text column
2. Paste some rich text content into a cell of the column (currently the Text Editor does not support formatting actions so pasting is needed)

Actual Results:  
The text gets pasted as plain text.

Expected Results:  
The text gets pasted as rich text and immediately rendered as such.

Currently the Editor does not support formatting actions but this is a topic for another report.

Related bug: https://bugs.kde.org/show_bug.cgi?id=309174
Comment 1 Jarosław Staniek 2014-02-08 21:36:19 UTC
Moved to 2.8.1 plans.
Comment 2 Wojciech Kosowicz 2015-04-14 17:52:31 UTC
Can I take it? :)
Comment 3 Jarosław Staniek 2015-04-14 18:05:25 UTC
Created attachment 92024 [details]
attachment-3435-0.html

Sure

On Tuesday, 14 April 2015, Wojciech Kosowicz <pcellix@gmail.com> wrote:
> Wojciech Kosowicz changed bug 312134
> What Removed Added
> CC   pcellix@gmail.com
> Assignee kexi-bugs@kde.org pcellix@gmail.com
>
> Comment # 2 on bug 312134 from Wojciech Kosowicz
>
> Can I take it? :)
>
> ________________________________
> You are receiving this mail because:
>
> You reported the bug.
> You are watching someone on the CC list of the bug.
> You are watching the assignee of the bug.
Comment 4 Jarosław Staniek 2016-01-23 20:48:08 UTC
What are your plans with this fix, @Wojtek?
Comment 5 Wojciech Kosowicz 2016-01-28 20:25:19 UTC
I'll start working on it right away :)
Comment 6 Jarosław Staniek 2016-01-28 23:10:38 UTC
Cool! Assigning.
Comment 7 Justin Zobel 2021-03-09 23:43:24 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.