Commit Graph

2789 Commits (24fef4a6949aa486a9078b9d17f234e1313f1046)

Author SHA1 Message Date
Michail Vourlakos 1d2a1a03b0 Revert "find Qt5 minor version"
This reverts commit 14be8a9e71.
3 years ago
Michail Vourlakos e25988ff93 fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
3 years ago
Michail Vourlakos 67c38b194f still support Qt5 >= 5.12
BUG:447111
3 years ago
Michail Vourlakos 14be8a9e71 find Qt5 minor version 3 years ago
Michail Vourlakos 88603f6aaf more startup improvements
--visibility: simplify and improve code
for restoring and saving values
--enable visibility mode early on the startup
sequence
--enable windows tracking after startup phase
has ended
--windows tracking respect also view geometry
changes and not only window changes from the
desktop environment
3 years ago
Michail Vourlakos 0accfe21b2 fix 30bit color depth that makes dock invisible
--previous approach did not work correctly on 24bit
systems. The new approach should handle properly all
cases.
3 years ago
Michail Vourlakos 74ba0dc63b Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d.
3 years ago
Jonas Latza 6497da4a4d [x11] - fix 30bit color depth that makes dock invisible with broken transparency 3 years ago
Michail Vourlakos 4f3fef1fda enable strtus fro all alternative DEs 3 years ago
Michail Vourlakos 87efe01a96 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
3 years ago
Michail Vourlakos 4a9bf2cb7a singlelayout:fix borderless activation/deactivation 3 years ago
Michail Vourlakos 4725cd7f2b do not allow struts when view is offscreen 3 years ago
Michail Vourlakos 80fa1022a5 multiscreen:disable struts under x11 when overlap
--when multiple screens placement have edges that overlap
with each other, at that edges struts must be disabled
to provide much better windows behavior. For example when
dragging a window between such screens and there is
an AlwaysVisible panel or dock between them.

BUG:445595
FIXED-IN:0.10.5
3 years ago
Michail Vourlakos 6ba99f2724 multiple:do not update borderless when no needed
--when activating activities under multiple layouts
the currentActivityChanged() signal is sent from
KActivities before the runningActivitiesChanged() and
as such we can end in considering borderless maximized
window flag before all appropriate layouts have been enabled.
The patch adds a timer and delays borderlessMaximized consideration
when currentActivityChanged signal is received.
3 years ago
Michail Vourlakos 544b83ebeb recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
3 years ago
Michail Vourlakos 50177a8406 improve smoothness of animations during startup
--This new approach paints all docks and panels during
starup offscreen. This way especially under x11 not a lot of
visual glitches are appearing all over the place.
After startup time has ended docks and panels are
moved at their original and valid placement and slide in
animations are triggered.
3 years ago
Michail Vourlakos ee2493ba1a add missing signal 3 years ago
Michail Vourlakos e04900ecf2 position vertical docks/panels more accurately
--send more availableRect/Region changed signals
for more cases and as such all views update
their positioning properly.
--for example when a horizontal view updates its
offset or max length independent of its visibility mode
the neighbour vertical views need to update
and validate their position.
3 years ago
Michail Vourlakos dd5e0778a7 improve responsiveness for DynamicStruts Scenario
--add a timer blocker in order to reduce struts calls
at window manager. This way the entire desktop experience
becomes more stable and fluent.
3 years ago
Michail Vourlakos 3b4d7a10f4 cmd:close after disabling autostart 3 years ago
Michail Vourlakos 1ea3130573 ignore window states when kwin is showing desktop
--this way every dock/panel and also applets that
are using the LastActiveWindow API behave like there
is no shown window
3 years ago
Michail Vourlakos 20bad7c191 cmd:print all available templates 3 years ago
Michail Vourlakos ac30a9eb4f cmd:support "add-dock" through command line
-- "add-dock" option now works even when application
is not running and the user is executing it through
command line.

