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

1912 Commits

Author SHA1 Message Date
Michail Vourlakos
ec949948b6 fix View recraetion and frameExtents freezes
--View recreation path was broken from new implementation
for Latte::Interfaces that pass objects to containment
interface. This is now fixed and Interfaces::View object is updated
and broadcasted correctly when changed
--when GtkFrameExtents are zeroed for behaveAsPlasmaPanels
then it is better to recreate the view to avoid freezes and
hidings of the view because of compositor strange behavior
2020-05-12 14:45:31 +03:00
Michail Vourlakos
b6183c526c update frameExtents at View::forcedWorkaroundShown 2020-05-12 10:30:05 +03:00
Michail Vourlakos
a91f6a8a8e make Effects updateEffect(),GtkFrameExtents aware 2020-05-12 03:10:17 +03:00
Michail Vourlakos
e16ca1f87b release indicator config ui when window closes 2020-05-12 02:38:01 +03:00
Michail Vourlakos
381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
2020-05-12 02:16:08 +03:00
Michail Vourlakos
e83f7e551e redraw panel shadows after !visible workarounds
--use a single slot when View triggers its workarounds
for the kwin issue that kwin hides panels when an activity
stops. In such case the view shadows are also redrawn.
2020-05-11 23:04:44 +03:00
Michail Vourlakos
7f2dc14880 fix Blur calculations during workaround
--there are cases that the Blurred area svg returns
a NULL mask() even though it should not. In such
cases the workaround takes place and for the workaround
the calculations have already taken place and we
do not need to reapply them because in that case
the blurred area moves out of the window.
2020-05-11 20:59:05 +03:00
Michail Vourlakos
114828ad88 reduce GtkFrameExtents calls/triggers 2020-05-11 18:08:55 +03:00
Michail Vourlakos
3e17f718ee dont block hiding for #debugwindow#(s) 2020-05-11 17:44:30 +03:00
Michail Vourlakos
8b32be15b9 support GtkFrameExtents under X11
--this way to dock windows can now snap beautifully
with windows around them, very beautiful behavior!
That was pretty annoying in the past.
2020-05-11 17:31:51 +03:00
Michail Vourlakos
383e365f82 update availableScreenRegionWithCriteria
--the new implementation is much simpler and takes into
account all alignment types and view dock/panel modes
2020-05-11 11:27:22 +03:00
Michail Vourlakos
4501c940f1 fix hide screen gap animation for behaveAsPanels 2020-05-10 21:25:29 +03:00
Michail Vourlakos
dd4e4fb79d rename all Background.MultiLayer values
--much better and understandable names are now used
2020-05-10 20:27:35 +03:00
Michail Vourlakos
1e144fc3e7 solution for Unity style layouts top view shadow
--when a vertical view that acts as a unity-style one
is activated, it sends a signal to top view to update
their visibility in order to stay on top
2020-05-10 20:27:35 +03:00
Michail Vourlakos
5113674f18 color warning messages to not take attention 2020-05-10 20:27:35 +03:00
Michail Vourlakos
78dfd9bd6b fix debug output and take full control
--dont print warnings from qt 5.14 bindings
--provide a filter debug text property
--colorize a bit the debug output
2020-05-10 20:27:35 +03:00
l10n daemon script
51a302de63 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"
2020-05-09 06:29:25 +02:00
Michail Vourlakos
1e48d053f7 fix crash when switching layouts
-- the faulter was containmentinterface that was
calling containment()->applets() during view
destroying phase
2020-05-08 10:16:26 +03:00
Michail Vourlakos
0bb838d90e fix triggering for contextMenuIsShown
--it should not be triggered in every view press
event but only when there is or not a context
menu any more
2020-05-06 20:48:56 +03:00
l10n daemon script
69267e493a GIT_SILENT made messages (after extraction) 2020-05-03 02:41:52 +02:00
Michail Vourlakos
b3ec491863 protect from crashes of application interfaces 2020-05-02 19:09:54 +03:00
Michail Vourlakos
b43e864e8a fix crash by releasing Interface *view properly
--when Latte::View is destroyed the Interfaces exposed
to qml should be informed also in order to not create
crashes
2020-05-02 16:04:26 +03:00
Michail Vourlakos
9be7822b98 upgrade to LatteApp.Interfaces containment access 2020-05-02 13:23:37 +03:00
Michail Vourlakos
e8c15905d6 position properly alignments for real panels
--provide calculations to position properly real
panels that use Left/Right/Top/Bottom alignments
2020-04-29 10:43:43 +03:00
Michail Vourlakos
441fbdf635 plenty of improvements to position Latte panels
--used a video demonstrating multiple panels at the
bottom edge with padding between them
--max/minLength and offset are changed to float values
--max/minLength and offset can now be adjusted with
Ctrl+Wheel over their label in Appearance tab page. Clicking
the previous mentioned label will round the values
--introduce an autoSizeEnabled value in order to block
auto size mechanism when it becomes annoying. Such issue
appears more often to Latte panels
--block MenuZ from Latte icon heuristics
2020-04-29 09:54:16 +03:00
Michail Vourlakos
97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
2020-04-27 21:21:44 +03:00
Michail Vourlakos
b509589a1c improve strings in settings layouts tab 2020-04-24 17:44:52 +03:00
Michail Vourlakos
deb9c244ff improve/support BackgroundTracker in app
--the new implementation is much improved and easy
to support. No workaround and direct use of the
libraries
2020-04-24 17:30:30 +03:00
Michail Vourlakos
63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
2020-04-24 14:52:16 +03:00
Michail Vourlakos
2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
2020-04-24 12:31:03 +03:00
Michail Vourlakos
9c57f9db4b introduce AppTypes.MouseSensitivity 2020-04-24 10:08:13 +03:00
Michail Vourlakos
9919952239 bring back Settings::inAdvancedMode
--ViewSettings::complexityLevel is not needed
any more... View::Settings will keep only two
states, Basic and Advanced mode
2020-04-23 21:57:17 +03:00
Michail Vourlakos
0a4fd31f32 support Latte::ImportExportState 2020-04-23 19:52:51 +03:00
Michail Vourlakos
552216d4d3 support Layout::BackgroundStyle 2020-04-23 19:35:26 +03:00
Michail Vourlakos
beeb1445ff remove deprecated types directory 2020-04-23 19:14:27 +03:00
Michail Vourlakos
6e4779e6ab require new official Latte library 2020-04-22 21:10:17 +03:00
Michail Vourlakos
ac3ccb5b98 try to support a public liblatte library 2020-04-22 14:09:42 +03:00
Michail Vourlakos
1ad1dd2982 fixes for globalshortcuts highest view identify
--always find the highest view that is going to be
used for global shortcuts based on position activation
--adjust the code a bit for SideBars in order to show
when a SideBar is called for global shortcuts based
on position activation and hide correctly when the
global shortcut is not triggered any more.

BUG:420356
2020-04-21 01:45:07 +03:00
Michail Vourlakos
e368d03222 fix crash from configwindow when switching layouts 2020-04-20 11:45:02 +03:00
l10n daemon script
d0bf13aa72 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"
2020-04-20 05:38:30 +02:00
Michail Vourlakos
0d0b0413bb activate appletquickitem if it is not expandable
--when the user requests to activate an applet that
it is not expandable such as DashBoard then only
thing that it is possible, it is to forcefully
activate it

BUG:420275
2020-04-19 02:24:56 +03:00
Michail Vourlakos
dbee0a81df fix typo in availableScreenRectWithCriteria 2020-04-19 00:59:15 +03:00
Michail Vourlakos
e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
2020-04-18 16:58:00 +03:00
Michail Vourlakos
5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
2020-04-18 13:39:45 +03:00
Michail Vourlakos
5fdcef81af TASKS:Migrate to multiple Tasks architecture
--First steps in order to support mulitple Tasks
applets in the same dock and panel.
--Step1: migrate values from Containment to Task
applet.
--Step2: deprecate Task applet options that are
found in containment
--Step3: provide multiple dynamic Tasks tabs in
settings
2020-04-18 13:39:41 +03:00
Michail Vourlakos
0da74fb3ce Tasks:track multiple Tasks applets
--create an infrastructure in order to be able
to adjust and configure multiple Tasks plasmoids
2020-04-18 13:39:41 +03:00
Michail Vourlakos
da2d4c2b35 DetailsWin:sort combobox layouts based on name 2020-04-16 14:10:55 +03:00
Michail Vourlakos
f4fa185246 fix details window first showing layout 2020-04-16 13:11:43 +03:00
Michail Vourlakos
5a1237fb6a first connections,Details window and Layouts Model 2020-04-15 18:25:56 +03:00
Michail Vourlakos
c067764013 add details window functionality 2020-04-15 17:34:58 +03:00