1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-28 09:57:29 +03:00

96 Commits

Author SHA1 Message Date
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
03b469eff5 IMPORTANT: Update multi-screen codepage!!!
--after v0.8 release many issues with multi-architecture
were identified. An alternative approach was needed
in order for Latte to get a more user-predictable state.
In new approach:
--onPrimary docks have always higher value
and should be shown, this is also like how plasma is
moving its panels.
--explicit docks are removed if their edge in their screen
is occupied by an onPrimary dock
--be stupid smart in order to check if docks contain
tasks and try to not remove them based on screen-changes
is removed! Over-Complicated code that doesnt help
in maintainability...

one of the issues was reported at following bug report...

BUG: 396806
2018-07-24 22:25:19 +03:00
Michail Vourlakos
6708510213 support a meta badge visual from global shortcuts
--when an application launcher exists, Latte can show
a "Meta" badge for that applet instead of the global
shortcut action number. With this patch we take also
into account when the assigned application launcher is
in different dock/panel and show it accordingly

BUG: 396753
2018-07-23 17:00:58 +03:00
Michail Vourlakos
a85555f52c FIX creating and copying docks
--there were cases that during creating
or copying docks the applets ids were
created inconsistent by creating applets
with ids already reserved. This patch
fixes this by using the applet ids found
in the layout file and not the one loaded
in memory.
2018-07-11 20:39:42 +03:00
Michail Vourlakos
568ccd6e26 localization strings improvements 2018-05-23 14:57:27 +03:00
Michail Vourlakos
75ab4e9cf0 fix #980,update layouts permissions after importing
--in some systems that layouts are readonly when
copied to user "latte" directory were still
read-only. We are fixing these permissions with
this patch.
2018-04-14 21:12:32 +03:00
Michail Vourlakos
616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
2018-03-28 14:30:50 +03:00
Michail Vourlakos
f257512a44 increase the layoutSwitching timer
--in order to give time for the slide-out event
to play correctly
2018-03-26 22:04:15 +03:00
Michail Vourlakos
eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
2018-03-26 20:55:09 +03:00
Michail Vourlakos
b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
2018-03-07 17:54:53 +02:00
Michail Vourlakos
32c4ef1d5b Myltiple:improve Activities switching
--improve Activities switching and activation
for orphaned layouts (that is layouts that do
not belong in any specific Activity)
2018-02-22 18:30:28 +02:00
Michail Vourlakos
7954ce5d52 update Activites correctly for orphaned layouts 2018-02-19 17:46:50 +02:00
Michail Vourlakos
3bddb99881 remove ghost containments on loading
--ghost containments such as when a user
deletes a dock without notification confirmation
can be removed afterwards when that layout is
loading either at Single or Multiple mode.
2018-02-08 17:49:27 +02:00
Michail Vourlakos
028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
2018-02-06 23:14:44 +02:00
Michail Vourlakos
dfdf07404c dont show info window when no adding layout
--and the user hasnt chosen it
2018-02-06 00:32:50 +02:00
Michail Vourlakos
43cc5da6fa complete containmentactions support
--this way the Layouts menu in now accesible
even from plasma taskmanagers. The codebase is also
the same for every component that is showing its
menus.
2018-02-04 02:43:30 +02:00
Michail Vourlakos
82e77f7b23 more improvements to containmentactions 2018-02-03 21:56:05 +02:00
Michail Vourlakos
474c7a3970 slide-out docks on closing 2018-02-03 15:44:37 +02:00
Michail Vourlakos
afe9a2e09d rename latteconfigdialog to settingsdialog 2018-02-03 13:35:58 +02:00
Michail Vourlakos
e4153271ef fix dependencies and references 2018-02-03 13:10:43 +02:00
Michail Vourlakos
acb77c6cd4 update header files and move files around 2018-02-03 11:37:09 +02:00
Michail Vourlakos
7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
2018-01-31 15:27:58 +02:00
Michail Vourlakos
8aad360916 add lastUsedActivity in the layout file
--lastUsedActivity is also used when we are opening
an assigned0-activities layout in order to choose in which
activity to swith on starting.
2018-01-30 14:33:00 +02:00
Michail Vourlakos
2327965c24 support pausing activities from main config window 2018-01-29 23:32:32 +02:00
Michail Vourlakos
e3b398bee7 dont close config window when an activity closes 2018-01-29 22:38:30 +02:00
Michail Vourlakos
4212d57ca7 enable global shortcuts for universal settings 2018-01-27 02:52:31 +02:00
Michail Vourlakos
22ef2280d2 enable universal settings in Latte Settings Window 2018-01-27 02:05:33 +02:00
Michail Vourlakos
7b3892de7f update latteconfig to use corona 2018-01-27 01:27:48 +02:00
Michail Vourlakos
1ab273753e add menu/about in Latte Settings window 2018-01-26 19:50:28 +02:00
Michail Vourlakos
8fb12bdbcf improvements to new Latte config window 2018-01-26 18:40:25 +02:00
Michail Vourlakos
be0f9dc0ba remember the last used activity per layout 2018-01-21 13:52:33 +02:00
Michail Vourlakos
5c98015e8e fix #808,Multiple Layouts in Layouts Editor
-- the user is able to change from Multiple Layouts
to Single Layout runtime through Layouts Editor
2018-01-17 20:22:50 +02:00
Michail Vourlakos
e4cd47ca3e MultipleLayouts:update Layouts menu 2018-01-17 16:45:29 +02:00
Michail Vourlakos
60cc89d595 MultipleLayouts:restore isSwitching signal
--this creates a nice animation when switching
layouts for orphaned Activities at a Multiple
Layouts state
2018-01-16 21:05:09 +02:00
Yuri Chornoivan
de5bc5eb91 Fix minor typos 2018-01-16 09:07:27 +02:00
Michail Vourlakos
308d99e215 MultipleLayouts:Rename layout name runtime
--In MultipleLayouts we dont need to close the
active layout to rename it. We can do it without
need to close it and reopen that layout.
2018-01-15 23:04:03 +02:00
Michail Vourlakos
1e97609067 MultipleLayouts:support Export 2018-01-15 20:16:11 +02:00
Michail Vourlakos
a905138810 MultipleLayouts:support Remove,Menus,Copy 2018-01-15 20:04:05 +02:00
Michail Vourlakos
fa379144e9 fix Switch behavior for Multiple Layouts 2018-01-15 19:44:00 +02:00
Michail Vourlakos
94914ee578 warning message for broken MultipleLayouts startup
--if the app crashed and the user trys to reopen Latte
then the Containments must first return to their Original
Layouts. This code provides that and informs also the user
during the startup.
2018-01-15 14:09:41 +02:00
Michail Vourlakos
333afc75bc improve currentLayoutName for Multiple Layouts
--improve layout manager header appearance
2018-01-15 10:17:56 +02:00
Michail Vourlakos
a37036b6eb support Activities setting for InfoView 2018-01-15 00:29:11 +02:00
Michail Vourlakos
3cf6d8ef9d multiple fixes for Multiple Layouts 2018-01-14 23:58:48 +02:00
Michail Vourlakos
dc4a223f27 fix currentActivitiId issues on startup 2018-01-14 23:58:48 +02:00
Michail Vourlakos
667a451499 Multiple Layouts:Fixes for storage synchronization
--fix also a crash when removing a dock
2018-01-14 23:58:48 +02:00
Michail Vourlakos
7dd6345d4a MultipleLayouts:Load/Unload on Activities changes
--workaround an upstream issue, when closing an Activity
all dock/panel windows in MultipleLayouts where become
hidden.
2018-01-14 23:58:48 +02:00
Michail Vourlakos
132410d848 MultipleLayouts availableScreenRegion
--it is used to position correctly the separate dock/panels
in different activities
2018-01-14 23:58:48 +02:00
Michail Vourlakos
19cd67627d more improvements for MultipleLayouts case
--fix the strut setting between multiple running
layouts. When the activity is changing then each dock/panel
removes or adds its struts accordingly
2018-01-14 23:58:48 +02:00
Michail Vourlakos
4280c14acd many improvements for MultipleLayouts case 2018-01-14 23:58:48 +02:00
Michail Vourlakos
7d4989e983 add code for MultipleLayouts and Activities
--prepare dockViews and rest classes in order to
be able to change between different Activities in
a MultipleLayouts environment.
2018-01-14 23:58:48 +02:00