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

2154 Commits

Author SHA1 Message Date
Michail Vourlakos
79d95371d7 fix #9,panel/dock buttons
--fix panel/dock mode buttons from configuration
windows.
2020-07-18 18:57:55 +03:00
Michail Vourlakos
e4437b7f66 abilities:introduce UserRequests 2020-07-18 17:39:34 +03:00
Michail Vourlakos
02e1e87d59 smoothen anim for hide length screen gaps 2020-07-17 17:03:14 +03:00
Michail Vourlakos
ca0e065441 improvements for calculations 2020-07-16 11:22:37 +03:00
Michail Vourlakos
ff01f266e4 fix panels positioning when sliding out 2020-07-16 11:02:08 +03:00
Michail Vourlakos
0b8fa321bc dont crash when panels change location 2020-07-16 09:44:44 +03:00
Michail Vourlakos
ea7940dffe hide length screen gaps after slide in 2020-07-15 18:53:24 +03:00
Michail Vourlakos
1698afc2e8 add missing header 2020-07-14 09:28:19 +03:00
Michail Vourlakos
ac996f1721 fixes for View:layout activities windows updates 2020-07-12 15:33:40 +03:00
Michail Vourlakos
a0a2c4b265 fix binding loops 2020-07-12 15:22:01 +03:00
Michail Vourlakos
19eb9f9ff5 fix edge margin adjustment 2020-07-12 15:02:54 +03:00
Michail Vourlakos
166ee1899a multiple fixes to PrimaryConfig geom calcs
--provide also instant layout switching when
View changes a layout between central and shared
layout in the same view port
2020-07-12 14:26:44 +03:00
Michail Vourlakos
d30143f7f1 update only when needed PrimaryCV availScreenGeom 2020-07-12 12:31:15 +03:00
Michail Vourlakos
6a4aeb16f0 fix Canvas context menu issues
--fix a crash when using left click in Canvas window
--fix blocking View when switching for editMode to
inConfigureApplets mode and vice versa
2020-07-11 20:57:54 +03:00
Michail Vourlakos
a4445a3e9a provide context menu for Canvas config window 2020-07-11 20:26:29 +03:00
Michail Vourlakos
7084953672 wayland:fix multi-config views behavior 2020-07-11 19:00:05 +03:00
Michail Vourlakos
f7e89a6d6e update some config views wayland code 2020-07-11 18:13:47 +03:00
Michail Vourlakos
2b7d663950 wayland:fix view config windows positioning 2020-07-11 17:31:45 +03:00
Michail Vourlakos
c2df25649e update Canvas geometry when editThickness altered 2020-07-11 17:13:16 +03:00
Michail Vourlakos
673882f966 provide live editing for !compositing 2020-07-11 11:02:40 +03:00
Michail Vourlakos
334a40fff1 improve View config windows focusOut codepath 2020-07-11 10:48:56 +03:00
Michail Vourlakos
1740c0be91 orchestrate View config windows showing properly 2020-07-11 10:26:04 +03:00
Michail Vourlakos
ba87b3b32b remove View config windows deprecated code 2020-07-11 09:54:01 +03:00
Michail Vourlakos
ed226761f9 fix crash from reloading View sources 2020-07-10 21:09:54 +03:00
Michail Vourlakos
b22a184337 improve positioning for primary/secconfigviews 2020-07-10 21:09:54 +03:00
Michail Vourlakos
2b06debfa4 draw Canvas on top of surrounding panels docks 2020-07-10 21:09:54 +03:00
Michail Vourlakos
a51eb8578e support most of CanvasConfigView functionality
--move the relevant qml files from containment into
shell configuration files
2020-07-10 21:09:54 +03:00
Michail Vourlakos
e74e013f43 provide CanvasGeometry from View::Positioner
--View::Positioner is now responsible to provide
the proper Canvas config window geometry
2020-07-10 21:09:54 +03:00
Michail Vourlakos
fa83db7825 provide consistent Canvas SubConfigWindow behavior
--CanvasSubConfigWindow is now ready to provide the
same Header editing controls and behavior that previous
implementation was already doing so
2020-07-10 21:09:54 +03:00
Michail Vourlakos
b5df821eb2 introduce new Canvas subconfig view window 2020-07-10 21:09:54 +03:00
Michail Vourlakos
e720f1a3c0 fix #16,comparison for keyboard key
--fix double typo by previous mistake in order for
both Super keys to be evaluated as Super_L
2020-07-10 21:07:39 +03:00
Michail Vourlakos
bf2c7ebbd9 expose Colorizer to itw own View c++ class 2020-07-07 18:33:41 +03:00
Michail Vourlakos
7fd56aebfb compute editThickness in View c++ level 2020-07-07 18:20:47 +03:00
Michail Vourlakos
37248789f6 improvements to view config windows abstraction 2020-07-06 14:35:03 +03:00
Michail Vourlakos
5cba3c3259 upgrade PrimaryConfigView at SubConfigView base 2020-07-06 09:03:42 +03:00
Michail Vourlakos
7aee0fbca1 upgrade secconfigview to subconfigview class 2020-07-06 01:34:11 +03:00
Michail Vourlakos
622acc27b9 introduce View:SubConfig base view 2020-07-05 18:26:03 +03:00
Michail Vourlakos
5d4da93b68 from Latte trademark properly
--use the original Latte trademark at all
times in Primary config view setttings. In
the past there were icon themes that was
changing Latte icon to something alientic
and that approach was breaking the Latte
trademark visual appearance.
2020-07-04 18:44:51 +03:00
Michail Vourlakos
03dca23ce6 improve semantics for primary config view 2020-07-04 16:06:32 +03:00
Michail Vourlakos
91449e06f0 remove option delete hidden config windows
--it is not needed any more because config windows
are now using a singleton design in order to be
created only one time.

