Bug 315729 - Usability. Multiple spaces not showing in chat dialog
Summary: Usability. Multiple spaces not showing in chat dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: Chat Window (other bugs)
Version First Reported In: 1.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 296686 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-24 20:31 UTC by Vova
Modified: 2023-01-30 05:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vova 2013-02-24 20:31:05 UTC
Kopete omit multiple spaces in chat window and history. It isn`t good for some text, for example source code, ar another formated text. Formating is droped, and read that text is very hard.

I`m prepare path, it add "white-space: pre-wrap" style option in message body. Also need add similar attribute on view history code.

Reproducible: Always

Steps to Reproduce:
1. Enter text        with          spaces
2. Think




[code=patch]
diff -Naur kdenetwork-4.10.0/kopete/libkopete/kopetemessage.cpp kdenetwork-4.10.0_new/kopete/libkopete/kopetemessage.cpp
--- kdenetwork-4.10.0/kopete/libkopete/kopetemessage.cpp	2013-01-24 00:17:32.000000000 +0200
+++ kdenetwork-4.10.0_new/kopete/libkopete/kopetemessage.cpp	2013-02-24 21:57:47.012000000 +0200
@@ -623,6 +623,9 @@
 		styleAttribute += QString::fromUtf8("background-color: %1; ").arg(d->backgroundColor.name());
 	}
 
+	styleAttribute += QString::fromUtf8("white-space: pre-wrap; ");
+	
+
 	// Affect font parameters.
 	if( !d->richTextOverride && d->font!=QFont() )
 	{
[/code]
Comment 1 Jekyll Wu 2013-02-25 01:19:20 UTC
*** Bug 296686 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Crouthamel 2018-11-10 03:15:37 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-20 04:00:01 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2022-12-31 00:24:25 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2023-01-15 05:11:04 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
mark the bug 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 6 Bug Janitor Service 2023-01-30 05:07:44 UTC
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!