Commit Graph

49 Commits (675bdf5f7d5aac6d70717cec2bd6962536241d3e)

Author SHA1 Message Date
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Ömer Fadıl Usta 03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 4 years ago
Michail Vourlakos 8e9de84e01 contextmenu:expose layouts icon data 4 years ago
Michail Vourlakos cbd8d5d88c layoutsmanager:take responsibility for layout icons 4 years ago
Michail Vourlakos bc475da115 fixes for plural translation strings 4 years ago
Michail Vourlakos 7fa05eaea3 fix plural for translated strings 4 years ago
Michail Vourlakos ed3352b807 fix translation strings parameters counting 4 years ago
Michail Vourlakos ce62b31901 drop .arg() from translation strings 4 years ago
Michail Vourlakos faa79dfc75 use KMessageBox for removing indicator confirmation 4 years ago
Michail Vourlakos e1cf44240e use KMessageBox for Multiple Layout warning 4 years ago
Michail Vourlakos 18233dc6ee viewsdialog:support moving between active layouts 4 years ago
Michail Vourlakos 5fd18ee0af add LayoutsManager::moveView function
--moveView for active layouts under MultipleLayouts
becomes more generic and can be used either from
onscreens and offscreens views
4 years ago
Michail Vourlakos 447f0e549c do not delay exit at all cases
--in the past a delay was needed in order for
docks panels to slide out nicely, this is not
needed any more because kwin takes responsibility
for this.
4 years ago
Michail Vourlakos ea3d913757 improvements for view templates handling 4 years ago
Michail Vourlakos c7404e55a9 custom templates in FullBackupConfiguration 4 years ago
Michail Vourlakos 6f58d09d06 reorganize settings dialogs in better structure 4 years ago
Michail Vourlakos eff0fab134 expose view templates through Dock settings window 4 years ago
Michail Vourlakos f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
4 years ago
Michail Vourlakos 69df6400f2 rename launchersignals to syncedLaunchers
--that is more appropriate name for synced
launchers latte launchers handler
4 years ago
Michail Vourlakos a83d26a35b multiple:make switch funtion work properly
--when the user requests a specific layout in Multiple
Layout mode the new approach is the following. If
the layout has assigned activities this is respected
but if its activities are empty that layout is assigned
only on the current activity and any other layouts assigned
explicitly to that activity are released
4 years ago
Michail Vourlakos 41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
4 years ago
Michail Vourlakos d5e83280d2 refactor:simplify layout data access 4 years ago
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 7393ac02eb drop currentLayoutName as signal from synchronizer 4 years ago
Michail Vourlakos 9026f931fd fixes for corona available areas calcs 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 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 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 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 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
5 years ago
Michail Vourlakos 6bc4409b0b move settings dialogs in their own directory 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 f89b110a36 drop Meta+E that is used from Dolphin 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