Commit Graph

2005 Commits (81bc74f49db39efb3e973f5769ced2385fbd3625)

Author SHA1 Message Date
Michail Vourlakos 47f79db2ec improve show/hide functions of visibilitymanager
--test the new code both for x11 and wayland and check
out that it does not create crashes or any other new
bugs
5 years ago
Michail Vourlakos 90df4f4f61 support new visibility mode for SideBars
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
5 years ago
Michail Vourlakos eb2d9a0190 fix blur for behaveAsPlasmaPanels 5 years ago
Michail Vourlakos f689fc64e5 drop deprecated code
--no real reason to force shadows for
vertical real panels any more
5 years ago
Michail Vourlakos 72992b8bf5 fix missing calculation for behavingAsPlasmaPanel 5 years ago
Michail Vourlakos 9d30eb6257 support stick options for vertical views
--the user can now choose for vertical views to
stick their edges at the top or bottom screen edge
and ignore any top or bottom views accordingly. These
options are available in the Transparent Settings
area for vertical views and in advanced settings
mode.
5 years ago
Michail Vourlakos 5363433b00 ignore fullscreen windows from Plasma and Latte
--drop isPlasmaDesktop flag for windows and use the
new wm approach for plasmaIgnoredWindows
5 years ago
l10n daemon script 417152bf89 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos ad58783ae5 dont load orphaned-central layout when shared
--the orphaned-central layout should NOT be loaded
when it has already been loaded as SHARED layout for
other CENTRAL layouts in a MULTIPLE LAYOUTS environment

BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos af712c6ac4 IMPORTANT:fix first run initialization
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.

BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos d071e3be33 publish available screen geometries to Plasma
--Plasma 5.18 introduced a new dbus interface in order
for external apps to be able to publish to Plasma how
much they occupy from screen space. This is a much
requested feature from users, Latte is now publishing
both its availableScreenRect and availableScreenRegions
and this is also Multiple Layouts aware at runtime.

BUG:391073
5 years ago
l10n daemon script 430b910403 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 41a861cd0f GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 3220bfefbd dont add meta view in hiding views
--when the user is triggering an application
launcher that is a popup in a hidden view
it is not needed to enforced hidden afterwards.
The blockHiding will be released automatically
when the application launcher popup is closed.

BUG:417239
5 years ago
Michail Vourlakos 1162b1e302 fix blur regions calculations
--do not send faulty blurred regions to KWin

BUG:417254
5 years ago
Michail Vourlakos 9cfdd253a8 second fix for Qt API WheelEvent breakage 5 years ago
Michail Vourlakos 5df6935c3c fix Qt API breakage from QWheelEvent 5 years ago
Michail Vourlakos 8e614468bc imrove applets scroll wheel activation
--the new implementation works at all cases even
when the ParabolicEffect MouseArea is not really
enabled (e.g. real panels)
5 years ago
Yuri Chornoivan 734c191578 Use safe hardcoded value for ProvidersUrl
https://marc.info/?l=kde-core-devel&m=158043297319851&w=2
5 years ago
Michail Vourlakos 8ab5779bcb compute blur area correctly on startup
--improve calculations for Effects area during startup
and at the same time when the dock is totally hidden
so it should not paint any effects area at all.

BUG:416928
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos 0458d53ec9 Left/RightEdge calculations for availableScrRegion
--preparing the infrastructure calculations in order
to publish to Plasma 5.18 and greater the
availableScreenRectagle and availableScreenRegion
that Latte leaves free in current running
screens.
5 years ago
Michail Vourlakos 4b1580c0bd move View::HelperWindows in their own directory
--at the same time create a base SubWindow class for
all window helpers used by Views. Now ScreenEdgeGhostWindow
and FloatingGapWindow use the same window implementation
5 years ago
Michail Vourlakos a0582ac409 improve FloatingGapWindow creation/deletion
--create FloatingGapWindow the first time needed
from VisibilityManager if it is not already created.
--remove FloatingGapWindow when View::screenEdgeMarginEnabled
is disabled
5 years ago
Michail Vourlakos ad61f897af improve semantics 5 years ago
Michail Vourlakos b681836232 expose WindowAbilities from LastActiveWindow API
--expose isClosable,isMinimizable, isMaximizable etc..
through the LastActiveWindow API for applets or containments
to use
5 years ago
Michail Vourlakos 3f68665300 introduce floating gap window
--this window responsibility is to check
if the mouse is still inside the real floating
gap and in such case to prevent the dock from
hiding
5 years ago
Michail Vourlakos 35ce0496ec periodically checking containmouse after slidein 5 years ago
Michail Vourlakos b32171fe21 Revert "hide timer for floating views"
This reverts commit 706a80cae3.
5 years ago
l10n daemon script 3593ed48c6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 2b8978c2b4 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 87f2f7e644 dont update dock settings mask for compositing
--follow PlasmaQuick::Dialog:Popup window approach
and dont apply any mask when compositing is active
5 years ago
Michail Vourlakos 670c0cf405 remove debug message 5 years ago
Laurent Montel fc5c5c0b0c It alreadys adds by kaboutdata 5 years ago
Michail Vourlakos b7e1f6b142 introduce new PlasmaTabStyle indicator
--this indicator is used only internally from Latte
in order to draw default plasma applets tab style
indicators when the user has chosen to not draw
latte specific indicators. A good example of its
usage is when the plasma theme contains tabbar
indicator which is used in applets and the Latte
overlayed icon applets need to use the same visual
with the regular plasma applets.
5 years ago
Michail Vourlakos 4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
5 years ago
Michail Vourlakos 266499a485 support dialogs/background for dock settings wins
--use a different shadows manager for dialogs such as
dock settings window through the Latte::Corona class.
The new shadow manager is responsible to draw
"dialogs/background" shadows for windows instead of
the PanelShadows original class which is responsible
to draw "widgets/background" shadows
5 years ago
Michail Vourlakos 8b1526bc0d Revert "apply proper shadows for dock settings window"
This reverts commit 9e78fab4ce.
5 years ago
Michail Vourlakos 16a04684df blur dock settings window properly
--the new approach is always using the background
mask of the window from the FrameSvgItem background
applied.

BUG:416177
FIXED-IN:0.9.8
5 years ago
Michail Vourlakos 9e78fab4ce apply proper shadows for dock settings window
--copy and use plasmaquick/dialogshadow class from
plasma framework library

