[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-06-10 Thread Rodney Baker
https://bugs.kde.org/show_bug.cgi?id=387061

Rodney Baker  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #26 from Rodney Baker  ---
REGRESSION - this was fixed but the issue has recurred in version 5.14.1
(20.04.0).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-04-01 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=387061

Wolfgang Bauer  changed:

   What|Removed |Added

 CC||i...@kobaltwit.be

--- Comment #25 from Wolfgang Bauer  ---
*** Bug 419298 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-20 Thread Rodney Baker
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #24 from Rodney Baker  ---
Tested locally and now works as expected. Many thanks, Laurent!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-12 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=387061

Laurent Montel  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/mes
   ||sagelib/991eb9c20286bdce245
   ||8d7dbc17765dd7b0d7b38
   Version Fixed In||5.14.0
 Resolution|--- |FIXED

--- Comment #23 from Laurent Montel  ---
Git commit 991eb9c20286bdce2458d7dbc17765dd7b0d7b38 by Laurent Montel.
Committed on 13/01/2020 at 06:35.
Pushed by mlaurent into branch 'master'.

Fix Bug 387061 - Large messages don't display in the viewer pane (eg. New
Tumbleweed snapshot 20171117 released!)

FIXED-IN: 5.14.0

M  +17   -1messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp
M  +2-1messageviewer/src/htmlwriter/webengineparthtmlwriter.h

