Commit Graph

70 Commits (5e75b889e01b48f3920e2a4e8e9f8ad8a289c2b5)

Author SHA1 Message Date
Michail Vourlakos 5e75b889e0 introduce initial LayoutsModel
Michail Vourlakos f81d535468 drop old originalLayoutNames list
Michail Vourlakos 09c599a2d7 update how layouts settings are stored in editor
Michail Vourlakos 1ee24adbbd update "FreeActivities" during apply
Michail Vourlakos fca4db5962 support font style for FreeActivities record
Michail Vourlakos 5f7bcf565d remove old code for activities in settings window
--remove relevant deprecated code that is not needed
in the new implementation
Michail Vourlakos 43de9b509b update activities combobox implementation
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
Michail Vourlakos 38d7ec5c2e prevent user from switching to shared layouts
Michail Vourlakos 5464018135 fix crashes and update share ids runtime in model
Michail Vourlakos ab09e56d56 dont close settings dialog with Enter key
Michail Vourlakos 57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
Michail Vourlakos fdf798b49f add KDE official Help menu
--in that way Latte gains easily language
switching from user
--exposure of how/where to report bugs
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 1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
Björn Feber c264a0a9e3 [latte-dock] Use new activities icon
Summary:
Use the new icon added in D22155.
{F6948355}

Test Plan: Open the Latte layout settings.

Reviewers: #plasma, #vdg, mvourlakos, ndavis

Reviewed By: #vdg, mvourlakos, ndavis

Subscribers: #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22170
Michail Vourlakos 10939d410c Views Report Information for inactive layouts
Michail Vourlakos 3412b13148 present Views data for Active layout
Michail Vourlakos 7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
Michail Vourlakos dcfcc1b442 show screens information through Settings menu
Michail Vourlakos 27736db317 update menu icons
Michail Vourlakos 714b41ec2f add new menu options and edit layout file action
Michail Vourlakos 30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
Michail Vourlakos a8a19bb550 support VirtualDesktops for kwayland>=5.52
--This of course needs Plasma>=5.15

BUG: 398106
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 46bf0c1229 update activities/shares from cell QMenu(s)
Michail Vourlakos 8c3d658a0d refactor:move Importer 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
Michail Vourlakos d307ac626b update UI elements in LayoutsEditor when needed
--toggling between Single/Multiple mode now shows/hides
all the SharedLayouts ui elements accordingly
Michail Vourlakos 84e8da60f8 improve column widths loading for LayoutsEditor
Michail Vourlakos 08ef9c10b9 add the Shared button behavior
Michail Vourlakos 0c4bbd9529 unload Central(active)layouts to become Shared
Michail Vourlakos c37f605257 SharedLayouts, active layouts at LayoutsEditor
Michail Vourlakos f5b36b0230 fix typos
Michail Vourlakos b33f29bc42 Activate Shared Layout if it is not loaded yet
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals
Michail Vourlakos 971d207d86 update Shared button state
Michail Vourlakos 05161a1ab8 fix layout lock/unlock from settings
Michail Vourlakos 55671ae31c improve layout names renames from LayoutsEditor
Michail Vourlakos 78d212ce8e SharedLayouts saving their settings from Layouts
Michail Vourlakos 25a29111e7 update Actitivies Delegate to new ButtonMenu ui
Michail Vourlakos 715e8b58c1 sharedtocolumn use only #settingid for layouts
--this way we can keep track of layout names changes
and work flawlessly in updating Shares names etc.
Michail Vourlakos 93ede645b8 introduce new menu for SharedToLayout
Michail Vourlakos 14d7079198 improve disabled cells layout for shareds
Michail Vourlakos cff6436a74 add shared icon for layouts to be identified
Michail Vourlakos 4c0a3f5523 update shared layouts cell states
--enable/disable shared layouts cells
accordingly
Michail Vourlakos 61621277d3 set icons for layouts columns