D23839: Port away from Qt's foreach

2019-09-10 Thread Vlad Zagorodniy
zzag accepted this revision. zzag added a comment. This revision is now accepted and ready to land. I tend to leave only one comment about troubling issue/problem and expect that the author of a patch will address all other occurrences of the issue/problem. However, let's get this

D23839: Port away from Qt's foreach

2019-09-10 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > zzag wrote in kwindowsystem_threadtest.cpp:61 > I asked that because `for (const Type : collection) {` is more common. > I know that const ref doesn't have any advantages here. In either case, this change is good to go. However, it would be great

D23839: Port away from Qt's foreach

2019-09-10 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kossebau wrote in kwindowsystem_threadtest.cpp:61 > Would a const ref make sense here, given the type nature of WId which boils > down to a integer matching the byte size of a pointer? I asked that because `for (const Type : collection) {` is more

D23839: Port away from Qt's foreach

2019-09-10 Thread Vlad Zagorodniy
zzag added a comment. Did you use a script to create this patch? INLINE COMMENTS > kwindowsystem_threadtest.cpp:61 > const QList windows = KWindowSystem::stackingOrder(); > -foreach (auto wid, windows) { > +for (auto wid : windows) { > KWindowInfo

D23835: Add TabKCM

2019-09-10 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > TabKCM.qml:153-160 > +var theTabs = [] > +var i = 0 > + > +for( i=0; i < tabs.length; i++) { > +tabs[i].delegate.createObject(sl, {}) > +theTabs.push(tabs[i].title) > +} FYI, QML has some

D23745: [server] Make double-buffered properties in xdg-shell double-buffered

2019-09-07 Thread Vlad Zagorodniy
zzag updated this revision to Diff 65603. zzag added a comment. Handle value of zero in set_max_size callback. REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D23745?vs=65472=65603 BRANCH surface-role REVISION DETAIL https://phabricator.kde.org/D23745

D23745: [server] Make double-buffered properties in xdg-shell double-buffered

2019-09-07 Thread Vlad Zagorodniy
zzag added a comment. In D23745#527309 , @davidedmundson wrote: > Only question is whether it'd more useful to have an api which helps track that we only have one role, or have an api where /all/ the objects attached to a surface (blur, plasma

D23772: Make less use of deprecated enum alias NET::StaysOnTop

2019-09-07 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > netwininfotestwm.cpp:449 > QTest::newRow("keepAbove")<< NET::States(NET::KeepAbove) > << (QVector() << keepAbove << staysOnTop); > -QTest::newRow("staysOnTop") << NET::States(NET::StaysOnTop) > << (QVector() <<

D23772: Make less use of deprecated enum alias NET::StaysOnTop

2019-09-07 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH lessuseofstaysOnTop REVISION DETAIL https://phabricator.kde.org/D23772 To: kossebau, #kwin, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23418: KStartupInfo: drop dead code for removing quotes from data values

2019-09-07 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH dropdeadcodeforremovingquotesfromstartupdatavalue REVISION DETAIL https://phabricator.kde.org/D23418 To: kossebau, #plasma, hein, broulik, #kwin, zzag Cc:

D23772: Make less use of deprecated enum alias NET::StaysOnTop

2019-09-07 Thread Vlad Zagorodniy
zzag edited reviewers, added: KWin; removed: Frameworks. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D23772 To: kossebau, #kwin, #frameworks Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23745: [server] Make double-buffered properties in xdg-shell double-buffered

2019-09-05 Thread Vlad Zagorodniy
zzag added a task: T11480: Make xdg-shell properties double-buffered. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D23745 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23745: [server] Make double-buffered properties in xdg-shell double-buffered

2019-09-05 Thread Vlad Zagorodniy
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY So far all double-buffered properties in our implementation of xdg-shell weren't actually

Re: Coding style: white space around asterisks

2019-09-01 Thread Vlad Zagorodniy
On 8/6/19 5:44 PM, Roman Gilg wrote: Hi, Hi, I am not sure whether you started this discussion in Qt/Development mailing list, so I'll just leave my 2 cents here. Let's start with very obvious thing first: If you align pointers and references to right, then you're doing something fishy.

D23619: [server] Introduce cloning and replication of output devices

2019-08-31 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > zzag wrote in outputdevice.cpp:391 > That's not safe if the raw string is dynamically allocated, use qstrlen > instead. Correction: that's not reliable way to check whether a C string is empty. You assume that all empty strings have the same

D23619: [server] Introduce cloning and replication of output devices

2019-08-31 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > outputdevice.cpp:391 > +Q_UNUSED(output); > +if (!source_uuid || source_uuid == "") { > +o->replicationSource.clear(); That's not safe if the raw string is dynamically allocated, use qstrlen instead. REPOSITORY R127 KWayland

D23347: kdelibs4support: port away from deprecated KWindowSystem API

2019-08-22 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R239 KDELibs4Support BRANCH master REVISION DETAIL https://phabricator.kde.org/D23347 To: dfaure, zzag Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D23108: Add KWindowSystem::setMainWindow(QWindow *) overload

2019-08-22 Thread Vlad Zagorodniy
zzag accepted this revision. zzag added a comment. This revision is now accepted and ready to land. Looks good to me. REPOSITORY R278 KWindowSystem BRANCH setmainwindow REVISION DETAIL https://phabricator.kde.org/D23108 To: dfaure, broulik, davidedmundson, zzag Cc:

D23108: Add KWindowSystem::setMainWindow(QWindow *) overload

2019-08-20 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kwindowsystem.cpp:458 > > +static QWindow* setMainWindowHelper(QWindow *subWindow, WId mainWindowId) > +{ Coding style: For pointers or references, use a single space before '*' or '&', but not after.

D23108: Add KWindowSystem::setMainWindow(QWindow *) overload

2019-08-13 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kwindowsystem.h:233 > * when the parent is deleted are unaffected and normally use > * the QWidget parent. > * > and normally use the QWidget parent. I think this statement is inaccurate. Documentation needs more love. :-)

D23089: KWindowSystem: remove unused QWidget includes

2019-08-11 Thread Vlad Zagorodniy
zzag added a comment. In D23089#510308 , @dfaure wrote: > That's for the benefit of the kde-frameworks-devel mailing list where it's all a bit mixed up otherwise... Oh, I didn't know that. Thank you for the clarification. :-) REPOSITORY

D23088: KWindowSystem: add setNewStartupId(QWindow *...) overload

2019-08-11 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH 2019_setNewStartupId REVISION DETAIL https://phabricator.kde.org/D23088 To: dfaure, broulik, davidedmundson, zzag Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham,

D23089: KWindowSystem: remove unused QWidget includes

2019-08-11 Thread Vlad Zagorodniy
zzag accepted this revision. zzag added a comment. This revision is now accepted and ready to land. "KWindowSystem:" can be omitted in the subject line. INLINE COMMENTS > kwindowsystem.cpp:28 > > +#include > #include coding stykle nitpick: Each section is sorted alphabetically. :-)

D22862: [server] Wrap proxyRemoveSurface in smart pointer

2019-07-31 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D22862 To: davidedmundson, #kwin, zzag Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns

D22755: [platforms/xcb] Use XRES extension to get real window PID

2019-07-26 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH master REVISION DETAIL https://phabricator.kde.org/D22755 To: davidedmundson, zzag Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns

D22755: [platforms/xcb] Use XRES extension to get real window PID

2019-07-26 Thread Vlad Zagorodniy
zzag added a comment. > Querying the NET_WM_ATOM with the NETWM classes remains unchanged _NET_WM_PID? INLINE COMMENTS > kwindowinfo.cpp:85 > +specs.mask = XCB_RES_CLIENT_ID_MASK_LOCAL_CLIENT_PID; > +auto cookie = xcb_res_query_client_ids(QX11Info::connection(), 1, > );

D22685: Fix failing autotest

2019-07-23 Thread Vlad Zagorodniy
This revision was automatically updated to reflect the committed changes. Closed by commit R278:14998613603c: Fix failing autotest (authored by zzag). REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22685?vs=62406=62407 REVISION DETAIL

D22685: Fix failing autotest

2019-07-23 Thread Vlad Zagorodniy
zzag updated this revision to Diff 62406. zzag added a comment. Make hostnames in testClientMachine unique. REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22685?vs=62404=62406 BRANCH fix-autotest REVISION DETAIL

D22685: Fix failing autotest

2019-07-23 Thread Vlad Zagorodniy
zzag retitled this revision from "Fix failing autotests" to "Fix failing autotest". REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D22685 To: zzag, #kwin, #frameworks Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag updated this revision to Diff 62404. zzag added a comment. Check initial value of group leader. REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22685?vs=62399=62404 BRANCH fix-autotest REVISION DETAIL https://phabricator.kde.org/D22685

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag updated this revision to Diff 62399. zzag added a comment. Simplify a bit REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22685?vs=62397=62399 BRANCH fix-autotest REVISION DETAIL https://phabricator.kde.org/D22685 AFFECTED FILES

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag edited the summary of this revision. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D22685 To: zzag, #kwin, #frameworks Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag edited the summary of this revision. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D22685 To: zzag, #kwin, #frameworks Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag updated this revision to Diff 62397. zzag added a comment. Require XCB::ICCCM in autotests/CMakeLists.txt REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D22685?vs=62396=62397 BRANCH fix-autotest REVISION DETAIL

D22685: Fix failing autotests

2019-07-23 Thread Vlad Zagorodniy
zzag created this revision. zzag added reviewers: KWin, Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY KWindowInfoX11Testsome fails because some parts of QXcbWindow were changed in Qt

D21659: add .vscode to .gitignore

2019-07-16 Thread Vlad Zagorodniy
zzag added a comment. Heh, I usually put .vscode and compile_commands.json (for clangd) in .git/info/exclude. REPOSITORY R289 KNotifications REVISION DETAIL https://phabricator.kde.org/D21659 To: brute4s99, broulik, nicolasfella Cc: zzag, kde-frameworks-devel, LeGast00n, sbergeron,

D22216: Use wayland-protocols

2019-07-08 Thread Vlad Zagorodniy
This revision was automatically updated to reflect the committed changes. Closed by commit R127:40b86f7792eb: Use wayland-protocols (authored by zzag). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D22216?vs=61018=61310#toc REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE

D22216: Use wayland-protocols

2019-07-03 Thread Vlad Zagorodniy
zzag retitled this revision from "RFC: Use wayland-protocols" to "Use wayland-protocols". REPOSITORY R127 KWayland BRANCH use-wayland-protocols REVISION DETAIL https://phabricator.kde.org/D22216 To: zzag, #kwin, #frameworks, romangg, davidedmundson Cc: davidedmundson, apol, romangg,

D22216: RFC: Use wayland-protocols

2019-07-03 Thread Vlad Zagorodniy
zzag added a comment. Also, it's worth to point out that neither weston, nor Mutter, nor wlroots copy protocol specs, they just have wayland-protocols as a dependency. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D22216 To: zzag, #kwin, #frameworks Cc: apol,

D22216: RFC: Use wayland-protocols

2019-07-03 Thread Vlad Zagorodniy
zzag added a comment. Generally, I see nothing wrong with waiting until protocol foo becomes part of the current wayland-protocols release. If the protocol is really importatnt, we can make temporary copy and after several kwayland releases drop it. REPOSITORY R127 KWayland REVISION

D22216: RFC: Use wayland-protocols

2019-07-03 Thread Vlad Zagorodniy
zzag added a comment. > Why was it done differently until now? I can't give you an answer, but my guess is for historical reasons. Initially, kwayland repo had only proprietary protocols, like server_decoration, etc. Protocols from wayland-protocols were copied to follow the pattern.

D22216: RFC: Use wayland-protocols

2019-07-02 Thread Vlad Zagorodniy
zzag added a reviewer: Frameworks. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D22216 To: zzag, #kwin, #frameworks Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns

D22216: RFC: Use wayland-protocols

2019-07-02 Thread Vlad Zagorodniy
zzag added a comment. > find_package(WaylandProtocols 1.15) because xdg-decoration was introduced in 1.15. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D22216 To: zzag, #kwin Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns

D22216: RFC: Use wayland-protocols

2019-07-02 Thread Vlad Zagorodniy
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY So far we've been copying protocol specifications from wayland-protocols repo to kwayland

D22156: RFC: Add wayland-protocols find module

2019-06-29 Thread Vlad Zagorodniy
zzag abandoned this revision. zzag added a comment. In D22156#488219 , @cgiboudeaux wrote: > how many users are there? Hmm, at this moment none. KWayland would be the primary user (and perhaps the only one). Perhaps ECM is not good

D22156: RFC: Add wayland-protocols find module

2019-06-29 Thread Vlad Zagorodniy
zzag retitled this revision from "Add wayland-protocols find module" to "RFC: Add wayland-protocols find module". REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D22156 To: zzag, #kwin, #frameworks Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n,

D22156: Add wayland-protocols find module

2019-06-29 Thread Vlad Zagorodniy
zzag created this revision. zzag added reviewers: KWin, Frameworks. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY This module can be used to retrieve path of a directory

D10747: Implement zwp_linux_dmabuf_v1

2019-06-29 Thread Vlad Zagorodniy
zzag added a comment. > Update protocol xml to wayland-protocols master OT: there's a package called wayland-protocols. We could use it in order to avoid copying protocol specs. name=FindWaylandProtocols.cmake #.rst: # FindWaylandProtocols # --- # # Try to

D20193: Expose locked keystates on KModifierKeyInfo when on wayland

2019-06-22 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kmodifierkeyinfo.cpp:34-44 > +#ifdef WITH_XCB > +if (qGuiApp->platformName() == QLatin1String("xcb")) > +return new KModifierKeyInfoProviderXcb; > +else > +#endif > +#ifdef WITH_WAYLAND > +if (qGuiApp->platformName() ==

D18933: Allow compositors to send discrete axis values

2019-05-17 Thread Vlad Zagorodniy
This revision was automatically updated to reflect the committed changes. Closed by commit R127:ddff2c06d17a: Allow compositors to send discrete axis values (authored by zzag). REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18933?vs=57883=58186 REVISION

Re: Deprecating KDEWebKit?

2019-05-14 Thread Vlad Zagorodniy
On 5/1/19 1:39 PM, Volker Krause wrote: - Should we remove KDEWebKit from the default frameworks module set in kdesrc- build, so that especially newcomers aren't confused by the common but harmless build error caused by it? Applications actually needing it could still pull it in via an explicit

D20595: Implement set_window_geometry

2019-05-14 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D20595 To: davidedmundson, #kwin, zzag Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D18933: Allow compositors to send discrete axis values

2019-05-10 Thread Vlad Zagorodniy
zzag updated this revision to Diff 57883. zzag added a comment. Small cleanup. REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18933?vs=57882=57883 BRANCH pointer-axis-value-discrete REVISION DETAIL https://phabricator.kde.org/D18933 AFFECTED FILES

D18933: Allow compositors to send discrete axis values

2019-05-10 Thread Vlad Zagorodniy
zzag updated this revision to Diff 57882. zzag added a comment. @since 5.XX becomes @since 5.59 REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18933?vs=51659=57882 BRANCH pointer-axis-value-discrete REVISION DETAIL https://phabricator.kde.org/D18933

D14910: Pass a dedicated fd to each keyboard for the xkb keymap

2019-04-26 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D14910 To: graesslin, #kwin, #frameworks, davidedmundson, zzag Cc: plasma-devel, kde-frameworks-devel, michaelh, ngraham, bruns

D20627: Introduce CriticalNotificationType

2019-04-26 Thread Vlad Zagorodniy
zzag added subscribers: graesslin, zzag. zzag accepted this revision. zzag added a comment. This revision is now accepted and ready to land. Hmm, in general this is quite delicate case because KWin/X11 is feature frozen... Given that there is no other way around (except using above state

D20628: Add CriticalNotification window type to PlasmaShellSurface protocol

2019-04-26 Thread Vlad Zagorodniy
zzag added a comment. Please land together with other revisions. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D20628 To: broulik, #kwin, zzag Cc: zzag, davidedmundson, kde-frameworks-devel, michaelh, ngraham, bruns

D20628: Add CriticalNotification window type to PlasmaShellSurface protocol

2019-04-26 Thread Vlad Zagorodniy
zzag accepted this revision. zzag added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > davidedmundson wrote in plasma-shell.xml:194 > since="6" > > See > https://github.com/wayland-project/wayland/blob/master/protocol/wayland.dtd Also, folks usually put

D20805: [Window Thumbnail] Also monitor scene visibility and clean up

2019-04-25 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > windowthumbnail.cpp:213 > +case ItemEnabledHasChanged: > +Q_FALLTHROUGH(); > +case ItemVisibleHasChanged: Do you actually need Q_FALLTHROUGH() here? REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL

D20595: Implement set_window_geometry

2019-04-16 Thread Vlad Zagorodniy
zzag added a comment. > Maybe we can revisit once I've done the kwin side? Sure. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D20595 To: davidedmundson, #kwin Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D20595: Implement set_window_geometry

2019-04-16 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > xdgshell_interface.h:283 > + * @brief windowGeometry > + * The position of the window within the buffer > + * s/position/geometry/ > xdgshell_stable_interface.cpp:524 > +if (s->m_topLevel) { > +

D20595: Implement set_window_geometry

2019-04-16 Thread Vlad Zagorodniy
zzag added a comment. What about xdg_shell_unstable_v6? REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D20595 To: davidedmundson, #kwin Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D18824: Implement wl_eglstream_controller Server Interface

2019-04-12 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > eglstream_controller_interface.cpp:103 > +{ > +dynamic_cast(*d).create(); > +} Can we avoid dynamic casting a reference? Is it possible to use static_cast instead? > eglstream_controller_interface_p.h:33 > + > +class

D18824: Implement wl_eglstream_controller Server Interface

2019-04-11 Thread Vlad Zagorodniy
zzag resigned from this revision. zzag added a comment. I don't have any NVIDIA hardware to test these patches so I'm kinda useless. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18824 To: ekurzinger, romangg, davidedmundson, #kwin Cc: ngraham, mati865,

D18824: Implement wl_eglstream_controller Server Interface

2019-04-11 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > eglstream_controller_interface.cpp:58 > +Q_UNUSED(client); > +Private *p = (Private *)wl_resource_get_user_data(resource); > +emit p->q->streamConsumerAttached(SurfaceInterface::get(surface), (void > *)eglStream, attribs); Please don't

D18933: Allow compositors to send discrete axis values

2019-04-09 Thread Vlad Zagorodniy
zzag retitled this revision from "Allow compositors to send discrete axis deltas" to "Allow compositors to send discrete axis values". REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18933 To: zzag, #kwin Cc: davidedmundson, mthw, kde-frameworks-devel, michaelh,

D18933: Allow compositors to send discrete axis deltas

2019-04-09 Thread Vlad Zagorodniy
zzag retitled this revision from "Send optional events from wl_pointer v5" to "Allow compositors to send discrete axis deltas". REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18933 To: zzag, #kwin Cc: davidedmundson, mthw, kde-frameworks-devel, michaelh, ngraham,

D20105: ecm_add_wayland_client_protocol: Improve error messages

2019-03-29 Thread Vlad Zagorodniy
zzag added a comment. Hmm it looks like we're using ancient `code` option. REPOSITORY R240 Extra CMake Modules BRANCH master REVISION DETAIL https://phabricator.kde.org/D20105 To: apol, #kwin, #frameworks, zzag Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns

D20105: ecm_add_wayland_client_protocol: Improve error messages

2019-03-29 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R240 Extra CMake Modules BRANCH master REVISION DETAIL https://phabricator.kde.org/D20105 To: apol, #kwin, #frameworks, zzag Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns

D19617: Support NET_WM_STATE_FOCUSED

2019-03-08 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > netwm_def.h:506 > + Only the window manager is allowed to change it. > + @since 5.56 > + **/ 5.56 or 5.57? REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D19617 To: davidedmundson, #kwin

D19544: Send blur/background contrast in device pixels

2019-03-05 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R278 KWindowSystem BRANCH master REVISION DETAIL https://phabricator.kde.org/D19544 To: davidedmundson, #kwin, zzag Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D19544: Send blur/background contrast in device pixels

2019-03-05 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kwindoweffects.cpp:266 > +auto dpr = qApp->devicePixelRatio(); > +data << r.x() * dpr << r.y() * dpr << r.width() * dpr << > r.height() * dpr; > } should we floor or round? REPOSITORY R278 KWindowSystem REVISION

D11924: Add "SkipSwitcher" to API

2019-03-05 Thread Vlad Zagorodniy
zzag added a comment. @dfaure cc765bfb3f90a52410cbc0d2324de121cdffda61 REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D11924 To: sharvey, hein, graesslin Cc: zzag, dfaure,

D19536: [autotests] Fix KWindowInfoX11Test::testState

2019-03-05 Thread Vlad Zagorodniy
This revision was automatically updated to reflect the committed changes. Closed by commit R278:cc765bfb3f90: [autotests] Fix KWindowInfoX11Test::testState (authored by zzag). REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19536?vs=53192=53193 REVISION

D19536: [autotests] Fix KWindowInfoX11Test::testState

2019-03-05 Thread Vlad Zagorodniy
zzag updated this revision to Diff 53192. zzag added a comment. sneaky update REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19536?vs=53190=53192 BRANCH foo REVISION DETAIL https://phabricator.kde.org/D19536 AFFECTED FILES

D19536: [autotests] Fix KWindowInfoX11Test::testState

2019-03-05 Thread Vlad Zagorodniy
zzag updated this revision to Diff 53190. zzag added a comment. check supported states REPOSITORY R278 KWindowSystem CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D19536?vs=53187=53190 BRANCH foo REVISION DETAIL https://phabricator.kde.org/D19536 AFFECTED FILES

D19536: [autotests] Fix KWindowInfoX11Test::testState

2019-03-05 Thread Vlad Zagorodniy
zzag edited the summary of this revision. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D19536 To: zzag, #kwin Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D19536: [autotests] Fix KWindowInfoX11Test::testState

2019-03-05 Thread Vlad Zagorodniy
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY KWindowInfoX11Test::testState(skipSwitcher) fails because Openbox doesn't implement

D11924: Add "SkipSwitcher" to API

2019-03-04 Thread Vlad Zagorodniy
zzag added a comment. @dfaure I'll take a look into this issue. REPOSITORY R278 KWindowSystem REVISION DETAIL https://phabricator.kde.org/D11924 To: sharvey, hein, graesslin Cc: zzag, dfaure, kde-frameworks-devel, #plasma, ngraham, graesslin, apol, michaelh, bruns

D19476: Hopefully fix flaky remote access test

2019-03-04 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D19476 To: davidedmundson, #kwin, zzag Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D18933: Send optional events from wl_pointer v5

2019-02-14 Thread Vlad Zagorodniy
zzag added a comment. In D18933#411966 , @davidedmundson wrote: > IMHO we should make frame() explicitly sent from the caller. Yeah, I'd prefer this way as well to be honest... > Hard to add retroactively in KF5 though :/ So,

D18933: Send optional events from wl_pointer v5

2019-02-14 Thread Vlad Zagorodniy
zzag added a subscriber: davidedmundson. zzag added a comment. @davidedmundson Would it make sense to have something like void pointerAxisV5(Qt::Orientations orientations, const QPointF , const QPoint , PointerAxisSource source); so we could send a diagonal

D18933: Send optional events from wl_pointer v5

2019-02-14 Thread Vlad Zagorodniy
zzag updated this revision to Diff 51659. zzag added a comment. Add Unknown axis source. REPOSITORY R127 KWayland CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18933?vs=51438=51659 BRANCH pointer-axis-value-discrete REVISION DETAIL https://phabricator.kde.org/D18933

D18953: Update copy paste error in XdgShellPopupStable member vars

2019-02-12 Thread Vlad Zagorodniy
zzag accepted this revision. This revision is now accepted and ready to land. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D18953 To: davidedmundson, #kwin, zzag Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D18954: Add missing XdgShellPopup::ackConfigure

2019-02-12 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > xdgshell.h:595 > + * request, passing along the @p serial of the configure event. > + * @see configureRequested > + **/ Also, maybe @since? REPOSITORY R127 KWayland BRANCH master REVISION DETAIL

D18954: Add missing XdgShellPopup::ackConfigure

2019-02-12 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > xdgshell_v6.cpp:588 > +} > + > here as well REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D18954 To: davidedmundson, #kwin, zzag Cc: zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D18954: Add missing XdgShellPopup::ackConfigure

2019-02-12 Thread Vlad Zagorodniy
zzag accepted this revision. zzag added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > xdgshell.cpp:367 > +} > + > + Please remove one extra new line. REPOSITORY R127 KWayland BRANCH master REVISION DETAIL https://phabricator.kde.org/D18954 To:

D18933: Send optional events from wl_pointer v5

2019-02-11 Thread Vlad Zagorodniy
zzag edited the summary of this revision. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18933 To: zzag, #kwin Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D18933: Send optional events from wl_pointer v5

2019-02-11 Thread Vlad Zagorodniy
zzag retitled this revision from "Implement optional events from wl_pointer v5" to "Send optional events from wl_pointer v5". REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18933 To: zzag, #kwin Cc: kde-frameworks-devel, michaelh, ngraham, bruns

D18933: Implement optional events from wl_pointer v5

2019-02-11 Thread Vlad Zagorodniy
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REVISION SUMMARY So far not all v5 features were implemented because most of them are optional. But given that

D16735: Implement text_input_unstable_v3

2019-02-08 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > test_text_input.cpp:545-548 > +QFETCH(bool, clientCommits); > +if (clientCommits) { > +textInput->commit(); > +} Personal opinion: tests have to be easy to follow, it's okay if we copy some code. I'd prefer to have a specialized

D18739: Sync QML module padding to reflect system setting pages

2019-02-08 Thread Vlad Zagorodniy
zzag added inline comments. INLINE COMMENTS > kcmultidialog.cpp:40-41 > #include > +#include > +#include > It looks like includes are sorted. Maybe keep it that way? REPOSITORY R295 KCMUtils BRANCH master REVISION DETAIL https://phabricator.kde.org/D18739 To: davidedmundson,

D18834: Change glowbar.svgz to smoother style

2019-02-08 Thread Vlad Zagorodniy
zzag added a comment. Also, it's worth to mention glowbar from Oxygen theme (plasma-framework/src/desktoptheme/oxygen/widgets/glowbar.svgz). REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D18834 To: ndavis, #vdg, rooty Cc: zzag, rooty, rapiteanu,

D18834: Change glowbar.svgz to smoother style

2019-02-08 Thread Vlad Zagorodniy
zzag added a comment. In D18834#407533 , @ndavis wrote: > I had a look through the Screen Edge effect code and while I'm no expert, I didn't see anything that would obviously make the corners large. The screen edge effect scales corner

D18763: [client] Fix typos

2019-02-05 Thread Vlad Zagorodniy
zzag abandoned this revision. zzag added a comment. Well ok. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D18763 To: zzag, #kwin Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns

D18763: [client] Fix typos

2019-02-05 Thread Vlad Zagorodniy
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. zzag requested review of this revision. REPOSITORY R127 KWayland BRANCH fix-typos REVISION DETAIL https://phabricator.kde.org/D18763 AFFECTED

D15910: Implement wl_surface::damage_buffer

2019-02-05 Thread Vlad Zagorodniy
zzag added a comment. Is it good now? REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D15910 To: romangg, #kwin, davidedmundson Cc: davidedmundson, zzag, kde-frameworks-devel, michaelh, ngraham, bruns

D18545: [breeze desktop theme/dialogs] Add rounded corners to dialogs

2019-02-01 Thread Vlad Zagorodniy
zzag added a comment. The blur effect is able to handle rounded corners, a client just has to upload proper blur region. Yes, I had the latest version of the diff. I don't use the zoom effect. REPOSITORY R242 Plasma Framework (Library) BRANCH master REVISION DETAIL

D18545: [breeze desktop theme/dialogs] Add rounded corners to dialogs

2019-01-31 Thread Vlad Zagorodniy
zzag added a comment. ... though I'm not sure whether that's a bug. REPOSITORY R242 Plasma Framework (Library) BRANCH master REVISION DETAIL https://phabricator.kde.org/D18545 To: rooty, #vdg, ngraham Cc: zzag, davidedmundson, Codezela, filipf, kde-frameworks-devel, michaelh,

D18545: [breeze desktop theme/dialogs] Add rounded corners to dialogs

2019-01-31 Thread Vlad Zagorodniy
zzag added a comment. Well, there are still issues with corners F6580225: Screenshot_20190131_151157.png (both the blur and the background contrast effect are disabled) REPOSITORY R242 Plasma Framework (Library) BRANCH master REVISION

  1   2   3   >