BUG: 446526
FIXED-IN: 0.10.5
3 years ago
Michail Vourlakos 6f162479e0 autostart: do not overwrite startup file 3 years ago
Michail Vourlakos 0e63e7dd0b get ready for Plasma LookNFeel packages
--introduce enable/disableAutostart from command line
--accept import-layout from command line when latte is already running
--introduce --suggested-layout-name to be used with
  import-layout in order to provide a preferred layout name
  e.g. latte-dock --import-layout /blah/blah/mywhat.layout.latte
       --suggested-layout-name MyAwesomeLayout
--dbus:introduce "setAutostart" function
--dbus:introduce "importLayoutFile" function

BUG:446249
FIXED-IN:0.10.5
3 years ago
l10n daemon script 2560828067 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"
3 years ago
l10n daemon script 95afa4067d 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"
3 years ago
l10n daemon script a76010e3c3 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"
3 years ago
Michail Vourlakos 71d4ff1e0c remove QDBusInterface usage 3 years ago
Michail Vourlakos 9f468b7933 plasmageometry:remove workarounds for activities
--remove workarounds for plasma desktop not respecting
geometries sent from Latte for activities that are not
the current one
3 years ago
Michail Vourlakos 912f2f1cfa plasmadesk:fix startup freezes from QDbusInterface
--as it appears plasma applets were not the main faulter
to blame for startup freezes. The bug was that Latte
was trying to communicate with Plasma DBus interface
to inform it about docks/panels geometries. For some
reason during startup other applets could also were
trying the same and for that reason Qt provides a 25sec
forced delay in case there are too many such calls.
The new approach does not block the startup code at all
and it should work at all cases.

BUG:444739
FIXED-IN:0.10.4
3 years ago
Michail Vourlakos 710def2081 startup:avoid kwin reconfiguring with no reason
--during startup borderless maximized windows should not be
enabled or not as long as kwin has already been configured
in the proper way. This way we make Latte startup lighter
because KWin is not reconfiguring when not needed.
3 years ago
Michail Vourlakos 5436f86ff6 modernize dbus noblock calls 3 years ago
Michail Vourlakos abc125fe65 wayland:hide centered black line for alwaysvisible
--drop RasterWindow for always visible ghost windows and
use a fully transparent QQuickView

BUG:444419
FIXED-IN:0.10.4
3 years ago
Michail Vourlakos 4d3c491b84 update lastactivewindow based on changed signal 3 years ago
Michail Vourlakos 6bf2994840 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
3 years ago
Michail Vourlakos e6d7d8262b wm:init vdswraparound value properly
BUG:444572
3 years ago
Michail Vourlakos b839283d5b support X11::GlobalScaling properly
--as it appears many users are using Plasma GlobalScaling
in conjuction with PLASMA_USE_QT_SCALING. This commit
provides plenty of fixes for that scenario in order to
make things workable.
--adjust X11::InputMask based on devicePixelRatio()
--adjust X11::GtkFrameExtents based on devicePixelRatio()
--adjust View::absoluteGeometry() based on devicePixelRatio()
--adjust WM::Tracker based on devicePixelRatio()
--adjust WM::AbstractInterface based on devicePixelRatio()

BUG:444222
FIXED-IN:0.10.3
3 years ago
Michail Vourlakos 008a9c6038 disable "CanBeAboveFullscreen" properly
--fix how CanBeAboveFullscreen windows option can be
enabled/disabled properly and work correctly
--fix how Blur is handled for docks and panels that
can be AboveFullScreenWindows under X11. Blur is now
working correctly for them but of course GtkFrameExtents
do not work at all because they are intended to work
based on KWin implementation.

