Commit Graph

33 Commits (6de05c92e876e74186911e88508282a9a81d238e)

Author SHA1 Message Date
Michail Vourlakos ac996f1721 fixes for View:layout activities windows updates
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
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.
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
Michail Vourlakos 6e4779e6ab require new official Latte library
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library
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
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
Michail Vourlakos 6bc4409b0b move settings dialogs in their own directory
Michail Vourlakos 0ff8f2b74f force plasmageometries updates for activitieschange
Michail Vourlakos 22a9416583 fixes for assigned layouts handling
Michail Vourlakos ba94546cb4 multiple fixes for single layout case
Michail Vourlakos 748ca87bb8 simplify code for switch button-single layout
Michail Vourlakos 94e5a04de2 make copy layout function proxy aware
Michail Vourlakos 00e6fbba5b update synchronizer semantics to freeactivities
Michail Vourlakos 2db252b769 fix warnings
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
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
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
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
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
Yuri Chornoivan 3a60d6f3b2 Fix minor EBN issues
Michail Vourlakos cea1155685 fix Importer::standardPath behavior
Michail Vourlakos a5ce2f97c6 support Importer::standardPathsFor
Michail Vourlakos b71baccc14 fix screenForContainment in MulitpleShared mode
Michail Vourlakos f89b110a36 drop Meta+E that is used from Dolphin
Michail Vourlakos 3a3823add3 Assign/Remove properly Shares from INACTIVE Centrals
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER
Michail Vourlakos bea8247b84 refactor:move syncActiveShares to Synchronizer
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
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder
Michail Vourlakos d426ecb50f refactor:launcherssignals moved to "layouts" folder
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes