1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-29 05:47:23 +03:00

974 Commits

Author SHA1 Message Date
Michail Vourlakos
1888fb7c80 Revert "No need to search i18n() in the same folder twice"
This reverts commit 85fea53760fddada59f089ab03a74640028c9775.

this is needed because it takes translation strings from app/dock
folder also
2018-11-18 20:52:47 +02:00
Yuri Chornoivan
85fea53760 No need to search i18n() in the same folder twice 2018-11-18 18:11:51 +02:00
Michail Vourlakos
99cb6b7983 dont reverse colors for Button
--it looks better if the Button(s) keep
their color instead to reverse it for the
reversed plasmaextended color scheme
2018-11-17 18:15:00 +02:00
Michail Vourlakos
a6a291d2c5 expose all latte colors to applets 2018-11-17 18:12:42 +02:00
Michail Vourlakos
05c85dcd6d improvements for containsMouse code style 2018-11-13 19:06:33 +02:00
Michail Vourlakos
b2abb99f2c fix layout integrity check
--this check was returning false results
in some cases
2018-11-11 09:29:06 +02:00
Michail Vourlakos
620c45a5b9 improve schemecolors name handling 2018-11-09 10:44:51 +02:00
Michail Vourlakos
3155a8173a update colorscheme values based on plasmaTheme 2018-11-08 15:06:30 +02:00
l10n daemon script
f243961f95 GIT_SILENT made messages (after extraction) 2018-11-08 03:43:47 +01:00
Michail Vourlakos
d295d88249 expose disabled colors for text/background 2018-11-07 20:20:36 +02:00
Michail Vourlakos
24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
2018-10-28 21:10:08 +02:00
Michail Vourlakos
e63a43afe5 enable requestMove through the visibilitymanager 2018-10-28 10:03:49 +02:00
Michail Vourlakos
578623836b make dock settings window smarter for secwindow
--the secondary configuration window can be shown
either inline or at its own window. In order to
be shown at its own window, that window must not
overlap with the main window. The new implementation
validates this at all cases.
2018-10-28 07:49:42 +02:00
Michail Vourlakos
b8ad6fceeb drag a maximized window from panel 2018-10-27 20:50:49 +03:00
Michail Vourlakos
722d656bfa enhance colorschemes and colorizer to new arch 2018-10-27 14:37:11 +03:00
Michail Vourlakos
ebb5759dc4 expose to qml ligth/dark themes,schemes 2018-10-27 12:46:48 +03:00
Michail Vourlakos
7c484afa91 create reversed color scheme for plasma theme 2018-10-27 12:16:18 +03:00
Michail Vourlakos
a011333bf8 update KDirWatch implementations
--make sure that KDirWatch signals are taken into
consideration only when are triggered from the
questioned files
2018-10-27 11:06:40 +03:00
Michail Vourlakos
7d9c5cf593 rename colortools to commontools
--this way more shared functions could be
added
2018-10-27 10:35:52 +03:00
Michail Vourlakos
836bc38778 discover plasma theme path 2018-10-27 01:16:35 +03:00
Michail Vourlakos
3553415c59 load roundness theme info properly 2018-10-27 00:59:36 +03:00
Michail Vourlakos
0cea7e8622 use roundness from extenededTheme in settings win 2018-10-26 23:56:28 +03:00
Michail Vourlakos
92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
2018-10-26 23:40:10 +03:00
Michail Vourlakos
0179bc6395 add colortools for luminas and plasmathemeextended
--plasmathemeextended is going to provide all the
functionality that current plasma theme infrastructure
does not. Such as roundness and dark/light color schemes
2018-10-26 22:39:58 +03:00
Michail Vourlakos
8d014c9e6e active windows that touch panel have higher priority 2018-10-26 18:47:13 +03:00
Yuri Chornoivan
4b55cdce52 Fix minor typo 2018-10-24 07:25:49 +03:00
Michail Vourlakos
b1ad7f2a18 send window change signale for color scheme 2018-10-23 20:42:14 +03:00
Michail Vourlakos
f2d088a297 add theme roundness option at preferences page 2018-10-23 20:42:13 +03:00
Michail Vourlakos
59f66233f2 track files for schemes changes
--track changes for wm default scheme
--track changes for colors in specific scheme
2018-10-23 20:42:13 +03:00
Michail Vourlakos
e1712dded4 add more colors to SchemeColors 2018-10-23 20:42:13 +03:00
Michail Vourlakos
f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
2018-10-23 20:42:12 +03:00
l10n daemon script
7fd9cb1952 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"
2018-10-20 05:56:42 +02:00
Michail Vourlakos
37dbab99bf remove no needed public api from visibilitymanager 2018-10-14 22:31:48 +03:00
Michail Vourlakos
0bab344682 fixes for multi-screen behavior
--fix wrong placement at multi-screen environment
during startup. freeEdges function was not sufficient for
reconsiderScreen() because there was a chance to
exclude edges that even though they were available
it returned fault results. Such case is when
a view request available edges for specific screen
and the edge of that specific view is also exluded
because that view has not finished its movement
to the new assigned screen.

