Commit Graph

1939 Commits (2aa010b5f38a251dcad1e0610674f452863d495f)

Author SHA1 Message Date
Michail Vourlakos 92f37eef8c improve alignments for layouts delegates 5 years ago
Michail Vourlakos 9a3918763b settings,improve layouts header visual 5 years ago
Michail Vourlakos 79936a662d improve background circle visual 5 years ago
Michail Vourlakos 4deaa3bc0b make Shared button proxy model aware 5 years ago
Michail Vourlakos a7ecd549b0 drop dataAreAccepted in settings window
--this is not needed any more, data should
always be valid
5 years ago
Michail Vourlakos 94e5a04de2 make copy layout function proxy aware 5 years ago
Michail Vourlakos 37cac2ca81 reject duplicate layout names in settings 5 years ago
Michail Vourlakos 880ed9638e introduce proxy model for layouts in settings 5 years ago
Michail Vourlakos bddc04d371 inform controller for inserted rows 5 years ago
Michail Vourlakos 00f4e4cd22 fix crash from layouts reset functionality 5 years ago
Michail Vourlakos 00e6fbba5b update synchronizer semantics to freeactivities 5 years ago
Michail Vourlakos 0d39ee6f55 settings:always a layout is set for freeactivities 5 years ago
Michail Vourlakos 93a8ae3ff2 improvements for Layouts Editor 5 years ago
Michail Vourlakos 3b85867c56 introduce setLayoutForFreeActivities 5 years ago
Michail Vourlakos abc4ca4308 layouts settings tab improvements 5 years ago
Michail Vourlakos 8be38bf7dc apply current names after layouts saving 5 years ago
Michail Vourlakos 671f413a3e introduce Reset button 5 years ago
Michail Vourlakos 7acde8be5d update SharedTo column visibility properly 5 years ago
Michail Vourlakos c0d8116e7b visual improvements for settings delegates 5 years ago
Michail Vourlakos 7dbfb1184b settings window improvements 5 years ago
Michail Vourlakos 3122103f6c save column widths properly in settings window 5 years ago
Michail Vourlakos 1e855f2472 dont crash when saving a new layout 5 years ago
Michail Vourlakos d418abbeb4 remove deprecated code from settings dialog 5 years ago
Michail Vourlakos 45e3531ad3 move logic out of settings dialog
--layouts controller in settings window
should take ownership for all logic
related to layouts model/view
5 years ago
Michail Vourlakos 01bb785999 rename editedName to currentName for layout data
--improve semantics for layout data in settings
window
5 years ago
Michail Vourlakos 4437472fa9 simplify shares map create/sync in settings window 5 years ago
Michail Vourlakos 4de91c535c remove deprecated code 5 years ago
Michail Vourlakos e29b5a3e38 update layout removing in settings window 5 years ago
Michail Vourlakos 60d24144b5 update layouts settings data classes 5 years ago
Michail Vourlakos 264b2b7568 remove deprecated settings window functions 5 years ago
Michail Vourlakos 828bacce33 update share_id automatic when layout_id changed 5 years ago
Michail Vourlakos c6e8f6f032 introduce layouts controller for MVC approach
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
5 years ago
Michail Vourlakos 6ff1102e1f update qt5 deprecated code 5 years ago
Michail Vourlakos 2db252b769 fix warnings 5 years ago
Michail Vourlakos 154000345d fix some warnings for shareddelegate 5 years ago
Michail Vourlakos aa4a6061cd improve semantics for settings 5 years ago
Michail Vourlakos 9a104340bb simplify code for background cmbbox 5 years ago
Michail Vourlakos c39a50f253 rename colorscmb to backgroundcmb
--improve delegate name
5 years ago
Michail Vourlakos 5f3007ed93 simplify colors combobox in layouts editor 5 years ago
Michail Vourlakos 49e203de86 fixes for shared column delegate behavior 5 years ago
Michail Vourlakos 46e44606bc update editor shared delegate to new model 5 years ago
Michail Vourlakos 44c1abcf73 update settings activities delegate
--drop totally deprecated activities delegate
code
5 years ago
Michail Vourlakos d4ed1aa609 update settings Activites delegate 5 years ago
Michail Vourlakos 6e66907957 update settings Layout name delegate 5 years ago
Michail Vourlakos e5baecfb9f visual for layout name was edited 5 years ago
Michail Vourlakos a9bc5aa19f introduce original/edited Named in layout data 5 years ago
Michail Vourlakos 4428d4b083 support setData function for layouts model
--initial support for this
5 years ago
Michail Vourlakos 4874b254dd fix sharedcolumn and introduce some editable items 5 years ago
Michail Vourlakos bab5564d0a remove deprecated settings window code 5 years ago
Michail Vourlakos 70c8841646 update layouts headers 5 years ago
Michail Vourlakos b55447764a update layouts checkdelegates for new model 5 years ago
Michail Vourlakos 401a56a8a4 support loading in the new model 5 years ago
Michail Vourlakos 5e75b889e0 introduce initial LayoutsModel 5 years ago
Michail Vourlakos be4e088f5e use QList for layoutsdata
--add isActive flag for Data::Layout
5 years ago
Michail Vourlakos f81d535468 drop old originalLayoutNames list 5 years ago
Michail Vourlakos 09c599a2d7 update how layouts settings are stored in editor 5 years ago
Michail Vourlakos 7bb01f150a support new layouts data for settings 5 years ago
Michail Vourlakos 1ee24adbbd update "FreeActivities" during apply 5 years ago
Michail Vourlakos fca4db5962 support font style for FreeActivities record 5 years ago
Michail Vourlakos 5f7bcf565d remove old code for activities in settings window
--remove relevant deprecated code that is not needed
in the new implementation
5 years ago
Michail Vourlakos 43de9b509b update activities combobox implementation
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
5 years ago
Michail Vourlakos 1d8fe4541c Important:fix localGeometry calculations
--and add also new visual debug mode for
localGeometry calculations
5 years ago
Michail Vourlakos 38d7ec5c2e prevent user from switching to shared layouts 5 years ago
Michail Vourlakos 5464018135 fix crashes and update share ids runtime in model 5 years ago
Michail Vourlakos d164f06354 fix wrong mis-assignment of Shared layouts
--when an active central layout was changing
from one shared layout to another the new
shared layout was not loaded properly
5 years ago
Michail Vourlakos ab09e56d56 dont close settings dialog with Enter key 5 years ago
Michail Vourlakos d3a07b5371 improvements for multips views and sidebars 5 years ago
Michail Vourlakos d1faaedc59 improve availableScreen..WithCriteria api
--improve its semantics in order to be more
understandable
5 years ago
Michail Vourlakos e6ba47daab add more ignore visibility modes for calculations
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
5 years ago
Michail Vourlakos 0b2be421eb IMPORTANT:Multiple docks/panels in same edge
--Latte can now support multiple Views in the same screen
edge. Views as separated in THREE Layers of priorities.
1. Views from Shared Layouts have highest priority and they
are first to occupy a screen edge
2. Views that are set OnPrimary screen occupy a screen edge only
if there is NO other View from a Shared Layout applied already
3. Views that are Explicit to specific screens occupy a screen
edge only if there is NO PRIMARY view already loaded
5 years ago
Michail Vourlakos 719c852c8c update availableScree...WithCriteria functions
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
5 years ago
Michail Vourlakos f31cc660b4 send QRegion through dbus as QList<QRect>
BUG:418559
5 years ago
Michail Vourlakos 9f4d961f32 Revert "change QRegion to QList for dbus plasma call"
This reverts commit a7f786d87f.
5 years ago
Michail Vourlakos a7f786d87f change QRegion to QList for dbus plasma call
--change how dbus arguments are sent to Plasma
and a QList arguments for this

