Re: [trojita] freezing when search a text

2015-05-22 Thread Jan Kundrát
On Friday, 22 May 2015 16:36:11 CEST, Thomas Lübking wrote: And this is why guarded pointers are shit - they do weird things ;-) The object is still there, but it's only a qwidget - but we access the dying object as if it still was a real webview. It's actually not a QWidget anymore as ~QWidge

Re: [trojita] freezing when search a text

2015-05-22 Thread Thomas Lübking
On Freitag, 22. Mai 2015 12:26:08 CEST, Jan Kundrát wrote: ...but the m_associatedWebView is a QPointer, and it is guarded And this is why guarded pointers are shit - they do weird things ;-) The object is still there, but it's only a qwidget - but we access the dying object as if it still wa

[trojita] Re: 2 new features

2015-05-22 Thread Thomas Lübking
On Freitag, 22. Mai 2015 12:29:50 CEST, Jan Kundrát wrote: It won't be that simple, unfortunately. Our code uses multiple QWebView instances to show multipart messages; for example, when someone forwards you an e-mail as an attachment, you'll have at least two QWebView widgets next to each oth

Re: [trojita] 2 new features

2015-05-22 Thread Jan Kundrát
On Friday, 22 May 2015 09:24:34 CEST, Thomas Lübking wrote: As much as (1) is a running gag here around, it will probably be required to allow widespread usage in offices :-( There's a QPrintDialog and QWebView::print(QPrinter*), so a patch should not be much code. It won't be that simple, unf

Re: [trojita] freezing when search a text

2015-05-22 Thread Jan Kundrát
This is how it looks with debug symbols: #0 QMapData::findNode (this=this@entry=0x55b5fb70, akey=@0x7fffc510: 8) at /usr/include/qt5/QtCore/qmap.h:128 #1 0x75268573 in remove (akey=@0x7fffc510: 8, this=0x55bb7d28) at /usr/include/qt5/QtCore/qmap.h:894 #2 WebCore::Ins

Re: [trojita] 2 new features

2015-05-22 Thread Thomas Lübking
On Freitag, 22. Mai 2015 06:34:28 CEST, Dimitrios Glentadakis wrote: Hi, i'd like to propose two new features 1) Print 2) right click > copy selected text (2) is available in current master. As much as (1) is a running gag here around, it will probably be required to allow widespread usage i

Re: [trojita] freezing when search a text

2015-05-22 Thread Thomas Lübking
On Freitag, 22. Mai 2015 06:49:34 CEST, Dimitrios Glentadakis wrote: I don't know if it is only me or maybe i have a hardware problem also, if i select a word and right click on it and choose 'Search...' after trojita freezes, i have to kill the process. Stalls in #0 0xb521a70a in ?? () fro

Re: [trojita] freezing when search a text

2015-05-22 Thread Thomas Lübking
On Freitag, 22. Mai 2015 06:49:34 CEST, Dimitrios Glentadakis wrote: I don't know if it is only me or maybe i have a hardware problem also, if i select a word and right click on it and choose 'Search...' after trojita freezes, i have to kill the process. It happens (on Qt5 builds can't try Qt