[Differential] [Accepted] D3480: [effects] Add a colorpicker effect

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson accepted this revision. davidedmundson added a reviewer: davidedmundson. REPOSITORY rKWIN KWin BRANCH color-picker-effect REVISION DETAIL https://phabricator.kde.org/D3480 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin

[Differential] [Accepted] D3493: [effects] Cleanup screenshot effect

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson accepted this revision. davidedmundson added a reviewer: davidedmundson. This revision is now accepted and ready to land. REPOSITORY rKWIN KWin BRANCH screenshot-effect-cleanup REVISION DETAIL https://phabricator.kde.org/D3493 EMAIL PREFERENCES https://phabricator.kde.org

[Differential] [Closed] D3480: [effects] Add a colorpicker effect

2016-11-25 Thread Martin Gräßlin
This revision was automatically updated to reflect the committed changes. Closed by commit rKWIN2cc55e40779e: [effects] Add a colorpicker effect (authored by graesslin). REPOSITORY rKWIN KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3480?vs=8490&id=8497 REVISION DETAIL https

[Differential] [Closed] D3493: [effects] Cleanup screenshot effect

2016-11-25 Thread Martin Gräßlin
This revision was automatically updated to reflect the committed changes. Closed by commit rKWINb42eb9a31061: [effects] Cleanup screenshot effect (authored by graesslin). REPOSITORY rKWIN KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3493?vs=8495&id=8496 REVISION DETAIL http

[Differential] [Closed] D3481: [applets] Support KWin/Wayland in ColorPicker

2016-11-25 Thread Martin Gräßlin
This revision was automatically updated to reflect the committed changes. Closed by commit rKDEPLASMAADDONS1bca39d22941: [applets] Support KWin/Wayland in ColorPicker (authored by graesslin). REPOSITORY rKDEPLASMAADDONS Plasma Addons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D348

[Differential] [Closed] D3453: Initialise all variables for WindowVertex.

2016-11-25 Thread davidedmundson (David Edmundson)
This revision was automatically updated to reflect the committed changes. Closed by commit rKWINadbd9fc54aa1: Initialise all variables for WindowVertex. (authored by davidedmundson). REPOSITORY rKWIN KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3453?vs=8395&id=8499 REVISION D

[Differential] [Closed] D3357: Don't register a new service for screenshots

2016-11-25 Thread davidedmundson (David Edmundson)
This revision was automatically updated to reflect the committed changes. Closed by commit rKWINaae24bb07d60: Don't register a new service for screenshots (authored by davidedmundson). REPOSITORY rKWIN KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3357?vs=8133&id=8500 REVISION

[Differential] [Updated, 68 lines] D3159: Set wayland output scale

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson updated this revision to Diff 8501. davidedmundson added a comment. Restricted Application edited projects, added Plasma; removed KWin. Add a scale method to the backends and proxy this to wl_output Also add a --scale argument for testing REPOSITORY rKWIN KWin CHANGES SI

[Differential] [Request, 16 lines] D3494: Set m_client size in global compositor co-ordinatesKWin wants to deal with the post-scaled down client size, not the texture size.

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3494 AFFECTED FILES scene_qpainter.c

[Differential] [Request, 14 lines] D3495: Scale QPainter x11 windowed backend

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3495 AFFECTED FILES plugins/platform

[Differential] [Request, 2 lines] D3497: Add scaling to virtual backend

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3497 AFFECTED FILES plugins/platform

[Differential] [Request, 21 lines] D3496: Scale input on windowed backend so input co-ordinate system matches host

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REVISION SUMMARY In theory we shouldn't need to scale input, however when in windowed mode we need to conve

[Differential] [Request, 37 lines] D3498: Add scaling to DRM backend

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. TEST PLAN For the first time, actually plugged in my high DPI laptop. Tested both 1x and 2x windows on 2 re