BUG:423268
2020-07-04 15:58:10 +03:00
Michail Vourlakos
6652cb9a15 update indicators to primary config singleton 2020-07-04 15:31:53 +03:00
Michail Vourlakos
fcde318d7a hide view config windows in layout switching 2020-07-04 15:21:45 +03:00
Michail Vourlakos
7906c8788a update primary config window to isReady 2020-07-04 15:14:56 +03:00
Michail Vourlakos
ca87504535 fix crash 2020-07-04 14:50:32 +03:00
Michail Vourlakos
038b649804 delete PrimConfigView only on app exit 2020-07-04 14:44:27 +03:00
Michail Vourlakos
e6ab9385d8 fix crash when destoying config window 2020-07-03 18:28:30 +03:00
Michail Vourlakos
dea32cb37a update SecConfigView to new design
--SecConfigView is created only once and
use afterwards for all Views
2020-07-03 18:17:30 +03:00
Michail Vourlakos
75d14b4af8 apply activities to config windows when shown 2020-07-03 14:24:43 +03:00
Michail Vourlakos
d01d1f60a4 use primary config single instance for all views 2020-07-03 14:24:43 +03:00
Michail Vourlakos
5c22b8f8ed update View:: config views creators 2020-07-03 14:24:43 +03:00
Michail Vourlakos
6c2dcfbab8 drop Plasma::ConfigView for View primary window
--this is a step forward in order for all Views to
use the same Config Windows which is more memory
efficient.
2020-07-03 14:24:43 +03:00
Michail Vourlakos
e1c38213b9 introduce viewsettingsfactory
--is going to be responsible to hold only
one instance of view config windows
2020-07-03 14:24:43 +03:00
Michail Vourlakos
a90bf4b75b update Apply for meta option in Preferences 2020-07-03 14:23:47 +03:00
Michail Vourlakos
5bd1fe955d dont initialize global launchers group from config 2020-06-27 17:14:43 +03:00
l10n daemon script
16ccd123dd 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-06-25 05:50:13 +02:00
l10n daemon script
e7f398edfe GIT_SILENT made messages (after extraction) 2020-06-25 02:16:08 +02:00
l10n daemon script
300b8025f1 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-06-24 05:57:37 +02:00
l10n daemon script
83a5543005 GIT_SILENT made messages (after extraction) 2020-06-24 02:15:55 +02:00
l10n daemon script
d953d7bf98 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-06-18 05:45:10 +02:00
l10n daemon script
f419b20e47 GIT_SILENT made messages (after extraction) 2020-06-18 02:25:26 +02:00
l10n daemon script
c5072f98de 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-06-17 14:12:38 +02:00
l10n daemon script
456746b16d GIT_SILENT made messages (after extraction) 2020-06-17 11:38:28 +02:00
Michail Vourlakos
2236fb331d blacklist more qt 5.15 debug messages
--qt 5.15 keeps the non sense for continuously informing
the user for qt 6.0 changes. Problem is that as long an
application supports qt < 5.14 these deprecated functions
can not be fixed yet.
2020-06-12 21:01:03 +03:00
Michail Vourlakos
0c577d68da fix active window maximized in wm tracking
--consider also the maximized window is touching
view edge case
2020-06-09 10:21:15 +03:00
l10n daemon script
a1904bf849 GIT_SILENT made messages (after extraction) 2020-06-02 02:11:14 +02:00
Michail Vourlakos
c7f530fb7a block deleting Layout with Del in Editor 2020-05-27 12:03:20 +03:00
Michail Vourlakos
e6e68d86c3 update FrameExtends for View::typeChanged
--during startup a panel type may become a dock type
and vice versa. We make sure that frameExtents
are updated accordingly when that happens.
2020-05-26 16:41:53 +03:00
Michail Vourlakos
edb943db6b fixes for spacers and positioning of behaveAsPanel
--fix positioning for Right/Bottom alignments when
View behavesAsPlasmaPanel
2020-05-25 21:31:01 +03:00
Michail Vourlakos
84a5eecf79 update struts in Single layout mode earlier 2020-05-23 20:04:37 +03:00
Michail Vourlakos
631837e199 Tasks fixes for disableAllWindowsFunctionality 2020-05-23 13:47:51 +03:00
Michail Vourlakos
fa4ffbf521 use PositionShortuts Ability for activate/new 2020-05-22 19:11:10 +03:00
Michail Vourlakos
dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
2020-05-22 14:09:29 +03:00
Michail Vourlakos
f32937ca6d first commit for multi on position shortcuts 2020-05-20 19:07:40 +03:00
Michail Vourlakos
cb368c504d drop old Tasks identification code paths 2020-05-18 20:02:30 +03:00
Michail Vourlakos
3cadc32fc4 improvements for Tasks applets usage 2020-05-18 19:17:11 +03:00
Michail Vourlakos
2fae4a87ba ContainmentInt is now resposible for all Tasks 2020-05-18 19:14:35 +03:00
Michail Vourlakos
99db4d54f2 support plasma tasks model for tracking 2020-05-18 19:04:02 +03:00
Michail Vourlakos
76781094af rename ExtInterface::model to LatteTasksModel 2020-05-18 18:45:12 +03:00
Michail Vourlakos
fe4704e355 block par.effect for applet popups 2020-05-18 16:06:46 +03:00
Michail Vourlakos
b264854a98 Dodge visibility mode now ignores edge touches
--The new implementation for snapping needed to remove
the touching view edge from touching algorithm. The
windows trakers now provide two separate values for each
touching.
----First value is for regular window touches for which
their window geometry intersects with view published
absoluteGeometry
----Second value is for windows that are touching
view edge without intersecting with view geometry
2020-05-17 11:42:09 +03:00
Michail Vourlakos
b4de1e3cad update Positioner::syncGeometry in specific case
--when a behaveAsPlasmaPanel is sliding-in and View
is in editMode, it is a good idea to calle
Positioner::syncGeometry() in order to validate
the View window geometry in edit mode. The problematic
case example was a right SideBar Panel that when
was hidden and the user was using Meta+A to
show its settings, the View did not change its
geometry properly in the end.
2020-05-16 23:19:21 +03:00
Michail Vourlakos
236dd2c3b9 update frameExtents for View::locationChanged 2020-05-16 21:51:16 +03:00
Michail Vourlakos
6f3367225d new Effects API for config windows subtract region 2020-05-16 21:37:50 +03:00
Michail Vourlakos
741eedfc3c improve Primary Config view syncGeometry
--fix also a crash when updateInlineProperties
was called
2020-05-16 19:31:40 +03:00
Michail Vourlakos
614bb7014f new Effects API for mask United/Subtracted regions
--View::Effects now provides in API in order for
elements to publish regions that need to be added
or removed from View::mask(). A good example for this
is View Config windows that must remove a rectangle
for their bottom edge in order for users to have
fully access to their action buttons at the bottom.
2020-05-16 19:17:35 +03:00
Michail Vourlakos
54ea58c215 remove deprecated Effects subtracted implementatio 2020-05-16 18:58:29 +03:00
Michail Vourlakos
46760a04de cycle properly config views with Meta+A 2020-05-16 17:06:19 +03:00
Michail Vourlakos
d6fc66a7a3 user option for hiddenConfigWindowsAreDeleted
--when hidden configuration windows are deleted memory
consumption is improved and provides much lower values
--when hidden configuration windows are not deleted
memory consumption increases but their responsiveness
for hiding/showing is instantly
2020-05-16 10:02:23 +03:00
Michail Vourlakos
1dcf799d42 a way to not delete hidden config windows 2020-05-15 13:06:53 +03:00
Michail Vourlakos
66f8cce6d9 introduce Layouter Debug mode
--really handy and beautiful in order to confirm the
calculations that are valid. Already a bug was found
for ParabolicEffect. There is 1px difference between
hovering Tasks and Applets
2020-05-12 17:08:09 +03:00
Michail Vourlakos
afb4279e09 fix View::Settings::updateEffects() area
--update effects area should be consistent with
settings dialog backgroud. Currently that has
changed to more apporpriate "dialogs/background"
2020-05-12 15:04:46 +03:00
Michail Vourlakos
3ad89c10a4 fix crash from indicator config ui creation 2020-05-12 14:59:16 +03:00
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
Michail Vourlakos
c8c0871754 fix crash for Esc in Settings window 2020-04-15 16:49:07 +03:00
Michail Vourlakos
bde33f98a9 remove blockHidingEvent on SideBar startup 2020-04-15 16:47:15 +03:00
Michail Vourlakos
a1b8e4518a update details window info when changing layouts 2020-04-15 13:55:50 +03:00
Michail Vourlakos
b296437288 do not reload views for default indicators
--when default indicators are reinstalled then
views do not have to be reload its sources. The user
is expected in such cases to restart Latte. At the
same time installing Latte multiple times does not
create too many views recreations with no real
reason
2020-04-15 12:50:36 +03:00
Michail Vourlakos
92f1b1fe30 details window improvements 2020-04-15 12:42:52 +03:00
Michail Vourlakos
0e7420037e settings:same infrastructure for information
--add GenericDialog class in order to provide
same implementation for all settings::dialogs.
As a first step GenericDialog provides a common
showInlineMessage api
2020-04-14 21:47:52 +03:00
Michail Vourlakos
3447e44f25 details:background shadow fixes 2020-04-14 17:38:53 +03:00
Michail Vourlakos
14e739b395 details:provided layout backgrounds 2020-04-14 16:33:55 +03:00
Michail Vourlakos
423df425ee improve detail items alignment 2020-04-14 12:23:05 +03:00
Michail Vourlakos
cbc5ff5d40 introduce details dialog ui 2020-04-13 23:56:56 +03:00
Michail Vourlakos
f9c024095c ignore View real panel movements for desktop space
--when real panel views are slided out either for auto
hiding, dodge case or dynamically removing their screen
margin the desktop available space should not be
changed; it should stay the same.
2020-04-12 13:41:49 +03:00
Michail Vourlakos
1af553fa13 improve applets context menu placement 2020-04-11 18:31:36 +03:00
l10n daemon script
92f717dc06 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-11 05:44:58 +02:00
Michail Vourlakos
72ebfe1aae improve contextmenu placement for containments 2020-04-11 00:41:29 +03:00
Michail Vourlakos
87b5dff9b5 dont switch layout with Enter in settings 2020-04-11 00:21:19 +03:00
Michail Vourlakos
8b41314b2f enable scrolling activation only for expandable
--systrays/internal containments are blocked from
this
2020-04-10 12:31:31 +03:00
Michail Vourlakos
6fafa83b15 improve applets context menu placement 2020-04-08 20:49:14 +03:00
Michail Vourlakos
0046c904d1 View:Move expanded applets code to View::Interface 2020-04-08 15:22:38 +03:00
Michail Vourlakos
fa65462dea move View::deactivateApplets to extendedInterface 2020-04-08 14:39:12 +03:00
Michail Vourlakos
50c136b56f provide View::ExtendedInterface to qml parts 2020-04-08 14:34:05 +03:00
Michail Vourlakos
ce245ab253 ignore some windows in LastActiveWindow
--LastActiveWindow is providing information to
applets thus special windows that contain
the following flags:
skipTaskBar AND (skipPager OR skipSwitcher)
these windows can be totally ignored.
In such window case the LastActiveWindow used
are provided.