BUG:416175
FIXED-IN:0.9.8
5 years ago
Michail Vourlakos 80ceea98e2 respect plasma theme color palette always
--identify better what is the plasma theme color
palette the creator has chosen and use ALWAYS
the same color palette that Plasma is also using.
In the past, Latte was trying to protect the
color palette because Latte REVERSED colors mode
did not work fine for all plasma themes. That
approach is abandoned, Latte will use the same
colors group with plasma themes and it is on
the creators responsibility to provide enough
contrast
5 years ago
Michail Vourlakos 34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
5 years ago
Michail Vourlakos 411017c0f6 [wayland,crash]-fix showing advanced dock settings
--fix showing advanced settings window in order to update
the window geometry ONLY WHEN there are availableScreenGeometry
changes from Latte::View(s).
--As a side effect changing docks/panels location under wayland
when they have enabled their background blur has reduced crashes
during location changes.
5 years ago
Michail Vourlakos 706a80cae3 hide timer for floating views
--for floating views the hide timer can do
the trick about when to make the checks
that the view must become hidden. In floating
views should support different default and
current value because it should be greater
that the normal use cases.
5 years ago
Michail Vourlakos 87f86ebc75 trying to support masking for floating 5 years ago
Michail Vourlakos f539512c8c improve View workarounds for kwin activities
--improve the new worksarounds in order to always
apply the activities that a view and its windows are
present when the workarounds were triggered from
kwin faulty behavior. The kwin faulty behavior is
that when any activity is paused then all Latte::Views
become hidden and lose their activities references.
The workarounds are timers that when they trace
a faulty visible state !visible are restoring the
normal behavior to views.
5 years ago
Michail Vourlakos 3b1676fb93 update caller for availablescreenrectwithcriteria 5 years ago
Michail Vourlakos 620cc32c47 restore signal registering that was lost 5 years ago
Michail Vourlakos 8946ded107 improve availableScreenR*WithCriteria functions 5 years ago
Michail Vourlakos 9d6e350a85 New ScreenEdge triggering behavior for RealFloats
--trying an alternative approach concerning real floating
Views and screen edge triggering. In such case the user
has triggered to show a REAL FLOATING VIEW, it is considered
normal from user point of view for the view to remain shown
until there is windows changed state or the mouse has
escaped the View main window area
5 years ago
Michail Vourlakos a9d4f91c05 add inSlideAnimation flag for ViewPart::Positioner
--it can be used in order to enable/disable some codepaths
5 years ago
Michail Vourlakos 1dc154f932 track inLocationAnimation of View:Positioner 5 years ago
Michail Vourlakos b129a8d880 improve real floating views screen edge activation
-- when the user hovers the screen edge there is a chance that
screenedgeghostwindow has become underneath the view. In such
case when the real floating window slides in the screenghostwindow
becomes unhovered faulty and it is destroyed afterwards. It is
much better if the screenedgeghostwindow in such case remains shown
until the mouse is not contained neither in the view or the screen
ghost window
-- expose screen edge ghost window thickness
5 years ago
Michail Vourlakos e0e6f5f6b3 improve semantics for WM::setActiveEdge 5 years ago
Michail Vourlakos efbd2a8276 floating:staying mouse on edge and not hiding
--when the floating view is a real panel window and
slides out-in with real animation if the user keeps
its mouse on the screen edge the view can remain
shown without sliding out
5 years ago
Michail Vourlakos 103de33c92 trying to implement real panels sliding in/ou 5 years ago
Johnny Jazeix d2170f13c0 revert previous commit, add KDECompilerSettings back 5 years ago
Johnny Jazeix e705eed415 Don't run qmllint if ECM_ENABLE_SANITIZERS is defined 5 years ago
Michail Vourlakos d0aa28a60d dock settings window not overlap plasma panels
--when dock settings window is shown it is good to
NOT overlap with plasma panels. Under X11 this is
possible because the real availableScreenGeometry
is exposed through QScreen.
5 years ago
Michail Vourlakos 0bea257086 add hidden debug option "kwinedges"
--a way to debug kwin edges behavior for
hidden Latte::View(s) screen edges windows
5 years ago
Michail Vourlakos fdf798b49f add KDE official Help menu
--in that way Latte gains easily language
switching from user
--exposure of how/where to report bugs
5 years ago
Michail Vourlakos ada7be1a52 remove debug message 5 years ago
Michail Vourlakos 91b345e615 make indicators infrastructure smarter
--indicators are now tracked only based on their
installation path, that means that are updated
more precise when changes are applied and
at the same time views are recreated only when
the show the specific indicator that was changed
5 years ago
Michail Vourlakos 3108a73533 fixed compile with qt 5.9
FIXED-IN:0.9.7
BUG:415715
5 years ago
Michail Vourlakos 79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
5 years ago
Michail Vourlakos f6b8ed139d update PanelShadows to upstream code 5 years ago
Michail Vourlakos 0853d78101 remove QFontMetrics deprecated code 5 years ago
Michail Vourlakos 70cb2f7fde new View::availableScreenRectChangedFrom triggers
--following the new design applied first at
View:availableScreenRegionChangedFrom instead of different
View parts to trigger directly m_corona relevant signal,
all View parts are triggering the View relevant signal
and as such the can be disabled all together
easily.
5 years ago
Michail Vourlakos e5cab93fdb set minimumLength for ScreenEdgeGhostWindow
--set a minimumLength in order to avoid the indicator
to become TOO SMALL and not noticable. The minimum
length has been set to be 25% of the screen edge length
that the view as attached.
5 years ago
Michail Vourlakos ccbf2c88fd crash fix:from unloading views
--when as Always Visible view was unloaded from
a CentralLayout because its Activity was closing
it was creating a crash. This patch fixes the
situation by releasing sensitive view signals
earlier.
5 years ago
Tranter Madi fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
5 years ago
Michail Vourlakos f93bec8893 fixes for WindowsCanCover
--show immediately when view contains mouse
--hide only if view does not contain mouse
--never apply ByPassWM hint for WindowsCanCover
5 years ago
Michail Vourlakos 4cf929ea81 support containsMouse behavior for WindowsCanCover 5 years ago
Michail Vourlakos a0f9758350 wayland fix crash from visibility mode flag
--app is crashing if we set for Latte::Views
KWin visibility mode to WindowsCanCover because
Latte is hiding its Views at some animations.
In such case only the KWin AutoHide mode allows
that, otherwise it is crashing.
5 years ago
Michail Vourlakos dfd8bcdeca wayland improvements for WindowsAlwaysCover 5 years ago
Michail Vourlakos 7dd6696dfa wayland:fix crash from not found window 5 years ago
Michail Vourlakos c88329d278 x11:improve experience for Windows Always Cover
--simplify also some parts from windows calling window
manager values
5 years ago
Michail Vourlakos d9e18794c8 simplify keepabove/below calling
--start a bit to work with "Windows Always Cover"
visibility mode
5 years ago
Michail Vourlakos 3554c4a006 improve some functionality used 5 years ago
Michail Vourlakos 72777d18c1 add functionality to latte window manager
--the Latte window manager has gained now
functions in order to set the window flags
properly and to update KeepAbove/KeepBelow
flags for windows
5 years ago
Michail Vourlakos 896afcc068 support screen edge margin for behaveAsPlasmaPanel 5 years ago
Michail Vourlakos 0ebef42513 add screenEdgeMargin and update border accordingly 5 years ago
Michail Vourlakos 945a034a8c remove deprecated SignalMapper at waylandinterface 5 years ago
Michail Vourlakos d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 111254e509 refactor:move qml handling from globalshortcuts
--all the qml handling code from globalshortcuts is
now moved to Latte::View::ContaimentInterface. This
way the code is cleaner and can be expanded easier.
5 years ago
Michail Vourlakos 9dd798477e improve criteria for side panels dyamic touching
--Latte panels when they touch each other are informing
each other in order to provide consistent appearance. For
example the Unity mode where a top panel and a left panel
exist at the same time. In such case if the left panel is
INBUSY background state then the top panel is informed and
because inBusy state also. This way the top border of left dock
background does not look out of place. ON THE OTHER hand if
the left dock is hidden because the use has chosen auto-hide
visibility mode or any of the dodge(s) choices then the top
panel does not have to stay in isBusy state. The patch fixes
this by applying this behavior only when the left dock is shown
e.g. the mouse has entered the dock or the dodge mode is not
activated

