1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00
Commit Graph

5851 Commits

Author SHA1 Message Date
Michail Vourlakos
ee307a0759 update to v0.10.76 2022-01-16 22:09:49 +02:00
Michail Vourlakos
84fe31c318 panels:fix switch to explicit screens and back
--some improvements introduced to 0.10.7 broke the
screen switching codepath for panels. With this
fix users can again move panels around for their
screens

BUG:448569
FIXED-IN:0.10.8
2022-01-16 22:00:18 +02:00
Michail Vourlakos
60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
2022-01-16 13:38:13 +02:00
Michail Vourlakos
8a0f18326e fix for vertical panels identifying top borders
--use also floating screen edge margin in order to identify
if the top or bottom borders of a vertical dock or panel
should be drawn
2022-01-16 03:42:23 +02:00
Michail Vourlakos
fa4db13e81 fix position of custombackground on screen corners
BUG:448519
FIXED-IN:0.10.8
2022-01-16 03:12:35 +02:00
Michail Vourlakos
6fa1d1cc87 fix vertical docks/panels positioning
--identify correctly for vertical panels in right edge
when they need to draw or not their top and bottom borders.
This is enough in order to position properly these docks.

BUG:448519
FIXED-IN:0.10.8
2022-01-16 02:32:24 +02:00
Michail Vourlakos
ec62b36018 position kwinedgehelper properly after startup
BUG:448433
FIXED-IN:0.10.8
2022-01-16 02:32:24 +02:00
Michail Vourlakos
0657ca1e4e x11:center applet config window on screen 2022-01-14 20:58:25 +02:00
Michail Vourlakos
6187f4d997 do not shrink vertical docks/panels on startup 2022-01-14 20:21:20 +02:00
Michail Vourlakos
c4afa37465 view:unblock events when user undo removal
--this way when a dock or panel is scheduled for
removal but the user undo that removal all
events for main dock/panel window are forwarded
correctly. As  a side fix parabolic effect works
just fine now is such scenario.
2022-01-14 20:05:29 +02:00
Michail Vourlakos
837f0a81e7 update Changelog to v0.10.7 2022-01-10 15:54:41 +02:00
Ömer Fadıl Usta
3c5b474a97 Make spring cleaning to match our KF5_MIN_VERSION
Since we already require 5.71.0 as min version of KF , it is meaning less to keep old checks for lower versions in code, this will make code more and more cleaner

Since all plasma using cpp17 and we recently switch to cpp14 think that it may be better to keep it more up-to-date and match with plasma
2022-01-09 12:21:55 +00:00
Michail Vourlakos
aa57d21515 kwinedge:calculations improvements 2022-01-08 21:17:39 +02:00
Michail Vourlakos
20e3f3cbb3 kwinedges:fix calculations and positioning 2022-01-08 21:01:09 +02:00
Michail Vourlakos
a12565ab1f windowsgobelow:show properly on startup
BUG:448099
2022-01-08 21:01:09 +02:00
Ömer Fadıl Usta
d0f4bcfa33 Freebsd compile fix
(try#1)
2022-01-08 02:20:00 +00:00
Michail Vourlakos
98f39e17e3 parabolic:fix applets clearing issue 2022-01-07 14:32:38 +02:00
Michail Vourlakos
b1c3594367 provide ParabolicEffect spread option
--this way the user can choose to use a much
greater parabolic effect that will influence five
or seven of its neighbours instead of just three.
The new option can be found at Latte Global Preferences.
2022-01-07 10:17:36 +02:00
Michail Vourlakos
78b124e8f4 align properly thintooltips on vertical edges 2022-01-04 15:01:39 +02:00
Michail Vourlakos
7d180f8dd6 ignore layout/view extensions properly
--remove them manually and do not use baseName()
because it might take into account dots that are
part of the name.
2022-01-04 10:15:02 +02:00
Michail Vourlakos
4de51de221 dragging:respect placeholder in length fill calcs
--reduce glitches when dragging applets around and there
are also fillLength applets in Justify alignment
2022-01-04 01:31:17 +02:00
Michail Vourlakos
c9aa147b7b justify:update centered offset always 2022-01-04 00:56:44 +02:00
Michail Vourlakos
c6ea796f00 fill one pixel gap of justify splitters 2022-01-04 00:12:15 +02:00
Michail Vourlakos
02d7e2a7d8 drag applet:remove no needed reparenting
--no reason to reparent placeholder out of layouts
order while dragging an applet. This way internal
view splitters are always calculated correctly.
2022-01-04 00:12:15 +02:00
Michail Vourlakos
850937ca22 justify:offset centered applets if overlap 2022-01-03 22:57:33 +02:00
Michail Vourlakos
4c1c65e353 scrgeometries:public empty QRegion() correctly 2022-01-03 20:46:00 +02:00
Michail Vourlakos
765aa45c72 view:enable OnAllDesktops during creation
--try to avoid corner cases that wm ignores OnAllDesktops
flag for specific views during startup. This patch should
protect these corner cases.

BUG:447689
FIXED-IN:0.10.7
2022-01-01 21:06:27 +02:00
l10n daemon script
1e841db497 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"
2022-01-01 01:44:03 +00:00
Michail Vourlakos
1a12bce8af update application name in desktop file
--help external applications to locate the
proper desktop file. This helps also kglobalaccel
to discover which desktop file is linked to
Latte Dock. As a side improvement now latte
dock gains its icon in Plasma Systemsettings
Shortcuts.
2021-12-31 17:23:00 +02:00
Michail Vourlakos
fc8c439787 anchor tooltip for all latte specific applets 2021-12-31 12:30:22 +02:00
Michail Vourlakos
ce15e4e511 hide thin tooltip properly
--update current visual parent for thin tooltip
even when this tooltip showing is blocked. Such
a case is when a different applet popup is triggered.

BUG:443645
FIXED-IN:0.10.7
2021-12-30 03:31:49 +02:00
Michail Vourlakos
9351277cd7 anchor thin tooltips on their visual parents
BUG:447631
2021-12-30 03:12:18 +02:00
Michail Vourlakos
8bd168a5a5 always trust KWin for setting struts
--when kwin is running then we should always
trust it in order to provide correct struts.
That applies also under x11 where other wms
might fail.

BUG:447595
FIXEX-IN:0.10.7
2021-12-29 18:52:57 +02:00
Michail Vourlakos
5ecb8ab767 window belongs in a screen whenever touching it
--whenever a window geometry is touching a screen geometry
is now considered that this window belongs to that screen.
This way a window could look active to more that one screens.
This way all last active window considerations now work
properly even when the window center is out of screen.
2021-12-27 23:31:08 +02:00
Michail Vourlakos
cd2ec88274 enable regions broadcasting
--it doesnt make any difference with Plasma
2021-12-27 23:30:55 +02:00
Michail Vourlakos
c98f6679b8 fix plasma available geometry broadcasting
--ignore docks and panels for availableScreenRect(s) etc.
when they are in startup and they are painted offscreen
--plasma is not ready to accept availableScreenRegion(s) because
after startup moves desktop widgets to the left even though
it should not
--fix availableScreenRegion calculations for Centered and Justified
docks and panels
2021-12-27 23:30:11 +02:00
Michail Vourlakos
7304025bc3 remove doubled debug message 2021-12-24 13:45:04 +02:00
Michail Vourlakos
3b8c4392c1 remove no needed qt checks 2021-12-20 23:07:50 +02:00
Pino Toscano
362b21ee08 Merge remote-tracking branch 'origin/v0.10' 2021-12-19 08:23:18 +01:00
Pino Toscano
f7f774aeb1 appdata: fix/improve
- reference the right desktop file for it with <launchable>, so the
  appdata and the desktop file are properly associated
- remove stray control chars in <releases>
2021-12-19 08:17:14 +01:00
Michail Vourlakos
346381370b update Changelog to 0.10.6 2021-12-18 10:42:26 +02:00
Michail Vourlakos
380d62b0b1 update version to v0.10.6 2021-12-18 10:31:07 +02:00
Michail Vourlakos
1da67e4c26 update Changelog to 0.10.6 2021-12-18 10:29:15 +02:00
Michail Vourlakos
c711d690e2 add missing header 2021-12-17 14:24:53 +02:00
Michail Vourlakos
dc724dfd8b simplify Qt version even more 2021-12-17 14:22:17 +02:00
Michail Vourlakos
74626f7bdf Revert "find Qt5 minor version"
This reverts commit 51f166bf51.
2021-12-17 12:07:03 +02:00
Michail Vourlakos
5c9a4e8392 simplify qt5 version check 2021-12-17 12:04:02 +02:00
Michail Vourlakos
1d2a1a03b0 Revert "find Qt5 minor version"
This reverts commit 14be8a9e71.
2021-12-17 12:00:47 +02:00
Michail Vourlakos
4e28392c3e 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.
2021-12-17 11:59:05 +02:00
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.
2021-12-17 11:52:10 +02:00