BUG:419384
2020-04-07 13:00:45 +03:00
Michail Vourlakos
f90e86fa88 introduce hasSkipPager/Switcher for window infos 2020-04-07 12:51:44 +03:00
Michail Vourlakos
1f92045873 update windowinfowrap code style
--make its code style like the one
used in other data classes
2020-04-07 12:44:08 +03:00
Michail Vourlakos
c333e11cdb update applets expanded tracking on every startup
--even when the views is recreated
2020-04-05 21:06:13 +03:00
Michail Vourlakos
4defd31669 fix compatibility with frameworks 5.38
--FrameSvgItem::mask() was introduced after
frameworks 5.58. Restore a bit the old
implementation

FIXED-IN:0.9.11
BUG:419678
2020-04-05 18:48:42 +03:00
Michail Vourlakos
f63a467b1e improvements for applet isExpanded tracking 2020-04-05 18:04:10 +03:00
Michail Vourlakos
8c3ed88a2f disable some debug messages 2020-04-05 17:02:20 +03:00
Michail Vourlakos
1adcbdb863 improve identify applets expanded state 2020-04-05 17:01:10 +03:00
Michail Vourlakos
aa3aba50d9 make blockHiding multiple state
--blockHiding now tracks down which event has
requested it and it can work flawlessly with
multiple events