BUG:415347
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 2bd037f79a fix wrong criteria for isMaximized state 5 years ago
Michail Vourlakos 7c77270f0b consider as isMaximized state only full screen case
--window manager provides two more states isMaxHorizontally,
isMaxVertically. These states can be ignored and be
considered as isMaximized only when both of these states
are valid

FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 2501c6169d fix compatibility with qt>=5.14
--fix qml register type for deprecated
code reference
5 years ago
Michail Vourlakos e05c5e2515 ignore plasma side-style panels/windows
--all plasma windows that are touching a screen edge
and their thickness based on the edge they are touching is
below 96px. are NOT consider as plasma panels and are
treated like normal windows for all Latte codepaths
5 years ago
Michail Vourlakos 61016444fb dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
5 years ago
Michail Vourlakos 6b5f4a952a dont drag/maximize windows from different desktops
--the last active window codepath provides a way to
drag and maximize/restore the last active window. This
should not occur when the last active window is not
in the current desktop and activity.

BUG:414089
FIXED-IN:0.9.5
5 years ago
l10n daemon script a3e747188f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script d649e74bc9 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 702b53493b Merge branch 'v0.9' into fix 5 years ago
Michail Vourlakos f63200988e ignore Plasma panels in Latte heuristics 5 years ago
Michail Vourlakos a946e485e0 indent fixes 5 years ago
Michail Vourlakos 7215d30ff6 fix typo that was creating an error build
BUG:413735
5 years ago
Michail Vourlakos 36f7834cff fix typo that was creating an error build
BUG:413735
5 years ago
Michail Vourlakos c1a6cfc325 optimize delayed application data updating
--the previous code was updating the delayed application
data for each instance of lastactivewindow separately.
The new code is implementing this at the central
WM::WindowsTracker and just informs last active windows
to update their values
5 years ago
Michail Vourlakos 4ff84b4bde optimize delayed application data updating
--the previous code was updating the delayed application
data for each instance of lastactivewindow separately.
The new code is implementing this at the central
WM::WindowsTracker and just informs last active windows
to update their values
5 years ago
Michail Vourlakos 189fb00426 update application data after 1500ms from startup
--when an application is tracked from the lastactivewindow
infrastructure it is updating the application name/icon
1500 ms after its first startup in order to fix apps cases
where they update their StartupWMClass a bit delayed

BUG:413671
5 years ago
Michail Vourlakos 8d4e96ed44 drop ksysguard dependency for kf5>=5.62
--following plasma updates for tasktools in order
to drop the ksysguard dependency which is also
costly
5 years ago
Michail Vourlakos d5b7694d4d update application data after 1500ms from startup
--when an application is tracked from the lastactivewindow
infrastructure it is updating the application name/icon
1500 ms after its first startup in order to fix apps cases
where they update their StartupWMClass a bit delayed

BUG:413671
5 years ago
Michail Vourlakos 6849a4906d drop ksysguard dependency for kf5>=5.62
--following plasma updates for tasktools in order
to drop the ksysguard dependency which is also
costly
5 years ago
Michail Vourlakos fb8428bc20 optimize last active window color scheme update 5 years ago
Michail Vourlakos fdb002d919 optimize last active window color scheme update 5 years ago
Michail Vourlakos c2a1c20d92 expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
5 years ago
Michail Vourlakos 6a7c959e6a expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
5 years ago
Michail Vourlakos dc0a9a8f22 Import and Load layout runtime through dbus
--switchToLayout dbus interface is used in order to
switch at specific layout that it is already imported.
With this commit the same dbus interface can be used
in order to import and load afterwards any latte layout
file by sending its absolute filepath
5 years ago
Michail Vourlakos 904cdfe2af Import and Load layout runtime through dbus
--switchToLayout dbus interface is used in order to
switch at specific layout that it is already imported.
With this commit the same dbus interface can be used
in order to import and load afterwards any latte layout
file by sending its absolute filepath
5 years ago
Michail Vourlakos a69f3013d8 search for Latte desktop file in more generic way
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.

BUG:412612
FIXED-IN:0.9.4
5 years ago
Michail Vourlakos e04c57f403 search for Latte desktop file in more generic way
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.

