1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-03 09:47:22 +03:00

2732 Commits

Author SHA1 Message Date
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.
2021-12-12 14:39:35 +02:00
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.
2021-12-12 14:39:27 +02:00
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.
2021-12-12 14:39:18 +02:00
Michail Vourlakos
6a66dd0000 add missing signal 2021-12-12 04:41:11 +02:00
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.
2021-12-11 19:32:58 +02:00
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.
2021-12-10 17:08:58 +02:00
Michail Vourlakos
434f3b16e6 cmd:close after disabling autostart 2021-12-08 18:24:58 +02:00
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
2021-12-07 20:58:26 +02:00
Michail Vourlakos
1365b9f24f cmd:print all available templates 2021-12-07 20:24:34 +02:00
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
2021-12-07 20:11:29 +02:00
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"
2021-12-03 01:46:34 +00:00
Michail Vourlakos
3067b6d51c autostart: do not overwrite startup file 2021-12-02 20:55:22 +02:00
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
2021-12-01 17:48:01 +02:00
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
2021-11-30 21:29:06 +02:00
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"
2021-11-29 01:38:54 +00:00
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"
2021-11-28 01:33:07 +00:00
Michail Vourlakos
5dc6cea1f8 remove QDBusInterface usage 2021-11-14 19:14:24 +02:00
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
2021-11-14 14:08:41 +02:00
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
2021-11-14 13:44:20 +02:00
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.
2021-11-11 18:42:17 +02:00
Michail Vourlakos
c4964d0b1f modernize dbus noblock calls 2021-11-11 18:42:08 +02:00
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
2021-11-11 14:00:48 +02:00
Michail Vourlakos
90405fef8a update lastactivewindow based on changed signal 2021-10-31 19:11:47 +02:00
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.
2021-10-30 14:37:02 +03:00
Michail Vourlakos
956b589764 wm:init vdswraparound value properly
BUG:444572
2021-10-29 22:50:30 +03:00
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
2021-10-24 16:37:04 +03:00
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
2021-10-22 21:34:21 +03:00
Michail Vourlakos
cbbfc55861 disable frame_extents for X11::ByPassWM()
--fix blur positioning for docks panels that
have chosen to ByPassWM() under X11 environment
2021-10-22 20:43:25 +03:00
Michail Vourlakos
63a54b40db unblock Meta event properly for all launchers 2021-10-22 20:05:53 +03:00
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
2021-10-15 01:41:13 +03:00
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
2021-10-15 01:16:05 +03:00
Michail Vourlakos
d354cc4513 fix focus behavior when notes applet is used
BUG:443236
2021-10-07 18:09:01 +03:00
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
2021-10-02 09:29:37 +03:00
Michail Vourlakos
58c7093be9 fix #85,respect kwin vds navigation wrapping around
--respect and track KWin option for Virtual Desktops
navigation wrapping around setting
2021-09-28 22:05:17 +03:00
Michail Vourlakos
53674a65e1 provide translations for dock panel templates
BUG:442435
2021-09-14 21:05:59 +03:00
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"
2021-08-31 01:29:24 +00:00
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
2021-08-27 08:54:10 +03:00
Michail Vourlakos
5c9dc950d7 viewsdialog:add missing translations
CCBUG:441357
2021-08-26 15:55:01 +03:00
l10n daemon script
463437d8d0 GIT_SILENT made messages (after extraction) 2021-08-26 00:18:36 +00:00
l10n daemon script
25e05070bb GIT_SILENT made messages (after extraction) 2021-08-20 00:22:30 +00:00
Michail Vourlakos
df9117d010 specify KAboutData::productName()
--this way KCrash should now be able to identify
latte-dock bug address properly
2021-08-09 17:23:12 +03:00
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
2021-08-08 14:28:48 +03:00
Alexander Lohnau
2f6808b626
Define new KPackageStructure property in kpackage structures
The pluginId field is kept for compatibility.

Task: https://phabricator.kde.org/T14563
2021-08-01 20:33:50 +02:00
Alexander Lohnau
c02e4b6a7e
Consistently name kpackage structures
This will allow kpackage to load the structures by their path.

Task: https://phabricator.kde.org/T14757
Conceptually the same direction as https://phabricator.kde.org/T14499.
2021-08-01 20:26:35 +02:00
l10n daemon script
27c6225b1a 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"
2021-07-24 01:14:07 +00:00
Michail Vourlakos
834f71d266 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.
2021-07-17 21:02:58 +03:00
Michail Vourlakos
72ff76033b 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
2021-07-17 15:28:55 +03:00
Michail Vourlakos
e0e3f19f7a 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
2021-07-16 18:57:30 +03:00
Michail Vourlakos
19defa08cd 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
2021-07-11 11:39:38 +03:00
Michail Vourlakos
750785b5e5 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
2021-07-09 10:23:22 +03:00