Commit Graph

2848 Commits (6750f02d6f287eb1bf05009b4fd86edf8965fde4)

Author SHA1 Message Date
Michail Vourlakos a033a20062 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 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
l10n daemon script 7a7af88e99 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 c317d3257a 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 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 c15a97bacf Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d.
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
Jonas Latza ccbf079113 [x11] - fix 30bit color depth that makes dock invisible with broken transparency 3 years ago
Michail Vourlakos de61ff48ad enable strtus fro all alternative DEs 3 years ago
Michail Vourlakos 4f3fef1fda enable strtus fro all alternative DEs 3 years ago
Michail Vourlakos fb4cfaa399 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 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 24fc1e8709 singlelayout:fix borderless activation/deactivation 3 years ago
Michail Vourlakos 5e0feef0f6 do not allow struts when view is offscreen 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 ca83433ce0 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 bce0d74e5f 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 c2b20852ea 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 aeb934d0fb 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 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 6a66dd0000 add missing signal 3 years ago
Michail Vourlakos ee2493ba1a add missing signal 3 years ago
Michail Vourlakos a553f7403f 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 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 ea19ff18ad 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 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 434f3b16e6 cmd:close after disabling autostart 3 years ago
Michail Vourlakos 3b4d7a10f4 cmd:close after disabling autostart 3 years ago
Michail Vourlakos 229f92b2c8 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 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 1365b9f24f cmd:print all available templates 3 years ago
Michail Vourlakos 20bad7c191 cmd:print all available templates 3 years ago
Michail Vourlakos e88aaf27a9 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 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
l10n daemon script b4da839df4 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 3067b6d51c autostart: do not overwrite startup file 3 years ago
Michail Vourlakos 6f162479e0 autostart: do not overwrite startup file 3 years ago
Michail Vourlakos 05e588c333 update .knsrc file
--update knsrc file in new way of handling
online latte indicators and in this way
support at the same time latte indicators
to be installed from Plasma LookNFeel packages.
--because of previous change the new required
kde frameworks version is 5.71
3 years ago
Michail Vourlakos e0bfff4c48 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
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 127f24bb24 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 fae5fcffb7 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 5dc6cea1f8 remove QDBusInterface usage 3 years ago
Michail Vourlakos 71d4ff1e0c remove QDBusInterface usage 3 years ago
Michail Vourlakos 0c1e29bf4e 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 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 b3efb73aef 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 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 27062087ea 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 c4964d0b1f modernize dbus noblock calls 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 199effaf2b 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 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 90405fef8a update lastactivewindow based on changed signal 3 years ago
Michail Vourlakos 4d3c491b84 update lastactivewindow based on changed signal 3 years ago
Michail Vourlakos e642087e31 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 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 956b589764 wm:init vdswraparound value properly
BUG:444572
3 years ago
Michail Vourlakos e6d7d8262b wm:init vdswraparound value properly
BUG:444572
3 years ago
Michail Vourlakos 61d4ff64d8 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 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 e822062668 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 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 cbbfc55861 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 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 63a54b40db unblock Meta event properly for all launchers 3 years ago
Michail Vourlakos 5c2b24530b unblock Meta event properly for all launchers 3 years ago
Michail Vourlakos c9515a0353 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 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 59360176ee 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 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 d354cc4513 fix focus behavior when notes applet is used
BUG:443236
3 years ago
Michail Vourlakos 40034a363f fix focus behavior when notes applet is used
BUG:443236
3 years ago
Michail Vourlakos fc4dc6dacc 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 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 58c7093be9 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 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 53674a65e1 provide translations for dock panel templates
BUG:442435
3 years ago
Michail Vourlakos a480101ddf provide translations for dock panel templates
BUG:442435
3 years ago
l10n daemon script d47f01a499 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 596a184fa1 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 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 5c9dc950d7 viewsdialog:add missing translations
CCBUG:441357
4 years ago
Michail Vourlakos f0ce1fff90 viewsdialog:add missing translations
CCBUG:441357
4 years ago
l10n daemon script 463437d8d0 GIT_SILENT made messages (after extraction) 4 years ago
l10n daemon script b55c7a8db0 GIT_SILENT made messages (after extraction) 4 years ago
l10n daemon script 25e05070bb GIT_SILENT made messages (after extraction) 4 years ago
Michail Vourlakos df9117d010 specify KAboutData::productName()
--this way KCrash should now be able to identify
latte-dock bug address properly
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 f7032f7f19 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 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