BUG:419034
2020-04-05 14:59:26 +03:00
Michail Vourlakos
778dcc3e5a fix 5.38 compatibility for wayland case 2020-04-05 10:42:00 +03:00
Michail Vourlakos
688a45289a make SHARETOINEDITROLE proxy model capable 2020-03-31 13:24:59 +03:00
l10n daemon script
a8cd465917 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-03-27 06:17:53 +01:00
Michail Vourlakos
b4847e1a79 choose which layouts must be saved in settings
--through the Layouts model we know which layouts
have been saved and which of them do not need to
be touched because they do not have any changes
2020-03-26 22:31:27 +02:00
Michail Vourlakos
e4670dace2 new implementation to update layout ids in settings 2020-03-26 22:16:41 +02:00
Michail Vourlakos
6bc4409b0b move settings dialogs in their own directory 2020-03-26 20:04:44 +02:00
Michail Vourlakos
ef2650e711 systray,support context menus for SNI items
--SNI items are handling the context menu by their
own, so Latte code should not interfere

BUG:419263
FIXED-IN:0.9.11
2020-03-26 14:40:00 +02:00
Michail Vourlakos
0d29114664 whitelist krunner and yakuake windows 2020-03-26 14:16:04 +02:00
Michail Vourlakos
1e9785dc0b introduce details button in settings window 2020-03-26 14:04:49 +02:00
Michail Vourlakos
41f945d4e1 move layout icons handling in the model
--this way it will be easier the layout icons
list to be used by other widgets also
2020-03-26 11:36:09 +02:00
l10n daemon script
6dac4e4065 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-03-26 06:12:03 +01:00
Michail Vourlakos
4d3b5e86e8 major refrest for wm(s), remove consts
--introduce also windows whitelist that can
be used in order to force tracking in some
windows
2020-03-25 18:40:48 +02:00
Michail Vourlakos
a651d9f731 wayland:ignore all popups 2020-03-25 15:03:19 +02:00
Michail Vourlakos
efaaf70297 x11: do not track popups at all cases 2020-03-25 14:50:01 +02:00
Michail Vourlakos
6ab4c61d5a protect layout toggle sharing
--do not assign a share will it is already used
from other layout
2020-03-25 13:32:32 +02:00
Michail Vourlakos
15fd0f1059 sort layouts model based on groups 2020-03-25 13:22:29 +02:00
Michail Vourlakos
72fdf4563b improve AbstractLayout background infrastructure
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
2020-03-25 01:30:30 +02:00
Michail Vourlakos
a613bb49ba small improvements 2020-03-24 20:29:10 +02:00
Michail Vourlakos
90d1cedc1e fix context menu for applet if group plasmoid
--the new code can understand ALL applets that are
inside an internal containment style applets such
as plasma, nomad systrays and group plasmoid