BUG:443536
3 years ago
Michail Vourlakos c521112cea disable frame_extents for X11::ByPassWM()
--fix blur positioning for docks panels that
have chosen to ByPassWM() under X11 environment
3 years ago
Michail Vourlakos 5c2b24530b unblock Meta event properly for all launchers 3 years ago
Michail Vourlakos 4ad9bceb27 activate through mouse wheel more applets
--when an applet is not identified as expandable
but on the other hand has activated the flag
activationTogglesExpanded then for those
applets the mouse wheel option should also
trigger an activation event
3 years ago
Michail Vourlakos a7cd06c2ef dont block visibility function after Meta trigger
--Menu11 and SimpleMenu applets are using a custom
plasmoid approach in order to be able to position their
popups differently on the screen. This patch considers
this in a more generic way and does not use the default
codepath to show popups from these applets. More
importantly the Needs/RequiresAttention status is used
in order to determine the panel/dock visibility for
these applets.

BUG:441053
3 years ago
Michail Vourlakos 40034a363f fix focus behavior when notes applet is used
BUG:443236
3 years ago
Michail Vourlakos 07d4c10d8c prevent session manager from restoring application
--disable session manager restoring and keep only the
autostart desktop file way in order to start Latte
3 years ago
Michail Vourlakos 512243d8e6 fix #85,respect kwin vds navigation wrapping around
--respect and track KWin option for Virtual Desktops
navigation wrapping around setting
3 years ago
Michail Vourlakos a480101ddf provide translations for dock panel templates
BUG:442435
4 years ago
Michail Vourlakos 6c172791ec context:store properly no actions at all case
--make sure that if the user has disable all context
menu actions then this is preserved after during
startups
4 years ago
Michail Vourlakos f0ce1fff90 viewsdialog:add missing translations
CCBUG:441357
4 years ago
l10n daemon script b55c7a8db0 GIT_SILENT made messages (after extraction) 4 years ago
Michail Vourlakos afac575877 specify KAboutData::productName()
--this way KCrash should now be able to identify
latte-dock bug address properly
4 years ago
Michail Vourlakos e1a472811d crash:dont show settings dialog in early startup
--showing settings dialog too early before layout(s)
are loaded can possible create crashes. Settings dialog
is considering that everything is in place and ready
to be used.

BUG:440731
4 years ago
Michail Vourlakos f1d435a38e major:update LastActiveWindow implementation
--new implementation keeps a more consistent history.
Each LastActiveWindow(LAW) now keeps track of all windows
that are related to its view even when these windows are not
currently shown. This way inactive windows history is
consistent and can be used from applets/visibility modes
more appropriately. VDs/Activities that are not
the current one(s) do not delete records from history
any more. Their respected windows are recorded and
flagged as NOT SHOWN, waiting this way to be valid
again after Activities/VDs changes.
4 years ago
Michail Vourlakos 1879cc87a2 fix "favorite" icon name typo
--this way favorite icon is always used
properly because it is shown from Breeze icon
theme if current icon theme does not
provide it
4 years ago
Michail Vourlakos 5486730a00 pref option to disable geometries broadcasting
--the user can choose to disable available desktop geometry
broadcasting to Plasma in order to avoid any desktop widgets
moving at all cases
4 years ago
Michail Vourlakos 29df650645 drop WinTracker::availableScreenGeometry calcs
--Views WindowsTracker in using screen geometry only to
identify which windows are in the same view screen has nothing
to do with availablescreengeometry. This is why it is
dropped and replaced by View::screenGeometry() value
4 years ago
Michail Vourlakos 094951d3f9 fix notifications placement for sidebars
--Corona::availableScreenRe.. functions now ignore
visibility modes from views that are almost always hidden
such as SideBars and AutoHide panels/docks
4 years ago
Michail Vourlakos 291699379e cmdline:add dock/panel through --add-dock 4 years ago
Michail Vourlakos 31f0355a71 cmd:provide option for add-dock 4 years ago
l10n daemon script 84df1d2393 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"
4 years ago
Michail Vourlakos 686d04f181 update scheme files when created
--plasma systemsettings colors dialog recreates
the color scheme file and is not updating it.
By adding a signal for file creation we can now
update color schemes properly when the user updates
colors based on plasma systemsettings dialog
4 years ago
Michail Vourlakos 36f6f73baa layout:do not store homepath for schemes 4 years ago
Michail Vourlakos 703c2bd6f6 detailsdlg:provide scheme custom item delegate 4 years ago
Michail Vourlakos 7dca67cb68 detailsdlg:draw scheme cmb properly 4 years ago
Michail Vourlakos 3bc3014863 genericsettings:provide scheme drawing 4 years ago
Michail Vourlakos c065bab169 detailsdialog:set custom color scheme for layout 4 years ago
Michail Vourlakos 2be506912f detailsdialog:provide customSchemeComboBox 4 years ago
Michail Vourlakos a9d0443489 detailsdialog:provide color schemes model 4 years ago
Michail Vourlakos f10ae3e239 layout:update default color scheme ref properly 4 years ago
Michail Vourlakos 7adee2c034 provide schemeFile data from centralayout data 4 years ago
Michail Vourlakos 509df95ae7 data::layout provide schemeFile 4 years ago
Michail Vourlakos bf58c753ee expose scheme for central layouts 4 years ago
Michail Vourlakos a9ed71b837 provide schemeFile for layout 4 years ago
Michail Vourlakos 6444cc6e2d provide access to scheme colors wm:engine
--this is going to be used in order from layouts
4 years ago
Michail Vourlakos 600d78afca release properly scheme objecs on destruction 4 years ago
Michail Vourlakos af64411d6f settingsdialog:set first tab properly 4 years ago
Michail Vourlakos b2ceefc951 preferencesdialog:fix spacer to expanding 4 years ago
Michail Vourlakos 2aec29a855 activate dragged window on start
--this way the window is activated properly
and its activation is not canceled from move
action