BUG:412612
FIXED-IN:0.9.4
5 years ago
l10n daemon script 12ec3bf36c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 7554e8c409 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Michail Vourlakos fac638c156 remove obsolete fontmetrics libraries 5 years ago
Michail Vourlakos 8f588ea3d2 remove obsolete fontmetrics libraries 5 years ago
l10n daemon script 32078ac05a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 8e35545463 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 6641b30d8e update debug messages for wm::tracker 5 years ago
Michail Vourlakos d9dc659d7b update debug messages for wm::tracker 5 years ago
l10n daemon script 71f9e6b85a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Michail Vourlakos 59712ee129 dont use topleft corner at ghost win hiding mask
--this way the top-left screen corner is always
available even when left or top views are auto-hidden
or dodged
5 years ago
Michail Vourlakos 35d8b98abf dont use topleft corner at ghost win hiding mask
--this way the top-left screen corner is always
available even when left or top views are auto-hidden
or dodged
5 years ago
Michail Vourlakos cb9d978558 remove deprecated qApp::screenCountChanged
--use only screenAdded/Removed instead
5 years ago
Michail Vourlakos d095e4c22d remove deprecated qApp::screenCountChanged
--use only screenAdded/Removed instead
5 years ago
Michail Vourlakos c515cd0216 update QRegion deprecated code 5 years ago
Michail Vourlakos 1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
5 years ago
Michail Vourlakos 9664d88ba0 update QRegion deprecated code 5 years ago
Michail Vourlakos 7cfcd84511 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
5 years ago
Michail Vourlakos eb3639914b update AllScreens track information during startup
--Whenever a view is updating its layout then the AllScreens
tracked information [per layout tracking] should be updated
also. Until now this was happening only during startup and there
was a case that if during startup a view was requesting tracking
and the second one did not, then tracking for the entire layout
for all screens it could be faulty disabled.

BUG:411670
FIXED-IN:0.9.3
5 years ago
Michail Vourlakos a9b4989236 update AllScreens track information during startup
--Whenever a view is updating its layout then the AllScreens
tracked information [per layout tracking] should be updated
also. Until now this was happening only during startup and there
was a case that if during startup a view was requesting tracking
and the second one did not, then tracking for the entire layout
for all screens it could be faulty disabled.

BUG:411670
FIXED-IN:0.9.3
5 years ago
Björn Feber c264a0a9e3 [latte-dock] Use new activities icon
Summary:
Use the new icon added in D22155.
{F6948355}

Test Plan: Open the Latte layout settings.

Reviewers: #plasma, #vdg, mvourlakos, ndavis

Reviewed By: #vdg, mvourlakos, ndavis

Subscribers: #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22170
5 years ago
Yuri Chornoivan dc14abf3d0 Fix minor EBN issues 5 years ago
Michail Vourlakos 82fae53926 update webpages and releases metadata 5 years ago
Michail Vourlakos 48ae720671 update webpages and releases metadata 5 years ago
Yuri Chornoivan 1aaef7aa2b Fix minor EBN issues 5 years ago
l10n daemon script 1c4f5906fd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 3faf5f6114 Merge branch 'v0.9' into merger 6 years ago
l10n daemon script 20a4610a85 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 6281046629 autostart Latte earlier
--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards

BUG:411341
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos 0ea41820d0 autostart Latte earlier
--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards

BUG:411341
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos 8cf49b672c remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
6 years ago
Michail Vourlakos 057edb87f1 send QEvent::Leave for view when dragging started
--this way the applets in the view will be informed for
mouse exited the view window
6 years ago
Michail Vourlakos 153f5dab27 remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
6 years ago
Michail Vourlakos 0994405f69 send QEvent::Leave for view when dragging started
--this way the applets in the view will be informed for
mouse exited the view window
6 years ago
Yuri Chornoivan 15ab253efd Fix minor EBN issues 6 years ago
Yuri Chornoivan e4670ac174 Fix project_license tag 6 years ago
Yuri Chornoivan 997fbdff76 Get rid of deprecated setHidden() 6 years ago
Yuri Chornoivan e643109d0f Try to fix build with Clang (take 2) 6 years ago
Yuri Chornoivan 784dfd1bf9 Try to fix build with Clang 6 years ago
Yuri Chornoivan 3a60d6f3b2 Fix minor EBN issues 6 years ago
Yuri Chornoivan b0f8be948c Fix project_license tag 6 years ago
Yuri Chornoivan 65f00bc446 Get rid of deprecated setHidden() 6 years ago
Yuri Chornoivan f63ab9a872 Try to fix build with Clang (take 2) 6 years ago
Yuri Chornoivan 3f6d688dfe Try to fix build with Clang 6 years ago
l10n daemon script 1bec03ec8a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script e5a1324862 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Jonathan Riddell faf76f3ceb make latte dock a plasma addon 6 years ago
Michail Vourlakos f7d968ff6d update struts when normalThickness value changes
--the issue was pretty obvious when the user was
using a top view with thickness < 24px. and a
bottom view always visible. In that case the top
view struts on startup did not decrease below
at 24px.

BUG:410707
6 years ago
Michail Vourlakos bf66aa35a7 update struts when normalThickness value changes
--the issue was pretty obvious when the user was
using a top view with thickness < 24px. and a
bottom view always visible. In that case the top
view struts on startup did not decrease below
at 24px.

BUG:410707
6 years ago
l10n daemon script bc164cdc38 GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos b078765d5c improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
6 years ago
Michail Vourlakos ab9fbc3727 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
6 years ago
Michail Vourlakos 92a4fb054e improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
6 years ago
Michail Vourlakos cad13372d6 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
6 years ago
l10n daemon script 57d52a78bf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 3bf4458cf3 update wayland interfaces in desktop file 6 years ago
Michail Vourlakos 45456a5ab8 update wayland interfaces in desktop file 6 years ago
Michail Vourlakos ff2b81a4f9 introduce windowCanBeMaximized
--trying to avoid interacting with windows
that DO NOT allow it
6 years ago
Michail Vourlakos af44c57795 improve canBeDragged implementation
--follow libtaskmanager case to support this
6 years ago
Michail Vourlakos 42d94df47f introduce windowCanBeMaximized
--trying to avoid interacting with windows
that DO NOT allow it
6 years ago
Michail Vourlakos 59f1d72fa3 improve canBeDragged implementation
--follow libtaskmanager case to support this
6 years ago
l10n daemon script e438e04511 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 6cd1a9b7ae SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 3afd0eb643 set minimum hide timer interval 50ms
--when hide timer is set below 50ms. there are
cases that does not let the view to be shown after
a containmouse trigerring. By setting a minimum
value for the timer to 50ms this is fixed.

BUG:410370
6 years ago
Michail Vourlakos 1000f62836 set minimum hide timer interval 50ms
--when hide timer is set below 50ms. there are
cases that does not let the view to be shown after
a containmouse trigerring. By setting a minimum
value for the timer to 50ms this is fixed.