BUG:418559
5 years ago
Michail Vourlakos d3b5e2c4eb remove gtk_frame_extents from window geometries
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment

BUG:417856
5 years ago
Michail Vourlakos ab83bc5b2e fixes for BLUR in live editMode
--add also missing signal in Effects to updateEffects
when enabledBorders are changed
5 years ago
Michail Vourlakos b82d9dfdbe x11:validate windows added before accepting them
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
5 years ago
Michail Vourlakos 57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
5 years ago
Michail Vourlakos e2596b905c fix topbottom borders check in editmode 5 years ago
Michail Vourlakos dd1a7b72c7 validate top/bottom borders for vertical panels
--make the top/bottom borders identification much
smarter in order to identify in they must be drawn.
There are many corner cases that these borders should
be drawn, for example when a vertical top aligned
panel is half shown its top border because of a
top panel
5 years ago
Michail Vourlakos 4df139f34f ignore ksmserver fullscreen windows
--this way fullscreen windows from ksmserver
such as LogOut are totally ignored from Latte
for coloring,placement etc.
5 years ago
Michail Vourlakos 67d0ca76dd new wayland id discovery for helper windows 5 years ago
Michail Vourlakos 6bc604feca new wayland id discovery for settings windows 5 years ago
Michail Vourlakos d5033d1bed improve latte wayland ids discovery
--introduce new waylad ids discovery implementation
for View::Positioner
5 years ago
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