1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-15 15:24:24 +03:00

32 Commits

Author SHA1 Message Date
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
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
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
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
6bc4409b0b move settings dialogs in their own directory 2020-03-26 20:04:44 +02:00
Michail Vourlakos
0ff8f2b74f force plasmageometries updates for activitieschange 2020-03-21 12:10:19 +02:00
Michail Vourlakos
22a9416583 fixes for assigned layouts handling 2020-03-16 21:03:14 +02:00
Michail Vourlakos
ba94546cb4 multiple fixes for single layout case 2020-03-16 19:41:18 +02:00
Michail Vourlakos
748ca87bb8 simplify code for switch button-single layout 2020-03-16 18:17:17 +02:00
Michail Vourlakos
94e5a04de2 make copy layout function proxy aware 2020-03-16 12:59:50 +02:00
Michail Vourlakos
00e6fbba5b update synchronizer semantics to freeactivities 2020-03-16 11:02:17 +02:00
Michail Vourlakos
2db252b769 fix warnings 2020-03-14 14:41:07 +02:00
Michail Vourlakos
d164f06354 fix wrong mis-assignment of Shared layouts
--when an active central layout was changing
from one shared layout to another the new
shared layout was not loaded properly
2020-03-08 00:44:06 +02:00
Michail Vourlakos
ad58783ae5 dont load orphaned-central layout when shared
--the orphaned-central layout should NOT be loaded
when it has already been loaded as SHARED layout for
other CENTRAL layouts in a MULTIPLE LAYOUTS environment

BUG:417886
FIXED-IN:0.9.9
2020-02-23 10:29:26 +02:00
Michail Vourlakos
af712c6ac4 IMPORTANT:fix first run initialization
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.

BUG:417886
FIXED-IN:0.9.9
2020-02-23 10:29:26 +02:00
Tranter Madi
fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
2019-12-27 23:41:23 +07:00
Michail Vourlakos
61016444fb dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
2019-11-13 16:24:05 +02:00
Yuri Chornoivan
3a60d6f3b2 Fix minor EBN issues 2019-08-18 19:59:09 +03:00
Michail Vourlakos
cea1155685 fix Importer::standardPath behavior 2019-07-22 09:49:04 +03:00
Michail Vourlakos
a5ce2f97c6 support Importer::standardPathsFor 2019-06-17 16:29:05 +03:00
Michail Vourlakos
b71baccc14 fix screenForContainment in MulitpleShared mode 2019-06-15 21:38:07 +03:00
Michail Vourlakos
f89b110a36 drop Meta+E that is used from Dolphin 2019-05-12 17:36:15 +03:00
Michail Vourlakos
3a3823add3 Assign/Remove properly Shares from INACTIVE Centrals 2019-05-12 14:30:22 +03:00
Michail Vourlakos
a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 2019-05-11 09:51:47 +03:00
Michail Vourlakos
bea8247b84 refactor:move syncActiveShares to Synchronizer 2019-05-11 03:46:06 +03:00
Michail Vourlakos
c4b226def5 REFACTOR:Add Synchronizer for Layouts::Manager
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
2019-05-11 03:11:50 +03:00
Michail Vourlakos
8c3d658a0d refactor:move Importer to "layouts" folder 2019-05-09 17:57:12 +03:00
Michail Vourlakos
d426ecb50f refactor:launcherssignals moved to "layouts" folder 2019-05-09 17:40:53 +03:00
Michail Vourlakos
a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
2019-05-09 17:12:57 +03:00