BUG:410370
6 years ago
Michail Vourlakos 18728015e3 fix configview.h reference
BUG:410371
6 years ago
Michail Vourlakos cdf230944e fix configview.h reference
BUG:410371
FIXED-IN:0.9.1
6 years ago
Michail Vourlakos fcee8d98cc x11 fixes for invalid windows
--when a window is stacked back to its parent window
for example the firefox case (dragging a tab to create
a new firefox window and redrag it afterwards to the
main window) the wm::windows array had inconsistent
window records.
--This is fixed and also any X11 transient changed signals
are not blocked for windowChanged signals
6 years ago
Michail Vourlakos f64c7809ef x11 fixes for invalid windows
--when a window is stacked back to its parent window
for example the firefox case (dragging a tab to create
a new firefox window and redrag it afterwards to the
main window) the wm::windows array had inconsistent
window records.
--This is fixed and also any X11 transient changed signals
are not blocked for windowChanged signals
6 years ago
Michail Vourlakos e41ed77ce6 add report error message for unknown screens 6 years ago
Michail Vourlakos 71e291ccec comment debug messages 6 years ago
Michail Vourlakos 8fe5f8f843 add report error message for unknown screens 6 years ago
Michail Vourlakos 73d9a7b28d comment debug messages 6 years ago
Michail Vourlakos 964f2282f2 consider main window also for dodge active
--if the main window is not active but is
touching the dock then the dock is not shown
for dodge active state
--fix the cleanup code in order to cleanup
windows that have a ghost wid ( 0 )
6 years ago
Michail Vourlakos 19afc6936b consider main window also for dodge active
--if the main window is not active but is
touching the dock then the dock is not shown
for dodge active state
--fix the cleanup code in order to cleanup
windows that have a ghost wid ( 0 )
6 years ago
Michail Vourlakos e7cb61a5e9 fix Importer::standardPath behavior 6 years ago
Michail Vourlakos cea1155685 fix Importer::standardPath behavior 6 years ago
Michail Vourlakos b81684a1a9 embrace X-KDE-Wayland-Interfaces 6 years ago
Michail Vourlakos 5849105c45 embrace X-KDE-Wayland-Interfaces 6 years ago
l10n daemon script 4c7e800ce7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script f2c18392a0 GIT_SILENT made messages (after extraction) 6 years ago
l10n daemon script 2d8f2981be SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 3f7d08aa4f GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos b94f87f144 rename trackerwindows to windowstracker
-- in order to distinguish it from the neighbour
tracker classes
6 years ago
Michail Vourlakos 9c0ff5d2a8 fix drag sensitivity when KWin edges are used 6 years ago
Yuri Chornoivan 74f5d881bc Fix minor typo 6 years ago
Michail Vourlakos 9a10cd1e26 fix SharedLayout VisibilityManager::isCurrent state
--when KWin edges are used in a SharedLayout then the
all view Layout::isCurrent() function must be used
otherwise the layout is not identified properly as
current based on different layouts per activities
6 years ago
Michail Vourlakos c94843c9e6 KWin issue #2,hiding windows when activies stopped
--in such case under x11, the winIds of the visible
Latte windows are changed and as such the windows
tracking mechanism becomes broken. The code introduced
tries to track the case the update the WM::ignoredWindows
properly
6 years ago
l10n daemon script 159861b556 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script ab830e6d24 GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos c5b1e9bbf5 x11:drop QWindow::setVisible() function
--this function creates irrelevant crashes even
under x11 environment... Dropped in favour of
show()/hide() functions that seem to not create
any issues
6 years ago
Michail Vourlakos 3a465782e1 wayland:improve latte windows id discovering 6 years ago
Michail Vourlakos 1ef328bd3a avoid wayland crashes from QWindow::setVisible 6 years ago
Michail Vourlakos c85d24ac37 use WM:IgnoredWindows infrastructure for wayland
--improvements for IgnoredWindows infrastructure
all over the relevant classes
6 years ago
Michail Vourlakos 10939d410c Views Report Information for inactive layouts 6 years ago
Michail Vourlakos 8f50131088 copyView considers multiple systrays
--when copying a view and the view contains
muliple systrays in it this is NOW taken
into account and accomplished accordingly
6 years ago
Michail Vourlakos 3412b13148 present Views data for Active layout 6 years ago
Michail Vourlakos b4e747c611 Merge branch 'v0.9' 6 years ago
Michail Vourlakos 7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
6 years ago
Michail Vourlakos dcfcc1b442 show screens information through Settings menu 6 years ago
Michail Vourlakos 27736db317 update menu icons 6 years ago
Michail Vourlakos 714b41ec2f add new menu options and edit layout file action 6 years ago
Michail Vourlakos 79f392723e wm:support ignored windows
--x11 implementation is in place and wayland
case must be updated accordingly
6 years ago
l10n daemon script 2ce6f4cc64 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 1f38b47a9b GIT_SILENT made messages (after extraction) 6 years ago
l10n daemon script bc16b0f315 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script c43fe45758 GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos ef08dbff96 update to latest tasktools.cpp from plasma master 6 years ago
Michail Vourlakos 6c70e1fd81 disable debug messages for windows tracking 6 years ago
Michail Vourlakos 30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
6 years ago
Michail Vourlakos eb0c52c52b improve settings windows shown trigerring behavior
--when the user uses Meta+A to cycle between the Views
configuration windows then in such case when NO Config
window is shown the LAST ONE USED should be shown again.
IF a Config View is already shown then the NEXT should
be shown afterwards
6 years ago
Michail Vourlakos dac692bec4 dont block updating hidden state for drag enter 6 years ago
Michail Vourlakos 8033db04d3 increase KWin Ghost window thickness
--this way the KWin Edges ghost window behaves
more accurate and more predictable
6 years ago
Michail Vourlakos 9e9003870b show view immediately for DragEnter
--when the user had activated KWin Edges and the
Show Timer was too high when the View delayed a
lot to show for DragEnter events
6 years ago
l10n daemon script b5c954bf99 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 971e67f6b3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 5546a237a2 update struts propertly on wayland startup
BUG: 408977
6 years ago
Michail Vourlakos 110416c143 improve sharedlayouts record when selected 6 years ago
Michail Vourlakos ba6460e919 update indicators runtime
--fixes to signals in ViewParts in order to avoid
crashes. Currently the recreateView approach is used
in order to reload indicators runtime dynamically.
The "View::setSource" approach does not reload the
indicators properly
6 years ago
Michail Vourlakos 85e49d41bf improve view recreation code 6 years ago
Michail Vourlakos caefba4576 recreate views when indicators update 6 years ago
Michail Vourlakos a9310a3de3 disable KWin edges for ByPassWMHint
--KWin edges do not support trigerring
above fullscreen windows
6 years ago
Michail Vourlakos 396efadb5a track screens count changes for View Settings 6 years ago
Michail Vourlakos eef791100d show to user warning for Colors KWin Script presence 6 years ago
Michail Vourlakos 88ba9f4b75 track KWin Colors Script presence in system 6 years ago
Michail Vourlakos a5ce2f97c6 support Importer::standardPathsFor 6 years ago
Michail Vourlakos a7abf5d309 update background svg file when plasmatheme changes 6 years ago
Michail Vourlakos 0e96168742 update backgroundContrastEffect mid values
--the previous approach was disabling the background
contrast effect at all times except when the background
opacity was 100%, the new approach considers the background
opacity value and provide mid values to be applied.
That means that 0% background opacity disables the background
constrast visual effect, 100% applies the background contrast
visual effect at its maximum values and in between the mid
values for background contrast effect are applied
6 years ago
Michail Vourlakos b71baccc14 fix screenForContainment in MulitpleShared mode 6 years ago
Michail Vourlakos a311f45a62 fix istouchingview of windows tracking
--is touching view functions did not identify
when a windows was touching the absolutegeometry
<thickness> boundary and at the same time
overlapping the view <length> area. A case
that was breaking the experience was the
Plasma "AddWidgets" dialog
6 years ago
Michail Vourlakos 91a9e7c0c5 improvements for effects area and painting 6 years ago
Michail Vourlakos 3c5c59e149 Revert "consider mask thickness for struts"
This reverts commit a4764024db.
6 years ago
Michail Vourlakos df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52.
6 years ago
Michail Vourlakos 359b120360 Revert "remove workaround for struts gap"
This reverts commit 137cd36547.
6 years ago
Michail Vourlakos 137cd36547 remove workaround for struts gap
--consider always the maskThickness when
settings struts in order to avoid gaps
at all cases
6 years ago
Michail Vourlakos 37b708ef52 remove workaround for X11 struts !compositing gap 6 years ago
Michail Vourlakos a4764024db consider mask thickness for struts 6 years ago
Michail Vourlakos 4535ee03c2 REAL maxOpacity from plasma panel backgrounds
--Plasma::ExtendedTheme class now provides maximum
opacity provided by panel backgrounds
6 years ago
Michail Vourlakos 1d5bce41d4 improve roundness algorithm
--during searching the plasma theme roundness,
opacity values for pixels > 200 are considered
to be in panel background part. This fixes also
the Oxygen theme case and provides a better roundness
value now
6 years ago
Michail Vourlakos 734c08ffda improve plasma theme roundness discovery 6 years ago
Michail Vourlakos 1051372e04 expose to qml builtin activity/vds switching
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
6 years ago
Michail Vourlakos d312598f60 provide builtin Activity,VDs switching
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
6 years ago
Michail Vourlakos c16251f743 add buffer size for LastActiveWindow 6 years ago
Michail Vourlakos 35752bbc2f proceed with implementation of LastActiveWindow 6 years ago
Michail Vourlakos 29bbba1730 improve View::currentScreenWindowsTracking 6 years ago
Michail Vourlakos ef3db56ce7 fix Tracker::AllScreens init signaling on startup 6 years ago
Michail Vourlakos 353f7119cc move Tracker::Enabled to View::WindowsTracker
--previously it was found in the consumers of
View::WindowsTracker (CurrentScreenTracker and
AllWindowsTracker)
6 years ago
Michail Vourlakos 4cc4bfd6de REFACTOR WindowsTracker to provide more information
--View::WindowsTracker now provides all the time
information about CurrentScreen and AllScreens!
This way all consumers (Latte::Containment, Applets etc.)
can choose whatever suits them best.
6 years ago
Michail Vourlakos 7deef41015 move View::WindowsTracker to own directory 6 years ago
Michail Vourlakos 607dbac4cf update WindowsTracker to track AllScreens windows
--by using a Layouts perspective in order to accomplish
that
6 years ago
Michail Vourlakos 0aa5c520dc add Layouts Tracking in WindowsTracking 6 years ago
Michail Vourlakos e57ff695ed ignore LastActiveWindow tracking for !enabled 6 years ago
Michail Vourlakos 7decc54ddf introduce TrackedLayoutInfo 6 years ago
Michail Vourlakos 2b316aa728 improve trackedinfo(s) 6 years ago
Michail Vourlakos 96c081e076 remove View from TrackedGeneralInfo 6 years ago
Michail Vourlakos 6d1ac0bfe2 remove deprecated references 6 years ago
Michail Vourlakos c2bfda46d3 make WindowsTracking activity filtering accurate 6 years ago
Michail Vourlakos 1b5de7d859 remove irrelevant windows from Track::History
--last active windows that were minimized OR
changed screen must be removed from last active
window history
6 years ago
Michail Vourlakos 59a4d63ca6 improve activities and desktops WM filtering 6 years ago
Michail Vourlakos c7eb97a879 update WindowInfo to contain desktops/activities 6 years ago
Michail Vourlakos 79ae6a6de4 initial support History for LastActiveWindow 6 years ago
Michail Vourlakos 4ae9b1b91c update LastActiveWindow with signals 6 years ago
Michail Vourlakos c0e3004717 add LastActiveWindow debug records
--in DebugWindow
6 years ago
Michail Vourlakos a0226e1de9 split trackedinfo to general and view 6 years ago
Michail Vourlakos c9ab9a1dbe dont equalize WindowInfo icon and appName
--icon and appName are constly functions and
should be called only when are really needed
6 years ago
Michail Vourlakos e5673a9cfa fix type for DodgeMaximized 6 years ago
Michail Vourlakos 3f3560aab5 update dodgeAllWindows on startup properly 6 years ago
Michail Vourlakos 2c33ad52b6 support file paths for Indicator::Resource::svgs 6 years ago
Michail Vourlakos 149812080f move View/Indicator in its own directory 6 years ago
Michail Vourlakos f75605d78d introduce Resources for Indicators 6 years ago
Michail Vourlakos 51c11071dd support toggle onAllDesktops for LastActiveWindow 6 years ago
Michail Vourlakos af609ca53f X11:track more LastActiveWindow properties
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
6 years ago
Michail Vourlakos f3eacf169e add actions for LastActiveWindow 6 years ago
Michail Vourlakos 6898623bd6 identify PlasmaDesktop on startup under X11
--this was only an issue during startup but
add the same time is a good place to add a check
for plasma desktop
6 years ago
Michail Vourlakos 342d4a1a00 move window funcionality to lastactivewindow 6 years ago
Michail Vourlakos a03655f176 new heuristic to identify plasma desktop window 6 years ago
Michail Vourlakos 54f1e3576e ignore Desktops under X11 6 years ago
Michail Vourlakos d44809eb25 enable drag dialog-child windows of skiptaskbar 6 years ago
Michail Vourlakos c45aa3f56c make xwindowinterface checks lighter
--use the windowsTracker in order to check
a window validity. No need to check again
and again in the window type is valid
6 years ago
Michail Vourlakos 8a8eb632b7 accept Gtk2+ dialogs for tracking
--Gtk2+ dialogs under X11 appear as
type Splash and PopUp at the same time.
This is a messy situation let's live
with this
6 years ago
Michail Vourlakos 3cbc4a5daf support AppName for WindowInformation
--use plasma libtaskmanager code and way
in order to obtain properly the AppName and
the Icon for its window
6 years ago
Michail Vourlakos d45ebf9a34 add application name to WindowInformation 6 years ago
Michail Vourlakos 53d24fe2c6 forward LastActiveWindow to QML 6 years ago
Michail Vourlakos e07cee3862 support icon for LastActiveWindow 6 years ago
Michail Vourlakos 25c96d0d3a support isOnAllDesktops for LastActiveWindow 6 years ago
Michail Vourlakos eea213a5c0 add isOnAllDesktops to WindowInformation 6 years ago
Michail Vourlakos 2d2f7b172d add more properties at LastActiveWindow 6 years ago
Michail Vourlakos dbed45b2c7 introduce TrackedInfo and LastActiveWindow 6 years ago
Michail Vourlakos 99ec9cb2fd move WM:Trackers in its own directory 6 years ago
Michail Vourlakos 2a6620853b fix crash when updating Indicators packages 6 years ago
Michail Vourlakos b6520b1cd8 Improve WindowTracker CPU usage
--add a Timer in order to not sent too many
batch signals for windowChanged with no reason
and send only one at the end of the Timer::trigger
6 years ago
Michail Vourlakos 97332cc8cf introduce Display and Icon for WindowInfoWrap 6 years ago
Michail Vourlakos b251ea7b8e protect visibility destructor
--this protects a crash when closing Latte
immediately after startup
6 years ago
Michail Vourlakos a8a19bb550 support VirtualDesktops for kwayland>=5.52
--This of course needs Plasma>=5.15