--fix re-adding an explicit dock when its screen
is activated. A check was missing in order to
confirm that a primary dock is occuping that
edge but we must check also that the primary
screen is the same with the explicit one.

--add/improve debug messages
2018-10-12 19:04:17 +03:00
l10n daemon script
cfec678f68 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"
2018-10-10 06:14:12 +02:00
l10n daemon script
b7a1bbfdfc GIT_SILENT made messages (after extraction) 2018-10-10 03:49:52 +02:00
Michail Vourlakos
be7bbfe848 dont call syncGeometry when some cases
--dont call costly syncGeometry when drawShadows
externally is called. In such case only updating
shadows/borders is needed.
2018-10-07 21:04:21 +03:00
Michail Vourlakos
f955c6a40c improve reconsiderScreens code for multi-screens
--try to make screens assignment and window geometry
more consistent. There are three variables in a dock
window for its screen and positioning to be accurate,
screen(), m_screenToFollow, m_screenToFollowId

BUG: 399456
2018-10-07 20:08:58 +03:00
Michail Vourlakos
135ddc479d dont break BorderlessMaximized window default
--dont update the BorderlessMaximized value if
the user hasnt explicitly enabled it from Latte
options.
2018-10-07 01:12:48 +03:00
Michail Vourlakos
1638449997 imrove windowChanged signal under X11
--the new code contains more comments and except
blacklisting all NET::Properties2 signals that are
not accompanied with NET::Properties it also
whitelists specific states for NET::WMState.
This should lower a lot the calculations needed
in order to support the dodge visibility modes.
At the same time apps that are abusing X11 signals
should be ignored totally because the whitelisted
states and NET::Properties are only set by the
user or the window manager.

BUG: 399149
FIXED-IN: 0.8.2
2018-10-06 16:28:46 +03:00
Michail Vourlakos
64a40429a4 option/define who will be used at global shortcuts
--add an option in Tweaks page in order for the user
to define which dock/panel will have the highest priority
for global shortcuts activation. This option can be
used is per layout basis. Each layout can have its own
high priority dock/panel for Latte unified shortcuts.

BUG: 398914
2018-09-22 20:21:57 +03:00
Michail Vourlakos
4732f7f1b1 activate entries for docks containing only applets
--when a dock/panel does not contain any taskmanager
should also be able to activate its applets through
Latte's unified global shortcuts

BUG: 398913
2018-09-22 19:12:38 +03:00
Michail Vourlakos
09fe5e385b on startup explicit dock faulty moving onPrimary
--multi-screen fix for explicit docks. There were
cases that explicit docks during startup were
moving to onprimary screen even though they shouldnt
based on the new multi-screens implementation.
Bug was tracked down at a faulty series of signals
that were overwriting dockView config values
to default values and that was creating the fault.
-- one more fix for multi-screens, a missing return
statement in case an explicit dock is called and its
edge at that specific screen is occuppied by an
onPrimary one.

BUG: 398219
FIXED-IN: 0.8.1
2018-09-04 19:43:17 +03:00
Michail Vourlakos
203c740980 IMPORTANT FIX:show dodged dock at corner cases
When there was only one latte dock and the last
active window was closed, the dock wasnt showing
afterwards. The dodge logic now has been improved
in order to not lose any window manager signals
that could help indicate when to show/hide a
dodge capable dock

BUG: 398052
FIXED-IN: 0.8.1
2018-09-01 17:45:08 +03:00
Michail Vourlakos
cc0e0e7c47 simplify dodge(s) code and comment it 2018-08-31 16:49:47 +03:00
Michail Vourlakos
66817695fe raise docks when there isnt any active window
--there are cases that the window manager doesnt
return any active window at all. In such cases
we can assume that our docks/panels dont have to
be hidden.

BUG: 398052
FIXED-IN: 0.8.1
2018-08-31 15:29:49 +03:00
Tobias C. Berner
156accc34f Fix build on FreeBSD by including <array>.
Summary:
latte-dock-0.8.0/app/dock/dockview.h:367:44:
    error: implicit instantiation of undefined template 'std::__1::array<QMetaObject::Connection, 4>'
    std::array<QMetaObject::Connection, 4> connectionsManagedLayout;
                                           ^

Reviewers: #freebsd, mvourlakos, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14534
2018-08-30 18:15:01 +02:00
Michail Vourlakos
9e53fa727b update to latest panel shadows 2018-08-30 13:57:16 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
87094a6fe7 dont draw panel shadows when theme doesnot provide
when the plasma theme was not supporting shadows then
Latte was double drawing the panel background when
the user has chosen that wanted shadows

BUG: 397980
FIXED-IN: 0.8.1
2018-08-28 13:49:32 +03:00