https://bugs.kde.org/show_bug.cgi?id=396591

Christoph Feck <cf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |client
            Version|unspecified                 |5.49.0
            Product|kate                        |frameworks-kwayland
     Ever confirmed|0                           |1
           Assignee|kwrite-bugs-n...@kde.org    |mgraess...@kde.org
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #5 from Christoph Feck <cf...@kde.org> ---
Reassigning to kwayland. In plasmawindowmanagement.cpp, QtConcurrent is indeed
used to read QIcon. The QIcon class cannot be used outside the main thread.
While most icons just reference a theme using a name, there exists icons that
are contructed from QPixmap. Serializing it causes the error here.

A simple workaround is to check if the QIcon has name using QIcon::name(), and
if not, refuse to serialize it.

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

Reply via email to