[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2018-08-16 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #11 from RJVB  ---
> Why not add a "Copy as Rich Text" action?

Answer: because there's already a "Copy as HTML" action which I never noticed.
I'll have to try that one then.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2018-08-16 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

RJVB  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #10 from RJVB  ---
Sorry, not resolved :P

Why not add a "Copy as Rich Text" action? I can't remember where right now but
I'm positive that I've seen such options in other applications.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2018-08-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=387662

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|CONFIRMED   |RESOLVED

--- Comment #9 from Christoph Cullmann  ---
I think we don't want to change the current behavior.
It works well for most cases, I still think it is Jira's fault to not be able
to cope with plain text pastes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2018-04-18 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=387662

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #8 from RJVB  ---
And would that be a problem? That'd be the case for pasting from Konsole too,
no?

I could imagine it would be annoying if an application like KMail switches to
the rich text editor each time you paste something that also exists as an HTML
variant (KMail doesn't do that).

I'll try to remember to check how this works out when pasting from QtCreator
into a QTBUG report, next time I have to do that anyway.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #7 from Christoph Cullmann  ---
Then you are forced to cope with "you get HTML" on paste for other programs
that prefer the HTML variant.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #6 from RJVB  ---
Couldn't you do a setHtml of "html'ified plain text", that is plain text with
just a minimal bit of html wrapped around it so it renders exactly the same as
plain text would (or should)? If there are tools that give crap with that it's
probably because they don't actually handle html correctly, no?

"Copy as HTML" would of course still copy what it copies now, I presume that
includes syntax highlighting and all.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #5 from Christoph Cullmann  ---
In any case: I don't know how to fix that nicely.

If we do always "setHtml", too, you get unwanted 'crap' for some tools that
will always paste that part.

Actually I think this is more a Jira issue, that it doesn't handle normal text
pastes well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #4 from RJVB  ---
I *think* I did run into an occasion where the result of "copy as HTML" pasted
correctly into a QTBUG but then couldn't reproduce it from another machine (or
that other machine didn't propose the "copy as HTML" option).

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #3 from Christoph Cullmann  ---
Ok, the difference is:

We just set the text as "setText" to the clipboard, which IMHO is 'ok'.

konsole does in addition do "setHtml" with a HTMLized variant.

We have in addition "copy as HTML", which seems not to work as we use ""
and the text field in the qt bugtracker doesn't do newlines there :/

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-20 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=387662

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org
 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #2 from Christoph Cullmann  ---
;=)

Funny, I can reproduce that, is really interesting.

I can paste in e.g. this text field, it works, on the https://bugreports.qt.io
it doesn't.

Perhaps some mime-type stuff set wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 387662] copy/paste from KDevelop into qtbugreports.qt.io strips indentation

2017-12-07 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387662

--- Comment #1 from RJVB  ---
Created attachment 109233
  --> https://bugs.kde.org/attachment.cgi?id=109233&action=edit
function copied from KDevelop, pasted into Qt's tracker and then copy/pasted
here.

indentation has been lost, other whitespace seems to have been preserved.

-- 
You are receiving this mail because:
You are watching all bug changes.