BUG:437679
4 years ago
Michail Vourlakos 5d3e04eed9 wayland:set isOnAllActivities flag properly 4 years ago
Michail Vourlakos c3c2c8a7f1 wayland:request all windows properties properly 4 years ago
Michail Vourlakos 7eff55b793 wayland:multiple layouts load properly on activities 4 years ago
Michail Vourlakos 7bc31fc9ea support wayland activities since kf5>=5.81 4 years ago
Yuri Chornoivan c01ea7e25e Fix minor typo 4 years ago
Michail Vourlakos 0cb72c13a8 detailsdialog:fix columns stretching hig 4 years ago
Michail Vourlakos 15fde5735e settingsdialogs:remove horizontal side rulers 4 years ago
Michail Vourlakos 2d50c02dd6 actionsdialog:improve texts 4 years ago
Michail Vourlakos 562eb8ddf7 actionsdialog:plenty of fixes in functionality 4 years ago
Michail Vourlakos 078b16447f actionsdialog:fix actions sorting for operations 4 years ago
Michail Vourlakos 9be247af22 actionsdialog:use listwidgetitems and properties 4 years ago
Michail Vourlakos 3be173830e actionsdialog:load items properly for actions 4 years ago
Michail Vourlakos 754d3c4f82 actionsdialog:connections between dialog/handler 4 years ago
Michail Vourlakos 363f9e7b53 actionsdialog:connect with preferences handler 4 years ago
Michail Vourlakos f6df1a2c50 settingsdialog:add preferences context menu actions 4 years ago
Michail Vourlakos 1e6b783a8d datapreferences:add contextMenuAlwaysActions 4 years ago
Michail Vourlakos 549779a3e2 actionsdialog: introduce handler 4 years ago
Michail Vourlakos f830fb3165 preferencestab:activate actions button 4 years ago
Michail Vourlakos 8e30f88a70 actionsdialog:provide actions dialog class 4 years ago
Michail Vourlakos a7e8cf4542 context:add actions in context menu dynamically 4 years ago
Michail Vourlakos 496b86e796 actionsdialog:provide list widget item 4 years ago
Michail Vourlakos 1c95c35e6a actionsdialog:provide main ui 4 years ago