D18194: Fix autohide behaviour after dragging a panel

2019-01-11 Thread Steffen Coenen
scoenen created this revision.
scoenen added a project: Latte Dock.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
scoenen requested review of this revision.

REVISION SUMMARY
  Currently, when dragging a window from the panel to move it, it breaks the 
autohide behaviour of active docks/panels. This change imitates a release event 
on X11 to circumvent these problems.

REPOSITORY
  R878 Latte Dock

REVISION DETAIL
  https://phabricator.kde.org/D18194

AFFECTED FILES
  app/view/view.cpp
  app/view/visibilitymanager.cpp

To: scoenen
Cc: plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, lavender, ZrenBot, 
mvourlakos, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D18194: Fix autohide behaviour after dragging a panel

2019-01-11 Thread Steffen Coenen
scoenen updated this revision to Diff 49286.
scoenen added a comment.


  I updated the diff as you asked. Just one minor thing: Calling 
View::restoreGrabItemBehavior() under X11 seems to be redundant now.

REPOSITORY
  R878 Latte Dock

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D18194?vs=49268&id=49286

REVISION DETAIL
  https://phabricator.kde.org/D18194

AFFECTED FILES
  app/view/visibilitymanager.cpp
  app/wm/abstractwindowinterface.h
  app/wm/waylandinterface.cpp
  app/wm/waylandinterface.h
  app/wm/xwindowinterface.cpp
  app/wm/xwindowinterface.h

To: scoenen, mvourlakos
Cc: plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, lavender, ZrenBot, 
mvourlakos, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D18194: Fix autohide behaviour after dragging a panel

2019-01-12 Thread Steffen Coenen
scoenen added a comment.


  You can use this email address: stef...@steffen-coenen.de
  
  As for the potentially redundant code on X11, I am not sure if there is any 
benefit in changing it any further as it works as it is. It just checks if a 
mouseGrabberItem() is present which should never be the case on X11 now and 
then does nothing.

REPOSITORY
  R878 Latte Dock

REVISION DETAIL
  https://phabricator.kde.org/D18194

To: scoenen, mvourlakos
Cc: plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, lavender, ZrenBot, 
mvourlakos, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D18375: Adjust Latte Dock to libtaskmanager API changes for Wayland

2019-01-18 Thread Steffen Coenen
scoenen created this revision.
scoenen added a reviewer: mvourlakos.
scoenen added a project: Latte Dock.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
scoenen requested review of this revision.

REVISION SUMMARY
  Changes in libtaskmanager in Plasma 5.15 currently break several Latte Dock 
features. This patch ensures that Latte Dock will continue to work when Plasma 
5.15 is released.
  
  BUG: 403358

REPOSITORY
  R878 Latte Dock

REVISION DETAIL
  https://phabricator.kde.org/D18375

AFFECTED FILES
  plasmoid/package/contents/ui/ContextMenu.qml
  plasmoid/package/contents/ui/main.qml
  plasmoid/package/contents/ui/task/TaskDelegate.qml
  plasmoid/package/contents/ui/task/TaskWindows.qml

To: scoenen, mvourlakos
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, lavender, ZrenBot, 
mvourlakos, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart