1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-15 15:24:24 +03:00

1064 Commits

Author SHA1 Message Date
Pino Toscano
72341142a2 fix project_license in appstream file
use the right SPDX tag
2019-01-27 08:57:23 +01:00
Michail Vourlakos
62033157f6 unblock View after AppLaucher shortcut trigger
--the Application Launcher triggering through global
shortcuts (codepath) was missing a release for
visibilitymanager in order to work correctly after
the applet trigerring.

BUG: 403471
2019-01-23 23:02:42 +02:00
Michail Vourlakos
5416b1c0ef REFACTOR:move layout to its own folder 2019-01-22 18:17:55 +02:00
Michail Vourlakos
130bb32c8e move view config window for advanced mode
--there were cases for small screen resolutions
that because the view settings windows did not
change its height, it was not changing its placement
to the side of the screen
2019-01-20 20:36:35 +02:00
Michail Vourlakos
990b8868cd guard m_parent caller at secconfigview
BUG: 403406
2019-01-19 22:00:27 +02:00
Michail Vourlakos
ad3b5abeaf enhance background solidness when touching window
--When the user has chosen a solid background when
there are windows touching the Latte panel then in
such case windows that are touching the panel not
just at the edge but at the at any point of the latte
panel are also considered as touching windows
--The "snapped" term that was used before in the
visibilitymanager was changed to "touching"
2019-01-19 18:55:19 +02:00
Michail Vourlakos
42f6bef738 dont close settings windows with no reason
--there were cases that the focusOutEvent from
secondary config window was sent before the
primary config window has become active. In that
case all config windows were closing with no
reason

BUG: 402776
2019-01-19 17:22:19 +02:00
Michail Vourlakos
582b59dae2 enable/disable colorizing from user
--when the user has enabled the monochrome colorizing
in that case in applet options there is now a new option
in order for the user to choose if wants or not that
applet to be colorized. Such an example are colorful
applets that lose their proper appearance through
monochrome option.
2019-01-15 21:17:38 +02:00
Michail Vourlakos
5c28b2194a Wait forever until the lock file can be locked
Summary:
- `timeout = 3000` is a bit short on some computer. Use `timeout = -1` will work for any case.

BUG: 401041

Test Plan: BUG: 401041 is fixed on my computer.

Reviewers: mvourlakos, #latte_dock

Reviewed By: mvourlakos

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18258
2019-01-15 21:16:52 +02:00
Steffen Coenen
56cfb42734 Fix autohide behaviour after dragging a panel
Summary:
Currently, when dragging a window from the panel to move it, it breaks the autohide behaviour of active docks/panels. This change imitates a release event on X11 to circumvent these problems.

