Commit Graph

203 Commits (dc4a223f27d7f0c1439c8f5c3a228620adcc29da)

Author SHA1 Message Date
Michail Vourlakos dc4a223f27 fix currentActivitiId issues on startup 7 years ago
Michail Vourlakos 667a451499 Multiple Layouts:Fixes for storage synchronization
--fix also a crash when removing a dock
7 years ago
Michail Vourlakos 7dd6345d4a MultipleLayouts:Load/Unload on Activities changes
--workaround an upstream issue, when closing an Activity
all dock/panel windows in MultipleLayouts where become
hidden.
7 years ago
Michail Vourlakos 132410d848 MultipleLayouts availableScreenRegion
--it is used to position correctly the separate dock/panels
in different activities
7 years ago
Michail Vourlakos 19cd67627d more improvements for MultipleLayouts case
--fix the strut setting between multiple running
layouts. When the activity is changing then each dock/panel
removes or adds its struts accordingly
7 years ago
Michail Vourlakos 4280c14acd many improvements for MultipleLayouts case 7 years ago
Michail Vourlakos 7d4989e983 add code for MultipleLayouts and Activities
--prepare dockViews and rest classes in order to
be able to change between different Activities in
a MultipleLayouts environment.
7 years ago
Michail Vourlakos 822f3630ac fix crashes: wrong containment deletion/signals
--we fix two crashes, one from availableScreenRectChanged
signaling when we unload a layout
--one from deleting containments in random order,
we must first delete systrays and then the rest containments
7 years ago
Michail Vourlakos f617a9178e support multiple active layouts in layoutmanager 7 years ago
Michail Vourlakos 274c6a653d add managedLayout to dockView
--this way a dock can belong to specific Layout
and this could be changed runtime in a multi-layout
runtime environment
7 years ago
Michail Vourlakos f81433be8b try to link containments to layouts 7 years ago
Michail Vourlakos a01b7f100b move copyDock from corona to Layout 7 years ago
Michail Vourlakos 2d16bcd976 draw panel background correctly after themeChange 7 years ago
Michail Vourlakos cb69a9c7c6 slide out/in also in user screen change 7 years ago
Michail Vourlakos f7b8cedb3c improve semantics for location change slide out/in 7 years ago
Michail Vourlakos d86fdfd2ff fix #810,support smart/dynamic background
the dynamic background feature is enhanced and
becomes smarter. It understands snapped windows, windows
that touch the panel edge etc. The criteria in
order for the background to become solid are:
   - any active window that is touching the panel
edge (that includes krunner)
   - any inactive window that is snapped and touches
the panel edge (concerning its geometry: quarter-snapped or half-snapped)
   - maximized windows
   - an inactive window but keepAbove is touching
the panel edge (this catches also the yakuake case)
   - panel popups
7 years ago
Michail Vourlakos a31940a6fe fix for calculating panel reqion in !compositing
the mask region wasnt calculated correctly in some cases
after location changes. I think it might be a plasma
upstream bug/change but either way this patch fixes
it.
7 years ago
Michail Vourlakos 1d8eea28bb slidingIn/Out during locationChange signal 7 years ago
Michail Vourlakos 1c5cebda99 use activate signal for (not)expand
--for all neutral areas (such as spacers or
activate indicator spacers) the activate signal
in sent in order to activate an applet or
expand it / hide it...
7 years ago
Michail Vourlakos e0a3bd9f80 support nomad systray in Latte 7 years ago
Michail Vourlakos 5b1d35d25b fix #735,support shortcut to open Latte settngs
--the default shortcut is Meta+A but the user can
change it to whatever wants to from plasma systemsettings.
--the settings windows are show bases on priority.
Primary screen docks have higher priority and for the
edges the priority is: Bottom,Left,Top,Right
7 years ago
Michail Vourlakos c904236847 disable dock settings action shortcut
--the shortcut Alt+S,Alt+D is not working
correctly because it is reserved by the plasma
desktop. At first we disable it in order to see
if we can substitute it with another solution
7 years ago
Michail Vourlakos 2e3139239e fix clang warnings
--improve readability of the build process when
using clang by fixing small things to not show
some warnings
7 years ago
Michail Vourlakos 07eacda2c7 fix #674,show correct menu for plasma taskmanagers
--when the right click menu is triggered the event should
also push to the applet for the plasma taskmanagers
8 years ago
Michail Vourlakos e89afafab2 fix #662,fix typo and auto-hide break behavior
--the check to disable blockHiding takes into account
if the config window is shown or not
--a small typo when going to !editMode was fixed
8 years ago
Michail Vourlakos 9a72f394ee fix crash,when alternatives shown + change layouts 8 years ago
Michail Vourlakos 14d7ae5d55 use new block hiding for activate/deactivate applets 8 years ago
Michail Vourlakos b91bc6cda2 expose alternatives only in edit mode 8 years ago
Michail Vourlakos f2ab6cbc9c block hiding when alternatives is shown 8 years ago
Michail Vourlakos b5c0a4d2d0 simplify code 8 years ago
Michail Vourlakos 46e54c2e81 update screenGeometry correctly for dockview 8 years ago
Michail Vourlakos c154eae4c7 fix #634,load the dockWin flag after copy 8 years ago
Michail Vourlakos 26516b8d8c check specific for Latte Tasks Plasmoid 8 years ago
Michail Vourlakos 1b0b2a24b8 consider all taskmanagers in algorithms
--in the past only the Latte plasmoid was considered are
Tasks plasmoid
8 years ago
Michail Vourlakos 933f075dc5 add configure in the layouts context menu 8 years ago
Michail Vourlakos 262b3bd238 dont restore zoom when applet context menu shown 8 years ago
Michail Vourlakos 9f16814780 remove deprecated globalsettings 8 years ago
Michail Vourlakos 116d817754 use layouts menu from dockview
--remove the old functionality for switching sessions
8 years ago
Johan Smith Agudelo Rodriguez 0e87cb8907 LayoutConfigDialog moved into LayoutManager class 8 years ago
Johan Smith Agudelo Rodriguez 0b4dc7ce3e Adding layouts config dialog 8 years ago
Michail Vourlakos 9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
8 years ago
Michail Vourlakos f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
8 years ago
Michail Vourlakos b15e919bab remove all the session functionality
--the session functionality is not removed only from
globalsettings class which is just waiting to be removed
tottaly when its functionality moves to the new classes
8 years ago
Michail Vourlakos c72f7f4531 fix #573,improve the primary docks behavior
--users reported that when activating an external screen
as primary and at the same time disabling the original
screen e.g. the laptop one, latte wasnt showing docks at
all. This could also occur on startup. This commit
fixes this and improves more the multi-screen code in
various corner cases
8 years ago
Johan Smith Agudelo Rodriguez a32236932a Unnecessarily long enum 8 years ago
Michail Vourlakos c0daf7dd68 add debug messages for destructions 8 years ago
Michail Vourlakos bc262d7b00 fix typo and trigger signal 8 years ago
Michail Vourlakos a1a1f56749 disable messages from dockview when deleting it 8 years ago
Michail Vourlakos f6b9e35eb7 fix crash from surfacedestroyed signal 8 years ago
Michail Vourlakos d825e2dda4 add more protections on deleting a dock
--these protections could reduce crashes on
dock deletions
8 years ago