FIXED-IN:0.9.10
2020-03-24 20:08:27 +02:00
Michail Vourlakos
705e3d2d1e notforce reshow view when really removing from user
--the workaround to reshow views when the activities are
pausing from the kwin_x11 bug interfer with user REMOVING
a dock or panel. We now protect the workaround to not
interfere with REALREMOVING
2020-03-24 16:10:12 +02:00
Michail Vourlakos
25cfd25477 fix plasma geometries publish in multi-screen
--when a screen becomes inactive then its last values
for available rect and reqions should also be removed
from the recorded values.
2020-03-24 15:59:36 +02:00
Michail Vourlakos
e951aa67b2 protect updating LastActiveWindow appData
--LastActiveWindow application data should be updated
only when the last active window id is equal with
the sent application data. Otherwise we may show
Application name and icon for totally irrelevant
window.

Bug was first reported at:
https://github.com/psifidotos/applet-window-title/issues/89/

FIXED-IN:0.9.10
2020-03-24 15:23:33 +02:00
Michail Vourlakos
5bdb8a683d update sorting in layouts model
--the new priorities take into account
the layout name to be ordered as a last
criteria
2020-03-23 19:10:26 +02:00
Michail Vourlakos
4832042b0f add message for dropping layout files 2020-03-23 00:40:57 +02:00
Michail Vourlakos
2e79a5df30 mv layouts headerview to settings/views folder 2020-03-22 22:38:57 +02:00
Michail Vourlakos
100e3d4884 update knsrc installation path
--since kde frameworks >= 57 there is a specified path
for which knsrc files should be present
2020-03-22 18:39:36 +02:00
Michail Vourlakos
df635fb88b improve Layouts sorting behavior 2020-03-22 17:52:22 +02:00
Michail Vourlakos
38f7df72fb get userfeedback for saving and switching tabs 2020-03-22 17:28:36 +02:00
Michail Vourlakos
f51126eae2 prevent switch tabs when there are unsaved changes 2020-03-22 16:04:05 +02:00