D19052: Fix captions with non-BMP characters
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin added a comment. In D19052#413765 <https://phabricator.kde.org/D19052#413765>, @cfeck wrote: > I would need guidance to write such a test. If I understand it, I would need to create a dummy Client subclass, call setCaption() with different strings, and check what actually lands in the cap_normal variable. > > The question is, how can I create a such a dummy Client when it actually requires a workspace? Any tests that do similar things with a different property? Have a look at void X11ClientTest::testCaptionSimplified() in autotests/integration/x11_client_test.cpp - it's a very similar case. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D19052 To: cfeck, #kwin Cc: graesslin, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart