Commit Graph

89 Commits (a5a4b876dee8268083f7e186f084e6662ea5bddb)

Author SHA1 Message Date
Michail Vourlakos 6efeaa7d51 update code to new astyle conditions 7 years ago
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.
7 years ago
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.
7 years ago
Michail Vourlakos e07f6e207e expose contextMenu data through dbus 7 years ago
Michail Vourlakos 028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
7 years ago
Michail Vourlakos 5660e0ec9c preparing layouts menu in containmentactions 7 years ago
Michail Vourlakos 474c7a3970 slide-out docks on closing 7 years ago
Michail Vourlakos acb77c6cd4 update header files and move files around 7 years ago
Michail Vourlakos c436d4f201 move docksCount from corona to layout 7 years ago
Michail Vourlakos c95169ff67 remove freeEdge(s) from corona
--use only the layout versions
7 years ago
Michail Vourlakos d501f05ade remove deprecated noOfDocks of corona 7 years ago
Michail Vourlakos f7f7d3da6c move explicitDockOccupyEdge to layout 7 years ago
Michail Vourlakos 6a1c8173e2 remove noDocksWithTasks from corona 7 years ago
Michail Vourlakos 7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
7 years ago
Michail Vourlakos 7b3892de7f update latteconfig to use corona 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 4280c14acd many improvements for MultipleLayouts case 7 years ago
Michail Vourlakos bc91aefd89 add more MultipleLayouts code
--move code from dockCorona to layoutManager
--add more code related to MultipleLayouts
7 years ago
Michail Vourlakos f617a9178e support multiple active layouts in layoutmanager 7 years ago
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.
7 years ago
Michail Vourlakos a01b7f100b move copyDock from corona to Layout 7 years ago
Michail Vourlakos ef48a70bd9 improve semantics 7 years ago
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.
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 9f16ef5d4e load specific layout on startup from command line 7 years ago
Michail Vourlakos 0615dcf084 add --default-layout option for command line
--this option enables the user to load the default
layout from start.
7 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos a1fac1a29c remove deprecated code 8 years ago
Michail Vourlakos cc94677817 remove deprecated code 8 years ago
Michail Vourlakos 68a5223b47 fix #616,use unique ids for applets and containme 8 years ago
Michail Vourlakos 9f16814780 remove deprecated globalsettings 8 years ago
Michail Vourlakos 9195dafbc9 support renaming of active layout 8 years ago
Michail Vourlakos 747fe2fd02 expose a QMultiComboBox for activities in layouts 8 years ago
Michail Vourlakos 5b10280500 expose activities properties through corona 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 f30c9056b3 support Alternative switching for new architecture 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 1a9ea88bc8 add LayoutSettings class and expose classes 8 years ago
Michail Vourlakos 06ddef8506 cnew architectures classes,add missing licenses 8 years ago
Michail Vourlakos 720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
8 years ago
Michail Vourlakos b417ae52c3 support dynamic layouts loading 8 years ago
Johan Smith Agudelo Rodriguez a6bcc53aad Cleaning up a bit before implementing always visible 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 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 b0ebfdbe4f first approach to copy a dock 8 years ago
Michail Vourlakos 575ff06a66 support window placement in wayland!!! :) 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 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
8 years ago
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
8 years ago