Commit Graph

172 Commits (4f93251d8c635c6150483ecb321eb276f34d4280)

Author SHA1 Message Date
Michail Vourlakos 13708ddf4a support singleModeLayoutName property in settings
--single mode has now its own unique property to hold
the layout to be used in single mode
4 years ago
Michail Vourlakos bc87d53e83 updates for layouts model single mode 4 years ago
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer 4 years ago
Michail Vourlakos a9774ff13f update Switch button in Layouts table 4 years ago
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure 4 years ago
Michail Vourlakos 527f865eda fix last config view tracking for multiple layouts 4 years ago
Michail Vourlakos 3689cc406d retrieve available screen space through activityid 4 years ago
Michail Vourlakos 9026f931fd fixes for corona available areas calcs 4 years ago
Michail Vourlakos 951668fff9 single informative window for activating layouts 4 years ago
Michail Vourlakos 2e120f9446 make Multiple mode work correctly 4 years ago
Michail Vourlakos caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
4 years ago
Michail Vourlakos dd46c79475 storage:expose applet plugins information 5 years ago
Michail Vourlakos 7a3d68ed61 sort layouts based on their names
--when layouts are presented to the user it is preferred
to be perfectly sorted based on their names
5 years ago
Michail Vourlakos 8b836da44e genericlayout:improve semantics for id references 5 years ago
Michail Vourlakos ac2a4cffc6 support different subcontainments types
--create an abstract implementation for subcontainments
such as systrays and group applet in order to use
the same infrastructure for all storage operations
such as Multiple Layouts loading, copying views,
providing important information etc.

BUG:418642
5 years ago
Michail Vourlakos 46292bf7e5 layouts::storage,provide subcontainment identities
--a generic way to identify subcontainments such as
systrays, group applets etc...
5 years ago
Michail Vourlakos ab2f416176 layouts::storage,functions for subcontainments 5 years ago
Michail Vourlakos d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
5 years ago
Michail Vourlakos d3c1f4d1a8 layouts::storage,move copyView() function 5 years ago
Michail Vourlakos 53a0cb6574 layouts::storage, move syncToLayoutFile() code 5 years ago
Michail Vourlakos d97be6744d layouts::storage, move isBroken() function 5 years ago
Michail Vourlakos 9a1346d04a layouts::storage support importToCorona() 5 years ago
Michail Vourlakos 2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
5 years ago
Michail Vourlakos d97fe4c59c provide a new Layouts::Storage singleton
--this class will be the replacement for layout::storage
and will be responsible for any containment actions for
all layouts either loaded or offloaded. Through this
refactor loading and checking CentralLayouts should become
lighter and also memory efficient
5 years ago
Michail Vourlakos 5876548a7d drop deprecated importing layout presets 5 years ago
Michail Vourlakos 6dd3d96bfb update MultipleLayoutsHidden file importing 5 years ago
Michail Vourlakos 7c238589ba improve name style and layouts path references
--use Importer in order to reference layouts directory
in user space and improve also naming for relevant
Importer functions
5 years ago
Michail Vourlakos 5ed3f111e3 update Layout::MULTIPLELAYOUTSHIDDENNAME
which is used to identify multiple layouts hidden
base layout
5 years ago
Michail Vourlakos ba178e534d add missing signals when adding new layout 5 years ago
Michail Vourlakos 50c419d4e4 upgrade importDefaultLayout codepaths
--use Templates::Manger in order to import
default layout on startup
5 years ago
Michail Vourlakos 15dc6f5eac move newLayout from layoutsmanager to templates 5 years ago
Michail Vourlakos 19c96df252 update Layout::Manager::newLayout() function
--drop its presets support and update to all new
Layout Templates manager
5 years ago
Michail Vourlakos edf06edeba drop Layouts::Manager::presetsPaths 5 years ago
Michail Vourlakos 6e2d8143e5 improve Default Layout Template name is accessed 5 years ago
Michail Vourlakos 9092e54fc0 enable Multiple Layouts mode in wayland
--enable multiple layouts mode partially and
try to provide at least one central layout
combined with a shared layout
5 years ago
Michail Vourlakos dec2860d5f synchronizer:improve freeactivities layout semantic 5 years ago
Michail Vourlakos fed3194ca9 multiple:unload central layouts after the additions
--this way a shared layout that unloads its only central
layout is not unloaded at all if a new central layout exists
with it
5 years ago
Michail Vourlakos 0bcc45e633 use KWin slideouts when switching layouts 5 years ago
Michail Vourlakos 383d762f11 Introduce storage TMP directory for layouts
--all storage functions are now taking place into
the same Latte TMP directory that is introduced
for layouts. So no more .bak files are needed from
~/.config folder.
5 years ago
Michail Vourlakos ac996f1721 fixes for View:layout activities windows updates 5 years ago
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
5 years ago
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.
5 years ago
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
5 years ago
Michail Vourlakos 6e4779e6ab require new official Latte library 5 years ago
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library 5 years ago
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
5 years ago
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
5 years ago
Michail Vourlakos 6bc4409b0b move settings dialogs in their own directory 5 years ago
Michail Vourlakos 0ff8f2b74f force plasmageometries updates for activitieschange 5 years ago
Michail Vourlakos 22a9416583 fixes for assigned layouts handling 5 years ago
Michail Vourlakos ba94546cb4 multiple fixes for single layout case 5 years ago
Michail Vourlakos 748ca87bb8 simplify code for switch button-single layout 5 years ago
Michail Vourlakos 94e5a04de2 make copy layout function proxy aware 5 years ago
Michail Vourlakos 00e6fbba5b update synchronizer semantics to freeactivities 5 years ago
Michail Vourlakos 2db252b769 fix warnings 5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Yuri Chornoivan 3a60d6f3b2 Fix minor EBN issues 6 years ago
Michail Vourlakos cea1155685 fix Importer::standardPath behavior 6 years ago
Michail Vourlakos a5ce2f97c6 support Importer::standardPathsFor 6 years ago
Michail Vourlakos b71baccc14 fix screenForContainment in MulitpleShared mode 6 years ago
Michail Vourlakos f89b110a36 drop Meta+E that is used from Dolphin 6 years ago
Michail Vourlakos 3a3823add3 Assign/Remove properly Shares from INACTIVE Centrals 6 years ago
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 6 years ago
Michail Vourlakos bea8247b84 refactor:move syncActiveShares to Synchronizer 6 years ago
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
6 years ago
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder 6 years ago
Michail Vourlakos d426ecb50f refactor:launcherssignals moved to "layouts" folder 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago