Commit Graph

391 Commits (111d59e1c543affa63b89eb6fd774d6be7387e7e)

Author SHA1 Message Date
Michail Vourlakos 111d59e1c5 fix crash with qt5.9 and wayland
--the show() function of a wayland surface shouldnt
be called before the surface is created. In other case
in qt 5.9 creates a crash
8 years ago
Michail Vourlakos ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
8 years ago
Michail Vourlakos cf86fddeec fix #537,properly set copy location in multi-scr 8 years ago
Michail Vourlakos f18047a43e fix #556,remove single dock from secondary screen 8 years ago
Michail Vourlakos 480570bab2 fix #555,correct -1px struts calculations 8 years ago
Michail Vourlakos ce7bf51145 disable background effect when having transparency 8 years ago
Michail Vourlakos d544549d2c fix #553,reenable shortcuts for plasma taskmanager 8 years ago
Michail Vourlakos 1554af6f16 pass boundingRect to background Contrast effect
--fix the strange line at the bottom of the dock
when using the Breeze themes
8 years ago
Michail Vourlakos aa9e730422 fix #539,update autostart to new desktop file 8 years ago
Michail Vourlakos 9ccf9978be update docksCount on screen changes 8 years ago
Michail Vourlakos a05785e34b differentiate dockNo perScreen and total
--improve the signaling between the configuration window
and the dockview concerning freeEdges for current screens
and docks count. Now the docks counting is different
between screens and in general
8 years ago
Michail Vourlakos 97b3c4f854 update algorithms for docksCount,freeEdges
--the new algorithms are using QScreen* values
from dockviews instead of the containment screen()
which can not be trusted at the first minutes
of a dock creation
8 years ago
Michail Vourlakos 973cc935fc always set explicit screen on copy method 8 years ago
Johan Smith Agudelo Rodriguez a409d761b7 fix #527, Dock dodges maximized window on different screen. 8 years ago
Michail Vourlakos 6a480d4311 remove debug message 8 years ago
Michail Vourlakos c8878792bb fix #532,dont allow to add a second Tasks plasmoid 8 years ago
Michail Vourlakos 5eb63a3cbc move new copied dock to explicit screen
--if the new copied dock is on a multi-screen
environment the algorithm adds it in the first
available alternative screen that has the same
edge free
8 years ago
Michail Vourlakos 2078cb1cb2 support copyDock correctly from corona
--the code copies the containment configuration
and also if there is a systray in it
8 years ago
Michail Vourlakos b0ebfdbe4f first approach to copy a dock 8 years ago
Michail Vourlakos c7ad6463d7 always copy current dock launchers to global ones
--when the user activate the syncLaunchers choice the
current dock launchers are copied as global launchers
8 years ago
Michail Vourlakos be83d54339 fix #521,support syncing launchers for all docks
--this commit is the last for this to be supported.
It checks if the globalLauncherList is empty and in
such case when syncing is enabled the current dock
launchers are used
8 years ago
Michail Vourlakos 2ec210bf48 support globalLaunchers for alternative session 8 years ago
Michail Vourlakos cf7b820e2e sync launchers correctly between docks,def session 8 years ago
Michail Vourlakos 7627d30a1c make dock mask null when behaveAsPlasmaPanel
--this way the pop ups from widgets are placed
much better
8 years ago
Michail Vourlakos 3b0f46760a hide tasks numbers on wayland 8 years ago
Michail Vourlakos 8e006b54f6 create dock wayland surface earlier
--doing so fixes a wrong loading issue that
was creating shadows for secondary, third dock
and losing also the focus out event to close
the configuration windows
8 years ago
Michail Vourlakos eb2387c581 fix configuration window positioning and issues
--draw the wayland surfaces for docks and config
views earlier. That way we are certain that the
signals wont mess up the experience. This way
positioning config views and getting the focusOut
event works correctly
--disable in waylandinterface any x specific code.
In order to be ready that class to accept only
wayland centered code
8 years ago
Michail Vourlakos 575ff06a66 support window placement in wayland!!! :) 8 years ago
Michail Vourlakos 048acbfb71 initial commit for waylandinterface
--support wayland painting without init crashes
--the wayland interface is just the xwindow one
masked as an wayland interface
8 years ago
Michail Vourlakos ee6c831b01 fix #510,support correctly global shortcuts
--in X11 now the globalshortcuts class takes into
account if the user presses any modifier in order
to hide the dock
--if the dock is hidden whenever a relevant global
shortcut is triggered the dock is shown and number
indicators for the tasks are shown
8 years ago
Michail Vourlakos 1b025826ee identify if the user released modifiers
--the global shortcut class now identify if the user
has release the shortcuts modifiers and then release
the dock to hide. The code was found first in the
plasma activity switcher
8 years ago
Michail Vourlakos d54fc5b436 add Meta+` shortcut and fix animation behavior
--the isHidden flag shouldnt be set from visibilitymanager,
it is only the qml responsibility
8 years ago
Michail Vourlakos 4de9ea1e7e add globalshortcuts class to improve semantics
--the globalshortcuts class contains all the relevant
code and includes also some functions that were used
from corona to trigger changes into the Latte Tasks
plasmoid
8 years ago
Michail Vourlakos 4381384d20 add deleteLater instead of delete for dockView 8 years ago
Michail Vourlakos 8f9772f46a init qml from kde frameworks 8 years ago
Michail Vourlakos d223e23291 protect from closing on changing sessions
--disable quiting the app when there are no windows
shown. There are cases that between states some
windows may not exist. E.g. when changing sessions
and when activating/deactivating screens
8 years ago
Michail Vourlakos b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
8 years ago
Michail Vourlakos 50f8091601 fix a bug of not showing external shadows
--this occured with all new backOnlyOnMaximized
windows choice
8 years ago
Michail Vourlakos 49d8b145d2 fixes for showBackOnlyOnMaximized design
--improve applets shadows, now the shadows used
are using the backgroundColor when a transparent
panel is forced
--identify better when shadows should be drawn
8 years ago
Michail Vourlakos 8fe5e7ed00 fix #183,#465, add workaround for grabItem issue
--after Qt 5.8 the way the ungrabMouseItem works
has changed this introduced a bug:
http://bugreports.qt.io/browse/QTBUG-59044
plasma devs found a solution for this, that this
commit provides. The issue occurs when a user
right clicks (creates a context menu) and to
release it, he clicks in alternative area
outside the QuickWindow that created the previous
contextmenu
8 years ago
Michail Vourlakos 9d213a6e83 support clicking event for all fakeIconItem area 8 years ago
Michail Vourlakos 87e1d1cd2f update translation scripts to include metainfo
--update translation scripts to include translatable
metadata for the appstream file. new dependencies for
the scripts are:
 - xmlstarlet
 - itstool

--added also greek translation for the appstream file
8 years ago
Michail Vourlakos cb5e7a8307 fix #447,add an appstream file for Latte 8 years ago
Michail Vourlakos 86855e03cb update metadata desktop file to new guidelines
--update the desktop file naming in order to comply with
new guidelines. Concerning also wayland. The new desktop
file is named to org.kde.latte-dock.desktop
8 years ago
Michail Vourlakos b1c0131600 fix parenthesis typo
--by using clang an issue with a paranthesis
logical statement was discovered. this commit
fixes the logic in that statement
8 years ago
Michail Vourlakos 721001ecc4 fix grow/shrink of behaveAsPlasmaPanel dock behave 8 years ago
Michail Vourlakos d1cb29b716 fix #444,use m_drawShadows for external shadows 8 years ago
Michail Vourlakos 7d3458d45c support behaveAsPlasmaPanel in the dockview 8 years ago
Michail Vourlakos df9edc5754 fix #441,expose add widgets action in context menu 8 years ago
Michail Vourlakos a8c6e2f342 disable debug message for dbus calls 8 years ago