Commit Graph

172 Commits (59f66233f2a1a88709ba353fa10aaa2de69ddd18)

Author SHA1 Message Date
Michail Vourlakos f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
6 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos a85555f52c FIX creating and copying docks
--there were cases that during creating
or copying docks the applets ids were
created inconsistent by creating applets
with ids already reserved. This patch
fixes this by using the applet ids found
in the layout file and not the one loaded
in memory.
7 years ago
Michail Vourlakos 6efeaa7d51 update code to new astyle conditions 7 years ago
Michail Vourlakos 745b9ea075 dont apply too early blur effect
dont delay the corona destruction under wayland
because that creates a crash with kwin effects

BUG: 392890
7 years ago
Michail Vourlakos dd617d43c8 track primary screen change from qt
--this way we make sure that we track the
primary screen change for wayland also
7 years ago
Michail Vourlakos 83bad3374e expose screen Tracker interval value
--different hardware can have different delays
in order to inform for screen changes. The tracker
(an internal timer that is) informs Latte after
a specific interval in order to track these changes
and respond accordingly.
7 years ago
Michail Vourlakos 51e4477499 disable MultipleLayouts for wayland
--KWin in wayland doesnt support yet Activities
and Virtual Desktops. In order to protect the user
we disable the MultipleLayouts
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 eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
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 b4b68e5bb1 add wayland debug messages 7 years ago
Michail Vourlakos 0a1488b643 update wayland code based on plasma 7 years ago
Michail Vourlakos 7050d7ba1f fix #886 use svg for settings Latte trademark
--remove the Plasma Label that was used to set
the Latte trademark based on Tangerine font that
was distributed from app source code
--remove the Tangarine font from source code
7 years ago
Michail Vourlakos 1e57260c5f asynchronous calls for quiting application
--this gives the time for docks to close and also
to not create any rare crashes because qml settings
window calls this code path from its Quit button.
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 1ab273753e add menu/about in Latte Settings window 7 years ago
Michail Vourlakos 94914ee578 warning message for broken MultipleLayouts startup
--if the app crashed and the user trys to reopen Latte
then the Containments must first return to their Original
Layouts. This code provides that and informs also the user
during the startup.
7 years ago
Michail Vourlakos 3cf6d8ef9d multiple fixes for Multiple Layouts 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 e3a3cb5a52 re-use copyDock code to make it more generic
--fix crash from containments deletion when closing corona
--reuse copyDock code in order to prepare it for
loading multiple layouts at the same time
7 years ago
Michail Vourlakos f617a9178e support multiple active layouts in layoutmanager 7 years ago
Michail Vourlakos f81433be8b try to link containments to layouts 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 3679c1c0cf load the default layout when cant find previous
--load the default layout when cant find the previous
layout for some reason. This means that something went
really wrong actually and the previous stored layout
doesnt exist anymore, at least with the same name
ised.
7 years ago
Michail Vourlakos 91ff26882e fix #784,ignore top/bottom auto-hide panels
--a bottom or top auto-hide panel is not considered
in the calculations for the availableScreenRegion
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
Yuri Chornoivan fd1ae873c4 Fix minor typos 8 years ago
Michail Vourlakos 9a72f394ee fix crash,when alternatives shown + change layouts 8 years ago
Michail Vourlakos f2ab6cbc9c block hiding when alternatives is shown 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 db0d084ed2 include all tasks plasmoids in heurestics
--during startup Latte checks if a tasks plasmoid
is going to be present (because of multi-screen settings).
Now these checks are also considering the case of
plasma taskmanagers
8 years ago