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

1151 Commits

Author SHA1 Message Date
Michail Vourlakos
aaee132951 add outline width option in Preferences 2019-03-16 20:40:51 +02:00
Michail Vourlakos
661f3cad1b update panel backgrounds implementation
--there is now an always shown underlying layer that
provides full solidness for 100% panel transparency
--Colorizer.CustomBackground was updated in order to
support Borders drawing
2019-03-16 16:17:52 +02:00
Michail Vourlakos
d5ef4c8acf discover standard paths independent of distro 2019-03-16 13:44:00 +02:00
Michail Vourlakos
6e132ab001 discover plasma background opacity 2019-03-16 12:57:35 +02:00
Michail Vourlakos
15d5ac59ec improve calculations for vertical settings windows 2019-03-14 14:43:18 +02:00
Michail Vourlakos
a9e4afa336 add debug message for windows default color scheme 2019-03-11 21:23:26 +02:00
Michail Vourlakos
48a5a4690e decrease edge ghost window sensitivity for mouse
--this patch fixes the show timer delayer in combination
with KWin edges activation even more. The experience
now looks almost identical to NONE-KWin edge activation
2019-03-11 16:09:50 +02:00
Michail Vourlakos
f2b2121003 add option to clear qml cachec from command line
--add comments in order to distinguish parameters sections

BUG: 405337
2019-03-11 10:08:03 +02:00
Michail Vourlakos
cab2055279 adjust secondary config win to new design
--secondary config window now follows the primary
config window design. Config windows now are just
simple windows !AboveAll and are activated from
Latte::View on demand. This way we can now have
demonstration of the parabolic effect during
editMode at all times
2019-03-09 23:08:24 +02:00
Michail Vourlakos
1dba8d1841 block requestActivate() for wayland
--requestActivate is not supported under wayland
2019-03-09 20:19:26 +02:00
Michail Vourlakos
e9e0c04198 fix wayland crash when hiding config window 2019-03-09 19:56:57 +02:00
Michail Vourlakos
c35849c9d8 take care config windows for X11 environment
--make the config windows to not show in pager,
switcher or taskbar under X11 environment
2019-03-09 19:49:18 +02:00
Michail Vourlakos
0816e2b8aa fix top masking during editMode
--improve also identifying when subtracting
edit mode mask is needed
2019-03-09 18:37:49 +02:00
Michail Vourlakos
c3b3788fec calculate availableScreenGeometry properly
--use View::normalThickness in order to consider the
proper availableScreenGeometry
2019-03-09 17:04:26 +02:00
Michail Vourlakos
11226428c6 update config window availScreenGeometry properly 2019-03-09 15:58:16 +02:00
Michail Vourlakos
fabf6f44d2 show configuration windows only for one view
-- for each layout only one dock should show its configuration windows
otherwise we could reach a point that because a settings window
is below another Latte View its options are not reachable
2019-03-09 14:24:52 +02:00
Michail Vourlakos
94415e24b4 improve config windows calculated geometries 2019-03-09 12:23:51 +02:00
Michail Vourlakos
89fd411dab improve how config window size is calculated 2019-03-09 11:50:17 +02:00
Michail Vourlakos
83b5b2323a fix calculations for left subtracked mask 2019-03-09 11:50:16 +02:00
Michail Vourlakos
002d683dd9 fix calculations for left subtracked mask 2019-03-09 00:11:39 +02:00
Michail Vourlakos
736d068a44 improve masking for config windows
--now config windows are masked properly in order to
accessible to all of their areas. By design the config
windows are trying to be below the main view, this is
why masking is needed in order to work properly and not
having areas that can not be clicked/accessed because
of the top Latte View
2019-03-08 23:43:08 +02:00
Michail Vourlakos
0bb2c14017 set keepAbove for all Latte windows under wayland 2019-03-08 19:51:29 +02:00
Michail Vourlakos
37ca5f1663 restore config windows behavior to previous state
--approach the problem of showing parabolic effect properly
during edit mode in a different way. The Latte View now
on Enter event raises itself
2019-03-08 19:02:14 +02:00
Michail Vourlakos
3ac5ebffeb fix focusOut behavior for config windows 2019-03-08 16:14:34 +02:00
Michail Vourlakos
366f2783f2 improve config windows activation
--when the mouse enters the main latte view,
the primary and secondary config windows should
be activated. This patch improves how this is
handled in order to not mess up the focusOut
even handling from config windows. The config
windows do not race now in order to identify
if all the config windows has lost focus.
2019-03-08 15:41:45 +02:00
Michail Vourlakos
e4254ed8c7 activate config windows whenever mouse enters view 2019-03-07 18:15:04 +02:00
Michail Vourlakos
b2184579ad remove StaysOnTop hint for settings windows 2019-03-07 17:58:27 +02:00
Michail Vourlakos
542174f296 make edit visual totally dynamic
--meaning that edit Visual can contain more
elements than just the usual ones and as such
we can now add a "Rearrangement" option to make
things easier to switch between live/static editing
2019-03-06 20:19:17 +02:00
Michail Vourlakos
71bb4ca921 introduce new editAppletsMode
--in this mode all aplets can be adjusted and
repositioned properly
2019-03-05 14:26:35 +02:00
Michail Vourlakos
b15df34cc4 livemode:enable parabolic effect for editMode
--first commit to restructure editMode in order to
support livemode under editing. Live mode means
that all options changes during editMode will be
available to be tested directly
2019-03-04 19:42:01 +02:00
Michail Vourlakos
cec96aaf19 fix !compositing masking for views 2019-03-04 19:35:41 +02:00
Alexander Potashev
423f4b8bc9 i18n: Do not refer to parent directory from Messages.sh
Summary:
This will make file references in .po/.pot files clearer for
translators.