BUG: 398106
6 years ago
Michail Vourlakos 61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
6 years ago
Michail Vourlakos 96b86f4c49 remember lastConfigViewFor for shared layouts 6 years ago
Michail Vourlakos 7cd3b6201d remember the last created ConfigView per layout 6 years ago
Michail Vourlakos beb0100644 fix some applets animations flickerring
--especially when the user drags something over
the Latte::View and afterwards drops it
6 years ago
Michail Vourlakos f822ece27a keep onPrimary flag when copying views 6 years ago
l10n daemon script 131ae2622d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script fc78cae03f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 86e645c720 position properly dropped applets and urls in view 6 years ago
Michail Vourlakos 1ef4de0da8 VASTLY IMPROVE dragging experience
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
6 years ago
Michail Vourlakos 3789f3c178 improve adding applets through dragging responsive
--fix all events identifications from DragMove and
DragExit etc. in containment::qml part and all drags
flags are calculated only at DragEnter! This fixes
the DragMove signaling and all DragMove signals are
sent correctly.
It needs to be fixed also for Tasks plasmoid because
every time the mouse hovers the Tasks Plasmoid then
the DragMove signals are NOT SENT as they should.
6 years ago
Michail Vourlakos ffced101e1 apply visibilitymanager::struts when are needed 6 years ago
Michail Vourlakos f63a0ad658 update/improve hack part of screenghostwindow
--related to KWin faulty behavior for visibility
6 years ago
Michail Vourlakos ebeabb1033 increase View::timers kwin hack 6 years ago
Michail Vourlakos 11f70edbac fill SharedLayouts circles in LayoutsEditor 6 years ago
Michail Vourlakos f89b110a36 drop Meta+E that is used from Dolphin 6 years ago
Michail Vourlakos 3a3823add3 Assign/Remove properly Shares from INACTIVE Centrals 6 years ago
Michail Vourlakos 133c301b65 register SchemeColors as qml metatype 6 years ago
Michail Vourlakos 568716e9d3 add SharedLayouts ending circle in LayoutsEditor 6 years ago
Michail Vourlakos 2d89e60030 fix layoutViewType for Shared Layouts 6 years ago
Michail Vourlakos ebaf81ddd8 remove deprecated code from AbstractWindowInterfa 6 years ago
Michail Vourlakos 48d3728005 REFACTOR:Introduce SchemesTracker for WM 6 years ago
Michail Vourlakos 4e80801523 syncLatteViews when Central is assigned to Shared 6 years ago
Michail Vourlakos e13793df38 identify screen id at startup for primary screens 6 years ago
Michail Vourlakos c653bbe14b send view edge changed signal when copying views 6 years ago
Michail Vourlakos ae4578433c dont track windows for AutoHide mode
--add initialization of values for views
tracking hints when enabled becomes false
--add some debug messages to be used when
we want to test out things
6 years ago
Michail Vourlakos a5168c3a2a REFACTOR:Introduce WM:WindowsTracker
--this is a single and very important class
that handles all windows tracking and management
for ALL VIEWS at ALL ACTIVE LAYOUTS
6 years ago
Michail Vourlakos 945c6e50e2 remove deprecated m_views from AbstractWMInterface 6 years ago
Michail Vourlakos a295352514 limit WM::setViewExtraFlags calls 6 years ago
Michail Vourlakos ad788130ab REFACTOR:add WindowSystem namespace 6 years ago
Michail Vourlakos 7b094d7007 dont drag last active window when is minimized 6 years ago
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 6 years ago
Michail Vourlakos a6b8fbcaff consider view::hidden state after slide-out 6 years ago
Michail Vourlakos bea8247b84 refactor:move syncActiveShares to Synchronizer 6 years ago
Michail Vourlakos c4b226def5 REFACTOR:Add Synchronizer for Layouts::Manager
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
6 years ago
Michail Vourlakos d08f1f9dbb add bold presentation for Shares in menu 6 years ago
Michail Vourlakos 46bf0c1229 update activities/shares from cell QMenu(s) 6 years ago
Michail Vourlakos 24e25944db Shared Views have highest priority
--Shared views can be positioned to all free edges
including those occupied by Central layouts and the
Central layouts update their views accordingly
6 years ago
Michail Vourlakos c6cd3f4685 move layout connections in the view
--any view and view::containment() signals that
are related to layout are now moved in the
View::setLayout() in order to be reinitialized
properly when the view changes to another
layout
6 years ago
Michail Vourlakos 6248a0ccae refactor:move schemecolors under "wm" folder 6 years ago
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder 6 years ago
Michail Vourlakos d426ecb50f refactor:launcherssignals moved to "layouts" folder 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos d307ac626b update UI elements in LayoutsEditor when needed
--toggling between Single/Multiple mode now shows/hides
all the SharedLayouts ui elements accordingly
6 years ago
Michail Vourlakos f43d1b56c7 fix crash concerning WORKAROUND for KWIN
--KWin hides some Views without reason when
Activities are closed under Multiple mode.
This crash fixes these kind of crashes.
6 years ago
Michail Vourlakos 84e8da60f8 improve column widths loading for LayoutsEditor 6 years ago
Michail Vourlakos 08ef9c10b9 add the Shared button behavior 6 years ago
Michail Vourlakos 0c4bbd9529 unload Central(active)layouts to become Shared 6 years ago
Michail Vourlakos c37f605257 SharedLayouts, active layouts at LayoutsEditor 6 years ago
Michail Vourlakos e51dbeab42 update strings for Background at LayoutsEditor 6 years ago
Michail Vourlakos 3aeabcd885 fix for LayoutsEditor cells coloring
--when the LayoutsEditor is losing focus the
colors chosen should respect that change
and be drawn correctly
6 years ago
Michail Vourlakos f5b36b0230 fix typos 6 years ago
Michail Vourlakos b33f29bc42 Activate Shared Layout if it is not loaded yet 6 years ago
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals 6 years ago
Michail Vourlakos 971d207d86 update Shared button state 6 years ago
Michail Vourlakos 05161a1ab8 fix layout lock/unlock from settings 6 years ago
Michail Vourlakos 55671ae31c improve layout names renames from LayoutsEditor 6 years ago
Michail Vourlakos 78d212ce8e SharedLayouts saving their settings from Layouts 6 years ago
Michail Vourlakos 25a29111e7 update Actitivies Delegate to new ButtonMenu ui 6 years ago
Michail Vourlakos 715e8b58c1 sharedtocolumn use only #settingid for layouts
--this way we can keep track of layout names changes
and work flawlessly in updating Shares names etc.
6 years ago
Michail Vourlakos 93ede645b8 introduce new menu for SharedToLayout 6 years ago
Michail Vourlakos 1090e6a22d add Shared button in LayoutsEditor 6 years ago
Michail Vourlakos 14d7079198 improve disabled cells layout for shareds 6 years ago
Michail Vourlakos cff6436a74 add shared icon for layouts to be identified 6 years ago
Michail Vourlakos 4c0a3f5523 update shared layouts cell states
--enable/disable shared layouts cells
accordingly
6 years ago
Michail Vourlakos 61621277d3 set icons for layouts columns 6 years ago
Michail Vourlakos d813a15b57 publish Shared to relevant ComboBox 6 years ago
Michail Vourlakos c27de681d1 LayoutsEditor:load shares for SharedLayouts 6 years ago
Michail Vourlakos 1b21e26dfa introduce sharedcmbboxdelegate at settings ui 6 years ago
Michail Vourlakos a52144cc3a remove SharedLayouts from Layouts ContextMenu 6 years ago
Michail Vourlakos f2eb0b6b3a REFACTOR:DONT load MultipleLayouts in Central(s)
--no reason to load Mutiple layouts linked file
as a Pseudo Central layout. This way no needed
checks can be removed and things are still working
as before.
6 years ago
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 6 years ago
l10n daemon script e8d79632bd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 1085d4b4e4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos d945c89713 update struts when needed after their removal
--improve also when struts are applied under a
Multiple Mode and Multiple Activities
6 years ago
Michail Vourlakos be36b7cfaf unload SharedLayout when does not activeLayouts
--this code path is also used on Latte exit
6 years ago
Michail Vourlakos 004a284711 dont load sharedlayout when is already active 6 years ago
Michail Vourlakos 01f7f17aa5 remove deprecated code from layoutmanager 6 years ago
Michail Vourlakos bd3950a601 dont assign shared layouts to activities 6 years ago
Michail Vourlakos fe995bb4f5 layoutmanager track storedsharedlayouts 6 years ago
Michail Vourlakos 9f338f38a4 dont set sharedLayout var if the layout not exist 6 years ago
Michail Vourlakos 913c35523f move views between Active/SharedLayouts
--the move to layout option under View Settings
window now can enable the user to move view
between Active and Shared Layouts
6 years ago
Michail Vourlakos e417a8d4ba add type() to layouts 6 years ago
Michail Vourlakos c38e3016de update hidden state after slide-in
BUG: 406415
6 years ago
Michail Vourlakos 5cf047dcc5 clear publishedStruts for visibility modes changes 6 years ago
Michail Vourlakos 06b92024ba remove no needed debug message 6 years ago
Michail Vourlakos 04e7f333c5 dont compute innershadow for available screen area 6 years ago
Michail Vourlakos bb3e82024e simplify valid struts calculations 6 years ago
Michail Vourlakos a472ef34f3 fix ident in visibilitymanager
--AlwaysVisible signals to update struts
are always enabled independent of Single/Multiple
mode but for Single mode they are just ignored
6 years ago
Michail Vourlakos d8cc85dd4a fix assert for visibilitymanager
BUG: 407131
6 years ago
Michail Vourlakos cf0f22b44d fix crash,protect connector() calls
--connector calls must be done only when we
are sure that a screen id has already been
assigned

BUG: 407128
6 years ago
Michail Vourlakos 5fbdf19b78 fixes for edit mode 6 years ago
l10n daemon script 064b1178e6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 536949840e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 3598639740 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago