Commit Graph

88 Commits (bf23b71a11c9e27ce7ffa66ea375b899fea36aa8)

Author SHA1 Message Date
Michail Vourlakos 616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
Michail Vourlakos cb88d134f4 fix #889,dont crash on applcation exit
--the wayland interface couldnt orchestrate correctly
with the corona and the application exit. The whole
architecture changed and the window manager now is
provided by corona and corona is also responsible to
keep only one instance of it and close on exit.
Michail Vourlakos e07f6e207e expose contextMenu data through dbus
Michail Vourlakos 028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
Michail Vourlakos 5660e0ec9c preparing layouts menu in containmentactions
Michail Vourlakos 474c7a3970 slide-out docks on closing
Michail Vourlakos acb77c6cd4 update header files and move files around
Michail Vourlakos c436d4f201 move docksCount from corona to layout
Michail Vourlakos c95169ff67 remove freeEdge(s) from corona
--use only the layout versions
Michail Vourlakos d501f05ade remove deprecated noOfDocks of corona
Michail Vourlakos f7f7d3da6c move explicitDockOccupyEdge to layout
Michail Vourlakos 6a1c8173e2 remove noDocksWithTasks from corona
Michail Vourlakos 7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
Michail Vourlakos 7b3892de7f update latteconfig to use corona
Michail Vourlakos 132410d848 MultipleLayouts availableScreenRegion
--it is used to position correctly the separate dock/panels
in different activities
Michail Vourlakos 4280c14acd many improvements for MultipleLayouts case
Michail Vourlakos bc91aefd89 add more MultipleLayouts code
--move code from dockCorona to layoutManager
--add more code related to MultipleLayouts
Michail Vourlakos f617a9178e support multiple active layouts in layoutmanager
Michail Vourlakos dd8c8271b6 IMPORTANT: move logic from corona to layout
--refactoring code for #808...
Latte gets prepared for multiple layouts running
at the same time.
Michail Vourlakos a01b7f100b move copyDock from corona to Layout
Michail Vourlakos ef48a70bd9 improve semantics
Michail Vourlakos 2a911d34b8 improve semantics for availableScreenRect
--improve the function to calculate the availableScreenRect
of a specific screen. Now the function accepts two arguments
specifing which visibility modes and locations(edges) are
going to be taken into account to calculate the
availableScreenRect.
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
Michail Vourlakos 9f16ef5d4e load specific layout on startup from command line
Michail Vourlakos 0615dcf084 add --default-layout option for command line
--this option enables the user to load the default
layout from start.
Michail Vourlakos eefbc5e9ec fix #636,new approach for Layout,Global launchers
--changed the design totally and use only signals
between plasmoid in order to update their models. This
way the launcherList from their tasksmodel should be
updated only on the initialization phase of the Latte
plasmoid. Afterwards signaling between them takes
place, in order to inform each other for adding,
removing launchers, moving them and assigning them
to activities
Michail Vourlakos 7d4344637c fix #635,never add primary dock over an explicit
--the addDock code now checks if at the primary screen
in the specific edge there is already assigned an explicit
dock. In that case it doesnt add that primary dock
Michail Vourlakos a1fac1a29c remove deprecated code
Michail Vourlakos cc94677817 remove deprecated code
Michail Vourlakos 68a5223b47 fix #616,use unique ids for applets and containme
Michail Vourlakos 9f16814780 remove deprecated globalsettings
Michail Vourlakos 9195dafbc9 support renaming of active layout
Michail Vourlakos 747fe2fd02 expose a QMultiComboBox for activities in layouts
Michail Vourlakos 5b10280500 expose activities properties through corona
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
Michail Vourlakos f30c9056b3 support Alternative switching for new architecture
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
Michail Vourlakos 1a9ea88bc8 add LayoutSettings class and expose classes
Michail Vourlakos 06ddef8506 cnew architectures classes,add missing licenses
Michail Vourlakos 720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
Michail Vourlakos b417ae52c3 support dynamic layouts loading
Johan Smith Agudelo Rodriguez a6bcc53aad Cleaning up a bit before implementing always visible
Michail Vourlakos ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
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
Michail Vourlakos b0ebfdbe4f first approach to copy a dock
Michail Vourlakos 575ff06a66 support window placement in wayland!!! :)
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
Michail Vourlakos 4f030849f0 expose through dbus updateBadge for dock items
--apps can sent through dbus and identificator
e.g. "kmail" and a value for unread mails e.g.2
Latte afterwards will update that specific badger
Michail Vourlakos b034e748bb fix #365,support shortcuts to activate tasks
--this patch supports activation through shortcuts
--Meta+number, activates the relevant task, for
groups by default it activates the next available
window in the group
--Meta+Ctrl+number, create a new instance for that task
or launcher
--the user should know that must first enable these
shortcuts at plasma global shortcuts configuration
window
Johan Smith Agudelo Rodriguez 664bedb839 unused member