BUG: 403104

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18194
2019-01-14 18:50:10 +02:00
Michail Vourlakos
cf6641a089 dont unblock for !editMode
--when containment changes status it was
unblocking the visibility manager. This patch
fixes that situation and the blocker remains
under editMode. This way the dock can not be
hidden when it is in editMode.
2019-01-11 20:09:46 +02:00
Michail Vourlakos
daa4d0f003 recreate view only when is really needed
--recreate view only when the window
ByPass flag must be really changed
2019-01-11 20:08:33 +02:00
Michail Vourlakos
8c21ca9072 create local autostart folder if is missing
BUG: 402934
2019-01-06 20:54:48 +02:00
Yuri Chornoivan
8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
2019-01-02 19:37:43 +02:00
Michail Vourlakos
63e9fbc99f dont block mouse events with no reason
BUG: 402572
2018-12-29 20:20:36 +02:00
Michail Vourlakos
e19cbd46f6 delete secondary window when no needed
BUG: 402627
2018-12-28 17:11:43 +02:00
Michail Vourlakos
ca5ea55816 disable debug message 2018-12-28 16:42:23 +02:00
l10n daemon script
5b5aec055d GIT_SILENT made messages (after extraction) 2018-12-28 02:44:54 +01:00
Michail Vourlakos
5c8a2bb380 reorganize settings in view settings window 2018-12-27 18:59:20 +02:00
Michail Vourlakos
aeb7877546 improve ExpertSettings location 2018-12-27 12:15:25 +02:00
Michail Vourlakos
5d6d1730f2 improve syncGeometry at settings windows 2018-12-26 18:35:58 +02:00
Michail Vourlakos
79ccc37e31 delay latte view showing for Meta global shortcut 2018-12-26 17:53:17 +02:00
Michail Vourlakos
32a34d7c47 show latte view for all cases of Meta+A 2018-12-26 17:33:59 +02:00
Michail Vourlakos
40bd5a83e2 update settings to new complexity level 2018-12-26 00:34:45 +02:00
Michail Vourlakos
7d66434244 introduce complexity for view settings 2018-12-25 23:57:41 +02:00
Michail Vourlakos
5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
2018-12-25 20:33:47 +02:00
Michail Vourlakos
b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
2018-12-25 20:20:06 +02:00
Michail Vourlakos
418799ed30 fix crashes from latteView recreation code
--in order to update window manager flags properly
in some cases a dock recreation is needed. But that
dock recreation when takes place when the user choses
to move its panel between different screens (that recreation
shouldnt be needed) in such case it creates crashes
2018-12-25 19:01:19 +02:00
Michail Vourlakos
095048223a refactor:move backgroundtracker under liblatte 2018-12-25 13:03:20 +02:00
Michail Vourlakos
e81ef199b3 refactor:drop visibilitymanager private class 2018-12-20 18:59:38 +02:00
Michail Vourlakos
3b8c52cc59 refactor:move lattepackage to simpler directory 2018-12-13 21:01:51 +02:00
Michail Vourlakos
0497c2c960 add PlasmaScreenPool to help with screen ids
-- Latte screen ids are different from plasma
screen ids. This class helps in order to help
translating the different screen ids between
Latte and Plasma.
2018-12-13 20:55:03 +02:00
Michail Vourlakos
2244cae8bc refactor:move PlasmaThemeExtended to better path 2018-12-13 20:03:14 +02:00
Michail Vourlakos
efb9414ef9 refactor:move plasmaquick headers to better place 2018-12-13 19:51:22 +02:00
Michail Vourlakos
653f0a22fb small commenting and backgrounds qhash 2018-12-13 19:42:00 +02:00
Michail Vourlakos
74238dba6f improve color schemes handling for default values
--when color schemes from themes are used there are
cases that the WM records do not correspond to the
colors that the plasma theme will use. In such cases
the color scheme file that is passed to applets can
create colors inconsistencies. For this reason we
update the default color scheme in order for its
WM values to be consistent with the plasma theme.
For the record plasma theme is using Colors:View
group for its main colors.

BUG: 401431
2018-12-09 18:56:45 +02:00
Michail Vourlakos
c81e97f24d improve scheme file assignment from themeExtended 2018-12-09 10:52:01 +02:00
Michail Vourlakos
a3107b7f1c dont call syncGeometry if not needed in some case 2018-12-09 02:24:57 +02:00
Michail Vourlakos
fbe07f5ec1 add debug message for syncGeometry() 2018-12-09 02:06:52 +02:00
Michail Vourlakos
b05c7d94ae refactor:add visibilitymanager to ViewPart:: 2018-12-09 00:29:35 +02:00
Michail Vourlakos
57ab5f3b3f refactor:move screenedgewindow to ViewPart:: 2018-12-09 00:15:17 +02:00
Michail Vourlakos
0510293c21 REFACTOR:Move confiView(s) to ViewPart:: namespace 2018-12-09 00:06:14 +02:00
Michail Vourlakos
b2fbb2a7ae REFACTOR:change dock->latteView in settings windows 2018-12-08 18:44:28 +02:00
Michail Vourlakos
f84043d28e REFACTOR:change dock in containment to latteView 2018-12-08 18:35:32 +02:00
Michail Vourlakos
1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types 2018-12-07 18:55:35 +02:00
Michail Vourlakos
9447a8f748 REFACTOR:replace liblattedock with new liblatte2 2018-12-07 18:44:09 +02:00
Michail Vourlakos
462a849ac4 refactor:rename dock terms to view 2018-12-06 16:19:14 +02:00
Michail Vourlakos
f2a90aafe6 refactor:rename dock term to view term 2018-12-06 16:09:42 +02:00
Michail Vourlakos
185dd39e5c refactor:rename dock terms to view terms 2018-12-06 15:57:20 +02:00
Michail Vourlakos
fd23fd83c1 refactor:rename dockWinBehavior to byPassWM flag 2018-12-06 15:34:04 +02:00