Commit Graph

167 Commits (675bdf5f7d5aac6d70717cec2bd6962536241d3e)

Author SHA1 Message Date
Michail Vourlakos 87efe01a96 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
3 years ago
Michail Vourlakos 4a9bf2cb7a singlelayout:fix borderless activation/deactivation 3 years ago
Michail Vourlakos 6ba99f2724 multiple:do not update borderless when no needed
--when activating activities under multiple layouts
the currentActivityChanged() signal is sent from
KActivities before the runningActivitiesChanged() and
as such we can end in considering borderless maximized
window flag before all appropriate layouts have been enabled.
The patch adds a timer and delays borderlessMaximized consideration
when currentActivityChanged signal is received.
3 years ago
Michail Vourlakos ac30a9eb4f cmd:support "add-dock" through command line
-- "add-dock" option now works even when application
is not running and the user is executing it through
command line.

BUG: 446526
FIXED-IN: 0.10.5
3 years ago
Michail Vourlakos 6f162479e0 autostart: do not overwrite startup file 3 years ago
Michail Vourlakos 0e63e7dd0b get ready for Plasma LookNFeel packages
--introduce enable/disableAutostart from command line
--accept import-layout from command line when latte is already running
--introduce --suggested-layout-name to be used with
  import-layout in order to provide a preferred layout name
  e.g. latte-dock --import-layout /blah/blah/mywhat.layout.latte
       --suggested-layout-name MyAwesomeLayout
--dbus:introduce "setAutostart" function
--dbus:introduce "importLayoutFile" function

BUG:446249
FIXED-IN:0.10.5
3 years ago
Michail Vourlakos 710def2081 startup:avoid kwin reconfiguring with no reason
--during startup borderless maximized windows should not be
enabled or not as long as kwin has already been configured
in the proper way. This way we make Latte startup lighter
because KWin is not reconfiguring when not needed.
3 years ago
Michail Vourlakos e1a472811d crash:dont show settings dialog in early startup
--showing settings dialog too early before layout(s)
are loaded can possible create crashes. Settings dialog
is considering that everything is in place and ready
to be used.

BUG:440731
4 years ago
Michail Vourlakos c3c2c8a7f1 wayland:request all windows properties properly 4 years ago
Michail Vourlakos 7eff55b793 wayland:multiple layouts load properly on activities 4 years ago
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 21b187b94c sort layouts in context menu based on their names 4 years ago
Ömer Fadıl Usta e8cc5603ac Portaway from obsolete qsort
qstringlist's own sort method uses std::sort
void QtPrivate::QStringList_sort(QStringList *that, Qt::CaseSensitivity cs)
{
    if (cs == Qt::CaseSensitive)
        std::sort(that->begin(), that->end());
    else
        std::sort(that->begin(), that->end(), CaseInsensitiveLessThan());
}
4 years ago
Michail Vourlakos 01e60e0aab update layout viewsScreens function
--use Layout::views() function to implement this
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 274ad37685 viewsdialog:support export as template action 4 years ago
Michail Vourlakos 4f0830eb8a fix orphanesubs warning for active layouts 4 years ago
Michail Vourlakos 321a6ba512 protect from plural translations crashes 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 6234253342 viewdialog:provide nice Repair for #W201 4 years ago
Michail Vourlakos 837842f1f1 layout:add function to remove orphan subcontainment 4 years ago
Michail Vourlakos 44d4c5a4de viewsdialog:report for error #107
--orphaned pseudo applets lost connection with their
subcontainment
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 c5c61dffe3 storage:use knownErrors both for errors and warns 4 years ago
Michail Vourlakos c33623a809 storage:provide orphaned parent applet checker 4 years ago
Michail Vourlakos ceda380e49 improve errors semantics 4 years ago
Michail Vourlakos a5d289eb89 storage errors fix adding error data 4 years ago
Michail Vourlakos 27d9f209ea layout:drop isBroken in favor of errors/warnings 4 years ago
Michail Vourlakos 51044ce630 layout:provide errors/warnings structured nicely 4 years ago
Michail Vourlakos 2be67b11c5 storage:provide appletAndContainmentSameId checker 4 years ago
Michail Vourlakos c74f5cf7fc appletdata:provide storageId
--in case any consumer wants to use that info
4 years ago
Michail Vourlakos 11aa2abd2e storage provide differentAppletsSameId checker 4 years ago
Michail Vourlakos 849e66fd80 storage:provide orphaned subcontainments checker 4 years ago
Michail Vourlakos a2bf28054f add known errors in layouts storage 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 a14312b227 Storage:sync containment config before storedView 4 years ago
Michail Vourlakos 1afe12ad71 fix how not-installed plugins are identified 4 years ago
Michail Vourlakos aa608f1bf5 use ::storedView approach for Duplicate View 4 years ago
Michail Vourlakos 9d113ba754 provide Storage/Layout::storedView function
--it is going to be used in order for
Duplicate/Cut/Copy functionality to be supported
properly. Its main purpose is to accept a
layout and a containment_id and based on
that to provide a stored view temp file
which is going to be used as a template
for any future addition.
4 years ago
Michail Vourlakos 2c8d7134bd simplify Layout::newView calls
--template file is already provided from Data::View
so there is no real reason to expose it one
more time
4 years ago
Michail Vourlakos 1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
4 years ago
Michail Vourlakos dc56e61e64 Storage::simplify a bit newUniqueIdsFile function 4 years ago