Re: MessageViewer::BlockMailTrackingUrlInterceptor::MailTrackerBlackList causes email not to be displayed

Sandro Knauß <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <3006042.LJXpcExvrr@tuxin>
Hi,

> I receive email from one particular person which does not display for me in
> KMail. When I click on their email, all I see is "HTML Message" in the
> message panel and the following in the logs for kmail :
> 
> QObject::connect: Cannot queue arguments of type
> 'MessageViewer::BlockMailTrackingUrlInterceptor::MailTrackerBlackList'

this sounds like the Type was not declared for Qt via:
Q_DECLARE_METATYPE(MessageViewer::BlockMailTrackingUrlInterceptor::MailTrackerBlackList)

> 
> https://api.kde.org/4.x-api/pim-apidocs/messagelib/messageviewer/src/html/
> blockmailtrackingurlinterceptor_8cpp_source.html

Are you really talking about a Qt4 based kmail (you see the 4.x-api in the 
url)? My guess is that yu just found this via google. The current Qt5 based 
messagelib is not at api.kde.org, so you have to check the current source:

https://cgit.kde.org/messagelib.git/tree/messageviewer/src/viewer/webengine/
blockmailtrackingurlinterceptor/blockmailtrackingurlinterceptor.cpp

okay in that case the source is not differently from the Qt4 times...
But this is not the only file you need to look at for solving this bug. You 
may used to look at other places, where this class is actually used :
messageviewer/src/widgets/mailtrackingwarningwidget.h
messageviewer/src/widgets/mailtrackingwarningwidget.cpp
messageviewer/src/viewer/viewer_p.cpp

My recommend is to download the source via git and than you can search better 
in the code.

> which made me re-read the original message content by using "View Source"
> and in the message is the url "http://t.sidekickopen24.com" .
> 
> So I'm wondering:
> 1) is there a bug in the code as I'd expect to see this email but the link
> to the mailtracker to be inactive ?

There is for sure a bug :) as it should not give those messages and those are 
blocking you to interact with the mailtracker to remove/add entries...

> 2) is there an option to turn this check off ?

I havn't found a way to disable...

As you already search in the code and found the right file. I think you may be 
able to solve the issue by yourself and propose a patch for us. I may be wrong 
and you do not understand anything I respond. Either way if you have any 
questions do not hesitate to ask! 

hefee
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAltyBR8ACgkQ462wCFBg
VjbJ0A//RGripF2z7/qLjeinpivUrSQ0DQF2gzntgmCdkVbHuK4WMWt3W1WfYYmO
xDYDCT3/MHB8rt3boweH1a4XtyFinZ5wykHC6FMMUcnFQl0Vro1orv/JfT0WvRpO
13uSEgDh6eLBLcs2zjXBlv6FJyYLTbKmtiYvukG/FZrASlXPePTb6O7jxMVzXK1D
3ibFXvaTJZTrz4LY7SXKGLhJQg54P7S3xqw3EMNcQOo8zBf/d30JZxkZFnmMwjJm
MS6HxmrBxpZwnUsr0qGkKCL90MFT2Vn2RKDoEm1gJINFF8vmH4A1i+VQ6A9ZJLlh
vMdC5VhpZvWezfN5diKjifqWdgqedCD6ic7b7PTsCLvlKASsU2XlaKW9g6nR3v8N
gci5MdKljb4cb9Os9fapPRazhIOYf+njTRXaOnwmFxkHgwJBvDgr0yh1sHkYHoOd
esDuXLsCq4GzlgB2D7RT5y+qegEBEvLJI1hGUzeqqjjMEktHykGmKwoaUrQXo59Q
vhc2ikP8wcrAKR5QHmNriqfs4JvjIEFLuaC7tZX2NSLOUjy5uNLb9mMdlOVP0mus
22OvnAwPF9xdPuceu1af5zfcBjwU1NjKG6js1ehKYNWcosIMCNxqnAgptGEPjo28
rKyJpW3rkWzARmIFlbBkN9FJZIwh3vVCZp12A83hSuUJHtXHrsQ=
=+qhR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.