https://commits.kde.org/messagelib/991eb9c20286bdce2458d7dbc17765dd7b0d7b38

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-12 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #22 from Christoph Feck  ---
KWrite/Kate doesn't use QtWebEngine. The limitation is there, probably to
prevent minute-long hangs when trying to layout a 100 MB HTML file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-12 Thread Attila
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #21 from Attila  ---
(In reply to Christoph Feck from comment #20)
> Qt's text APIs don't use bytes, but work on UTF-16 code points. The limit is
> actually 1 million of those and each uses 16 bit (2 byte).

Thanks for this information.
You have mentioned "Qt's text API". Kwrite can show text-files larger then
50MB. Sorry I am a user. I am looking into solutions. By the way I have
upgraded from Fedora 21 to 31. Something significant has changed in between
because it wasn't a big deal for Kmail to show ASCII emails larger then 50MB.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-12 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #20 from Christoph Feck  ---
Qt's text APIs don't use bytes, but work on UTF-16 code points. The limit is
actually 1 million of those and each uses 16 bit (2 byte).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-11 Thread Attila
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #19 from Attila  ---
Something should be done because it is a bad user experience when the user
clicks on a new email. There is no warning, no nothing. It is a peace of cake
for other email clients to show large messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-11 Thread Attila
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #18 from Attila  ---
(In reply to Sandro Knauß from comment #5)
> As I learned now from vkrause, there is a 2MB limit inside QtWEbEngine
> (http://doc.qt.io/qt-5/qwebengineview.html#setHtml). So we will have to
> rework the part that pushed the content to not use setHtml and use instead a
> file.

Hi, if there is a limit of 2MB than I am wondering why is it not possible to
show ASCII content of 1.3 MB. I think 1.3 is less than 2, isn't it?

See my bug report: https://bugs.kde.org/show_bug.cgi?id=415051

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-10 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387061

Christoph Feck  changed:

   What|Removed |Added

 CC||capsel+...@v-matrix.org

--- Comment #17 from Christoph Feck  ---
*** Bug 378928 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2020-01-10 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387061

Christoph Feck  changed:

   What|Removed |Added

 CC||bugs.kde.att...@online.de

--- Comment #16 from Christoph Feck  ---
*** Bug 415051 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-12-28 Thread Greg Rivers
https://bugs.kde.org/show_bug.cgi?id=387061

Greg Rivers  changed:

   What|Removed |Added

 CC||g...@tharned.org

--- Comment #15 from Greg Rivers  ---
2+ years is a long time for a regression of this magnitude to go unfixed. Is
there any way to get a kdepim developer to look into this soon?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-05-14 Thread Rodney Baker
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #14 from Rodney Baker  ---
On Monday, 13 May 2019 7:55:39 ACST Sandro Knauß wrote:
> https://bugs.kde.org/show_bug.cgi?id=387061
> 
> --- Comment #13 from Sandro Knauß  ---
> (In reply to Rodney Baker from comment #12)
> 
> > I have no idea where or how to do that. I tried cloning the kmail source
> > but I can find neither messagelib nor any instance (using grep -r) of a
> > call to QWebEngineView::setHtml within kmail. My programming experience
> > is limited to Visual Basic and Ruby, so this might be a step too far at
> > the moment.
> kdepim is about 50 repos. The repo you search is
> https://cgit.kde.org/messagelib.git.
> And the file:
> messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp:l66
> To build up a development environment look at:
> https://community.kde.org/KDE_PIM/Docker

Thanks for the pointer. I'm a complete newbie when it comes to c++, so this 
may be beyond me, but I'll see how I go. So far what I see doesn't make a lot 
of sense, but I guess I'll have to compare the docs for the two methods and 
see what needs to change, first. Hopefully this doesn't turn out to be like 
peeling an onion (layer upon layer upon layer...).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-05-12 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #13 from Sandro Knauß  ---
(In reply to Rodney Baker from comment #12)
> I have no idea where or how to do that. I tried cloning the kmail source but
> I can find neither messagelib nor any instance (using grep -r) of a call to
> QWebEngineView::setHtml within kmail. My programming experience is limited
> to Visual Basic and Ruby, so this might be a step too far at the moment.

kdepim is about 50 repos. The repo you search is
https://cgit.kde.org/messagelib.git. 
And the file:
messageviewer/src/htmlwriter/webengineparthtmlwriter.cpp:l66
To build up a development environment look at:
https://community.kde.org/KDE_PIM/Docker

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-30 Thread Hans-Peter Jansen
https://bugs.kde.org/show_bug.cgi?id=387061

Hans-Peter Jansen  changed:

   What|Removed |Added

 CC||h...@urpla.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-29 Thread Rodney Baker
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #12 from Rodney Baker  ---
I have no idea where or how to do that. I tried cloning the kmail source but I
can find neither messagelib nor any instance (using grep -r) of a call to
QWebEngineView::setHtml within kmail. My programming experience is limited to
Visual Basic and Ruby, so this might be a step too far at the moment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-26 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #11 from Sandro Knauß  ---
(In reply to Rodney Baker from comment #10)
> Still a problem in version 5.10.3, Qt5.12.2, KDE Frameworks 5.57.0. Any
> target version for the fix?

No there is no target version for the fix. This is a limitation by the way we
load the mail into QtWebEngine.Someone needs to rewrite the code in messagelib,
that we don't use QWebEngineView::setHtml anymore and use QWebEngineView::load
instead. If anyone wants to dive into that. Feel free to ask.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-23 Thread Rodney Baker
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #10 from Rodney Baker  ---
Still a problem in version 5.10.3, Qt5.12.2, KDE Frameworks 5.57.0. Any target
version for the fix?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-22 Thread George L. Emigh
https://bugs.kde.org/show_bug.cgi?id=387061

George L. Emigh  changed:

   What|Removed |Added

 CC||ab...@georgelemigh.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-22 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=387061

Christophe Giboudeaux  changed:

   What|Removed |Added

 CC||rodney.ba...@iinet.net.au

--- Comment #9 from Christophe Giboudeaux  ---
*** Bug 375445 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-02-13 Thread Garry Williams
https://bugs.kde.org/show_bug.cgi?id=387061

Garry Williams  changed:

   What|Removed |Added

 CC||gtwilli...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2018-07-10 Thread Rex Dieter
https://bugs.kde.org/show_bug.cgi?id=387061

Rex Dieter  changed:

   What|Removed |Added

 CC||rdie...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2018-04-28 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=387061

RJVB  changed:

   What|Removed |Added

 CC||rjvber...@gmail.com

--- Comment #8 from RJVB  ---
> As I learned now from vkrause, there is a 2MB limit inside QtWEbEngine
> (http://doc.qt.io/qt-5/qwebengineview.html#setHtml). So we will have to
> rework the part that pushed the content to not use setHtml and use instead a
> file.

Or go back to using QtWebKit (ReBooted), which is better for just about
anything but full-blown browsers anyway? ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2018-01-17 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387061

Christoph Feck  changed:

   What|Removed |Added

 CC||j-kde_...@joel-hatsch.net

--- Comment #7 from Christoph Feck  ---
*** Bug 388451 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-19 Thread Alexander
https://bugs.kde.org/show_bug.cgi?id=387061

Alexander  changed:

   What|Removed |Added

 CC||cookie...@web.de

--- Comment #6 from Alexander  ---
Confirmed for openSuse Leap 42.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=387061

Sandro Knauß  changed:

   What|Removed |Added

 CC||vkra...@kde.org

--- Comment #5 from Sandro Knauß  ---
As I learned now from vkrause, there is a 2MB limit inside QtWEbEngine
(http://doc.qt.io/qt-5/qwebengineview.html#setHtml). So we will have to rework
the part that pushed the content to not use setHtml and use instead a file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Axel Braun
https://bugs.kde.org/show_bug.cgi?id=387061

Axel Braun  changed:

   What|Removed |Added

 CC||axel.br...@gmx.de

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=387061

Christophe Giboudeaux  changed:

   What|Removed |Added

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

--- Comment #4 from Christophe Giboudeaux  ---
14:32:41 - kmail2(30224) - org.kde.pim.messagelist:
MessageList::Core::View::mousePressEvent: Left hit with
selectedIndexes().count() ==  3
14:32:41 - kmail2(30224) - org.kde.pim.messagelist:
MessageList::Core::View::slotSelectionChanged: View message selected [
"[opensuse-factory] New Tumbleweed snapshot 20171117 released!" ]
14:32:41 - kmail2(30224) - org.kde.pim.kmail: KMReaderWin::setMessage: void
KMReaderWin::setMessage(const Akonadi::Item &, MimeTreeParser::UpdateMode)
QSplitter(0x164f310, name="splitter2")
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeUnprocessed: Node UNprocessed: 
0x7fa7500d5bf0
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeUnprocessed: Node UNprocessed: 
0x7fa7500d5bf0
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeDisplayedEmbedded: SET NODE:  0x7fa7500d5bf0
true
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeDisplayedEmbedded: SET NODE:  0x7fa7500d5bf0
true
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeDisplayedEmbedded: SET NODE:  0x7fa7500d5bf0
true
14:32:41 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::setNodeProcessed: Node processed:  ""
"Content-Type: text/plain; charset=\"us-ascii\""
14:32:41 - kmail2(30224) - org.kde.pim.messageviewer.semantic:
SemanticRenderer::render: = Semantic
Rendering
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) -  : Empty filename passed to function
14:32:41 - kmail2(30224) -  : Empty filename passed to function
[cut]
14:32:44 - kmail2(30224) -  : Empty filename passed to function
14:32:44 - kmail2(30224) -  : Empty filename passed to function
14:32:44 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::overallEncryptionState: 

  KMMsgEncryptionState: 78
14:32:44 - kmail2(30224) - org.kde.pim.mimetreeparser:
MimeTreeParser::NodeHelper::overallSignatureState: 

  KMMsgSignatureState: 78
14:32:44 - kmail2(30224) - org.kde.pim.webengineviewer:
WebEngineViewer::WebEngineView::relativePosition: Relative Position -1
14:32:44 - kmail2(30224) - org.kde.pim.gravatar:
Gravatar::GravatarCache::loadGravatarPixmap:  hashStr
"e479a3497689cc53440f813115e566c3b8ae2aa06f49fd2939920d760a381b15"

(and the content isn't displayed)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread EGD
https://bugs.kde.org/show_bug.cgi?id=387061

EGD  changed:

   What|Removed |Added

 CC||egdf...@opensuse.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Christian Boltz
https://bugs.kde.org/show_bug.cgi?id=387061

Christian Boltz  changed:

   What|Removed |Added

 CC||kde-b...@cboltz.de

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Huw
https://bugs.kde.org/show_bug.cgi?id=387061

Huw  changed:

   What|Removed |Added

 CC||h...@synapticsilence.net

--- Comment #3 from Huw  ---
Confirmed here on the same configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Bruno Friedmann
https://bugs.kde.org/show_bug.cgi?id=387061

Bruno Friedmann  changed:

   What|Removed |Added

 CC||br...@ioda-net.ch

--- Comment #2 from Bruno Friedmann  ---
The test message is precisely located at
https://lists.opensuse.org/opensuse-factory/2017-11/msg00487.html

It's a 1.06MB text (or see the attachement here)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2017-11-18 Thread Jure Repinc
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #1 from Jure Repinc  ---
Also, pressing R on keyboard, to compose a reply does show the text of the
message, eventually. It takes a very long time (minutes) to open the compositor
window with the quoted original text (plain text) in it and until the window
opens one of the CPU cores is constantly at 100 %

-- 
You are receiving this mail because:
You are the assignee for the bug.