[Differential] [Request, 2 lines] D3499: drm cursor scaling

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REVISION SUMMARY Cursors are drawn low level, so need to go from global compositor space to device space (

[Differential] [Request, 6 lines] D3500: Scale xwindowed EGL output

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3500 AFFECTED FILES plugins/platform

[Differential] [Request, 18 lines] D3501: Scale surface damage eventsDamage events come in global compositor space, not relative to the surface.For a glTex2D we need the events relatvie to the surface

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3501 AFFECTED FILES abstract_egl_bac

[Differential] [Request, 35 lines] D3502: Provide scale offset to WindowVertex calculation

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REVISION SUMMARY WindowVertex contains the x position and also the relative texture x position Our textu

[Differential] [Request, 7 lines] D3503: Scale openGL sub surfaces

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. TEST PLAN Opened a module in system settings that uses QtQuick, confirmed it's the right size REPOSITORY

[Differential] [Request, 8 lines] D3504: Implment DRM EGL scaling

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REVISION SUMMARY We need to set the viewport so that we scale from device pixels to global compositor space.

[Differential] [Updated, 13 lines] D3425: If we get a notification with no body, treat the subject line as the body

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson updated this revision to Diff 8514. davidedmundson added a comment. Updated as per request with app name REPOSITORY rPLASMAWORKSPACE Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3425?vs=8328&id=8514 BRANCH master REVISION DETAIL https://phab

[Differential] [Request, 675 lines] D3506: Implement support for pointer constraints

2016-11-25 Thread Martin Gräßlin
graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin. REVISION SUMMARY There are two types of constraints supported: 1. Pointer confin

[Differential] [Closed] D3482: Expose rowCount as data role in TaskGroupingProxyModel.

2016-11-25 Thread hein (Eike Hein)
This revision was automatically updated to reflect the committed changes. Closed by commit rPLASMAWORKSPACE9314abc1c842: Expose rowCount as data role in TaskGroupingProxyModel. (authored by hein). REPOSITORY rPLASMAWORKSPACE Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.

[Differential] [Closed] D3483: Publish delegate geometry when ChildCount increases.

2016-11-25 Thread hein (Eike Hein)
This revision was automatically updated to reflect the committed changes. Closed by commit rPLASMADESKTOP47ae1a50e0bd: Publish delegate geometry when ChildCount increases. (authored by hein). REPOSITORY rPLASMADESKTOP Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3483

Jenkins-kde-ci: plasma-desktop master kf5-qt5 » Linux,gcc - Build # 464 - Failure!

2016-11-25 Thread no-reply
GENERAL INFO BUILD FAILURE Build URL: https://build.kde.org/job/plasma-desktop%20master%20kf5-qt5/PLATFORM=Linux,compiler=gcc/464/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 13:40:39 + Build duration: 2 min 34 sec CHANGE SET Revision 47ae1a50e0bdf5359452ba74876aba6

Jenkins-kde-ci: plasma-desktop master kf5-qt5 » Linux,gcc - Build # 465 - Fixed!

2016-11-25 Thread no-reply
GENERAL INFO BUILD SUCCESS Build URL: https://build.kde.org/job/plasma-desktop%20master%20kf5-qt5/PLATFORM=Linux,compiler=gcc/465/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 13:48:08 + Build duration: 5 min 40 sec CHANGE SET No changes JUNIT RESULTS Name

Jenkins-kde-ci: plasma-desktop master kf5-qt5 » Linux,gcc - Build # 465 - Fixed!

2016-11-25 Thread no-reply
GENERAL INFO BUILD SUCCESS Build URL: https://build.kde.org/job/plasma-desktop%20master%20kf5-qt5/PLATFORM=Linux,compiler=gcc/465/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 13:48:08 + Build duration: 5 min 40 sec CHANGE SET No changes JUNIT RESULTS Name

[Differential] [Changed Subscribers] D3494: Set m_client size in global compositor co-ordinatesKWin wants to deal with the post-scaled down client size, not the texture size.

2016-11-25 Thread Martin Gräßlin
graesslin added inline comments. INLINE COMMENTS > scene_qpainter.cpp:311-313 > +const QRect target = QRect(toplevel->clientPos(), > toplevel->clientSize()); > +const QRect src = QRect(toplevel->clientPos() + > toplevel->clientContentPos(), pixmap->image().size()); > +painter->drawI

[Differential] [Accepted] D3495: Scale QPainter x11 windowed backend

2016-11-25 Thread Martin Gräßlin
graesslin accepted this revision. graesslin added a reviewer: graesslin. This revision is now accepted and ready to land. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3495 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmunds

[Differential] [Accepted] D3497: Add scaling to virtual backend

2016-11-25 Thread Martin Gräßlin
graesslin accepted this revision. graesslin added a reviewer: graesslin. This revision is now accepted and ready to land. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3497 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmunds

[Differential] [Requested Changes To] D3496: Scale input on windowed backend so input co-ordinate system matches host

2016-11-25 Thread Martin Gräßlin
graesslin requested changes to this revision. graesslin added a reviewer: graesslin. graesslin added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > x11windowed_backend.cpp:483-484 > +for (auto it = m_windows.constBegin(); it != m_windows.constEnd(); ++it) >

[Differential] [Accepted] D3498: Add scaling to DRM backend

2016-11-25 Thread Martin Gräßlin
graesslin accepted this revision. graesslin added a reviewer: graesslin. This revision is now accepted and ready to land. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3498 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmunds

[Differential] [Requested Changes To] D3499: drm cursor scaling

2016-11-25 Thread Martin Gräßlin
graesslin requested changes to this revision. graesslin added a reviewer: graesslin. graesslin added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > drm_output.cpp:93-94 > { > const QPoint p = globalPos - m_globalPos; > -drmModeMoveCursor(m_backend->fd(

[Differential] [Requested Changes To] D3500: Scale xwindowed EGL output

2016-11-25 Thread Martin Gräßlin
graesslin requested changes to this revision. graesslin added a reviewer: graesslin. graesslin added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > egl_x11_backend.cpp:110-111 > + > +qreal scale = screens()->scale(screenId); > +glViewport(-v.x(), v.heigh

[Differential] [Requested Changes To] D3504: Implment DRM EGL scaling

2016-11-25 Thread Martin Gräßlin
graesslin requested changes to this revision. graesslin added a reviewer: graesslin. graesslin added a comment. This revision now requires changes to proceed. Same as for the X11 backend, you cannot just change the viewport REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org

[Differential] [Commented On] D3499: drm cursor scaling

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson added inline comments. INLINE COMMENTS > graesslin wrote in drm_output.cpp:93-94 > that just cannot work in a multi screen setup. The global pos is in combined > coordinates and you apply here a scale for a single screen. Yes it can. And does. The combined co-ordinates are all a

[Differential] [Requested Changes To] D3502: Provide scale offset to WindowVertex calculation

2016-11-25 Thread Martin Gräßlin
graesslin requested changes to this revision. graesslin added a reviewer: graesslin. graesslin added a comment. This revision now requires changes to proceed. I'm extremely scared of changing the WindowQuad. This is opening pandora's box. We have potentially any effect breaking here. What

[Differential] [Commented On] D3472: API for window tabbing

2016-11-25 Thread Thomas Lübking
luebking added a comment. On a general note: this terribly looks like doubling all (or a lot of) the core logics reg. tabs - which we had in initial KDE 4 tabbing and which made tabbing *incredibly* buggy. I'd suggest to forward the cores tab logics and not keep local states, counters etc.

[Differential] [Changed Subscribers] D3501: Scale surface damage eventsDamage events come in global compositor space, not relative to the surface.For a glTex2D we need the events relatvie to the surfa

2016-11-25 Thread Martin Gräßlin
graesslin added inline comments. INLINE COMMENTS > abstract_egl_backend.cpp:363 > if (GLPlatform::instance()->isGLES()) { > + > if (s_supportsARGB32 && (image.format() == QImage::Format_ARGB32 || > image.format() == QImage::Format_ARGB32_Premultiplied)) { nitpick > abstract_egl_b

[Differential] [Commented On] D3499: drm cursor scaling

2016-11-25 Thread Martin Gräßlin
graesslin added a comment. I cannot help it: to me it looks wrong. INLINE COMMENTS > drm_output.cpp:93 > { > const QPoint p = globalPos - m_globalPos; > +drmModeMoveCursor(m_backend->fd(), m_crtcId, p.x() * m_scale, p.y() * > m_scale); const QPoint p = (globalPos - m_globalPos) *

[Differential] [Commented On] D3502: Provide scale offset to WindowVertex calculation

2016-11-25 Thread davidedmundson (David Edmundson)
davidedmundson added a comment. > What about using a textureMatrix and do the mapping in the shader? In an earlier version I did have Scene::renderWindow if (node == ContentLeaf) {setScale(topLevel->scale); } which I think is effectively what you're suggesting? It

[Differential] [Request, 50 lines] D3507: Properly implement maximize of ShellClient

2016-11-25 Thread Martin Gräßlin
graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin. REVISION SUMMARY This brings some more checks from Client to ShellClient. Thus the

Re: Touchpad Gestures - Experimental

2016-11-25 Thread Marco Martin
On Thu, Nov 24, 2016 at 3:44 PM, Martin Graesslin wrote: > Hi Jens, > > I'm extremely sorry, there must have been a huge misunderstanding. > > Most of the gestures you came up with are not at all supported. We only get > the following touchpad gestures reported: > > * multi-finger pinch/rotate ges

[Differential] [Accepted] D3507: Properly implement maximize of ShellClient

2016-11-25 Thread mart (Marco Martin)
mart accepted this revision. mart added a reviewer: mart. This revision is now accepted and ready to land. REPOSITORY rKWIN KWin BRANCH shell-client-fix-maximize REVISION DETAIL https://phabricator.kde.org/D3507 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferenc

Jenkins-kde-ci: plasma-desktop Plasma-5.8 stable-kf5-qt5 » Linux,gcc - Build # 62 - Failure!

2016-11-25 Thread no-reply
GENERAL INFO BUILD FAILURE Build URL: https://build.kde.org/job/plasma-desktop%20Plasma-5.8%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/62/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 15:31:14 + Build duration: 2 min 36 sec CHANGE SET Revision 04a758912b906c8d79336

[Differential] [Request, 64 lines] D3508: Implement borderlessMaximizedWindows for Wayland windows

2016-11-25 Thread Martin Gräßlin
graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin. REVISION SUMMARY Maximize code was not yet adjusted to support decorations. Code is a

[Differential] [Updated] D3508: Implement borderlessMaximizedWindows for Wayland windows

2016-11-25 Thread Martin Gräßlin
graesslin added a dependency: D3507: Properly implement maximize of ShellClient. REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3508 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel

[Differential] [Updated] D3507: Properly implement maximize of ShellClient

2016-11-25 Thread Martin Gräßlin
graesslin added a dependent revision: D3508: Implement borderlessMaximizedWindows for Wayland windows. REPOSITORY rKWIN KWin BRANCH shell-client-fix-maximize REVISION DETAIL https://phabricator.kde.org/D3507 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/

Jenkins-kde-ci: plasma-desktop Plasma-5.8 stable-kf5-qt5 » Linux,gcc - Build # 63 - Fixed!

2016-11-25 Thread no-reply
GENERAL INFO BUILD SUCCESS Build URL: https://build.kde.org/job/plasma-desktop%20Plasma-5.8%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/63/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 15:35:48 + Build duration: 16 min CHANGE SET Revision 4f3510bc5550d236db47b9bb98c

Jenkins-kde-ci: plasma-desktop Plasma-5.8 stable-kf5-qt5 » Linux,gcc - Build # 63 - Fixed!

2016-11-25 Thread no-reply
GENERAL INFO BUILD SUCCESS Build URL: https://build.kde.org/job/plasma-desktop%20Plasma-5.8%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/63/ Project: PLATFORM=Linux,compiler=gcc Date of build: Fri, 25 Nov 2016 15:35:48 + Build duration: 16 min CHANGE SET Revision 4f3510bc5550d236db47b9bb98c

[Differential] [Commented On] D3502: Provide scale offset to WindowVertex calculation

2016-11-25 Thread Martin Gräßlin
graesslin added a comment. In https://phabricator.kde.org/D3502#65291, @davidedmundson wrote: > > What about using a textureMatrix and do the mapping in the shader? > > In an earlier version I did have > > Scene::renderWindow > if (node == ContentLeaf) {setScale(topLevel-

[Differential] [Commented On] D3502: Provide scale offset to WindowVertex calculation

2016-11-25 Thread Martin Gräßlin
graesslin added a comment. We still have a texture matrix which is used: blur effect REPOSITORY rKWIN KWin REVISION DETAIL https://phabricator.kde.org/D3502 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: davidedmundson, #plasma, graesslin Cc: graess