Test Plan: none

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19274
2019-02-24 22:17:42 +03:00
Michail Vourlakos
9bdd58ee3f restore Show Timer behavior for KWin Edges 2019-02-24 19:09:48 +02:00
Michail Vourlakos
5a0948591e create latte dir if missing when loading presets
--this is critical because it does not open Latte at
first run. The fix is just to make sure that "latte"
directory will be created in case there isnt already

BUG: 404762
2019-02-24 13:12:00 +02:00
Michail Vourlakos
35c9550963 make sure maximized window is touching the view
--Disable the hack for kwin effects because it has many
false results. e.g. when a window is maximized and
Latte or Plasma are showing their View settings
2019-02-24 08:51:21 +02:00
Michail Vourlakos
903988ff71 identify correctly touching flags with kwin effects
-- KWin Effects such as ShowDesktop have no way to be identified and as such
create issues with identifying properly touching and maximized windows. BUT when
they are enabled then NO ACTIVE window is found. This is a way to identify these
effects trigerring and disable the touch flags.

BUG: 404483
2019-02-23 22:50:23 +02:00
Michail Vourlakos
f040cc8828 plenty improvements for touching/active state flags
--fixes and improvements to identify windows that are
touching or are active and how all of them are used
in order to color properly the view
2019-02-23 21:19:59 +02:00
Michail Vourlakos
17c602347b use touching windows scheme at all cases
BUG: 404745
2019-02-23 20:51:24 +02:00
Michail Vourlakos
8a0c0740b3 improve how default scheme file is identified
--add also some improvements for color schemes

BUG: 404668
2019-02-22 16:43:31 +02:00
Michail Vourlakos
362d50a1fd support wallpaper slideshows 2019-02-19 17:44:40 +02:00
l10n daemon script
bd688bd2dc GIT_SILENT made messages (after extraction) 2019-02-18 02:48:06 +01:00
Michail Vourlakos
dd4ae1865b improvements for color schemes under wayland 2019-02-16 13:16:17 +02:00
Michail Vourlakos
507e7ffde8 expose existsActiveWindow from windowstracker 2019-02-16 11:38:11 +02:00
Michail Vourlakos
d2ea33e236 sniff latte view id through contextData
--the menu is sending the containment id to
Latte::Corona and afterwards calls for the menu
data. These data now are including also the view
type, memory usage, active layout name and of
course the full layouts list shown to menu.
This is improvement from D18918.
2019-02-12 21:21:11 +02:00
Michail Vourlakos
a375902442 support to send the viewType through dbus 2019-02-12 20:53:14 +02:00
Michail Vourlakos
7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926
2019-02-11 19:45:05 +02:00
Michail Vourlakos
14afda3dc1 under wayland recognize plasma shell better
--the plasma desktop is now identified as the
org.kde.plasmashell window that has the size
of a QScreen->geometry()
2019-02-11 19:40:24 +02:00
Michail Vourlakos
68805c4a98 ignore latte windows from wm tracking 2019-02-11 18:40:13 +02:00
Michail Vourlakos
c8b58d5acf x11:ignore latte related window from tracking 2019-02-10 11:38:55 +02:00
Michail Vourlakos
20b76a182c add/enable option for MetaPressAndHold action
--user can now enable/disable the Meta pressAndHold
behavior that shows shortcuts badges. The new option
is located at Latte preferences.

BUG: 403840
2019-02-10 02:39:09 +02:00