Commit Graph

2659 Commits (7eff55b79360026dc80f09aff572075b20323e1f)

Author SHA1 Message Date
Michail Vourlakos 87ddf1f6d6 update Layout::Storage to Data::View,ViewsTable 4 years ago
Michail Vourlakos 74da7bfb0f add more options in Data::View 4 years ago
Michail Vourlakos 155e589268 improve text string in details window 4 years ago
Michail Vourlakos 065a3ee9c4 add edge in view data 4 years ago
Michail Vourlakos 386e1bf284 introduce Layout ViewsTable 4 years ago
Michail Vourlakos a48786a5e2 introduce ViewData Origin data 4 years ago
Michail Vourlakos e7eeb4f9fd introduce ViewData and FIRSTSCREENID 4 years ago
Tranter Madi f2cbbba0f6 Show Settings window when another instance is running 4 years ago
Michail Vourlakos 1e86067d0e fix margins in settings dialogs 4 years ago
Michail Vourlakos 9d4a059e65 improve exporttemlatehandler names 4 years ago
Michail Vourlakos 119ea9fd23 improve details handler naming 4 years ago
Michail Vourlakos 714b90e4a7 settings:provide views handler 4 years ago
Michail Vourlakos b25492a6fb provide Views SubDialog in settings window 4 years ago
Michail Vourlakos d5a434e994 provide views dialog ui 4 years ago
Michail Vourlakos e2206afbfd rename Copy layout to Duplicate
--improve button name in Layouts Editor
from Copy to Duplicate
4 years ago
Michail Vourlakos 35ac94a5ec layouts:do not update column widths when no needed
--remove signal that is not needed to be sent
4 years ago
Michail Vourlakos c65e7ce4df improve naming of positioner property 4 years ago
Michail Vourlakos 5bc5e684b5 protect from invalid screen connectors 4 years ago
Michail Vourlakos 76b6317f9e validate screen ids and store them properly
BUG:434343
4 years ago
Michail Vourlakos 32f4c3f7a1 update properly single layout with switch button
--when Switch button is used exactly after the user
is choosing single mode, the layouts model mode is also
updated directly in order to be consistent with
user options
4 years ago
Michail Vourlakos 01eb69bbe5 update desktop geometry on startup
--when Plasma is started much later than Latte
the Plasma::Extended::ScreenGeometries should enable
its broadcasting interface when Plasma is first
registered in DBus

BUG:424356
4 years ago
Michail Vourlakos a4e6570b05 update mask properly for !compositing case
BUG:433887
4 years ago
Michail Vourlakos 393db028b7 provide access below screen margin for Docks
--using hidden VisibilityManager::floatingGapWindow
implementation in order to provide full access for
the area which is below the screen margin when the
user has disabled user interaction for that area

BUG:433820
4 years ago
Michail Vourlakos b6f43057ce accept Explicit and Primary on same screen edge
--we now accept Explicit Views in the same screen edge
with OnPrimary Views At ALL CASES and we do not remove
them until the Screens properties have created a deprecated
valid Screens Views Map
4 years ago
Michail Vourlakos 03bd034898 fix user changing screen behavior
--wait for the actual screen change to really
happen in order to reshow the dock afterwards

BUG:433876
4 years ago
Michail Vourlakos f6df7a7df1 introduc fast layout manager for containment 4 years ago
Michail Vourlakos c07b42b0b2 exportdialog rephrase export button in second time
BUG:433735
4 years ago
Michail Vourlakos ddcfe56eda improve exported view template name
--use also the layout name as first part of the
proposed name
4 years ago
Michail Vourlakos fe5d2d7a63 context menu:provide Add view through templates 4 years ago
Michail Vourlakos 631f4a9d6e provide moveView through context menu
--the user can now user the ContextMenu in order
to move a view between different active layouts
4 years ago
Michail Vourlakos 7f64126d5f improve and simplify context menu data 4 years ago
Michail Vourlakos 56b142eca0 same way everywhere to expose containmentActions
--tasks applet is now using a generic way to show
Latte containmentActions for its context menu and
this can be easily reused by any other applet that
creates its own ContextMenu
4 years ago
Michail Vourlakos d51f2d99a3 context menus add more sections
--move elements around in order for the user to find
them at the same positions for all cases independent
if the user triggers context menu from applets or
empty containment areas
4 years ago
Michail Vourlakos 5fa77e05eb contextmenu:add export as template 4 years ago
Michail Vourlakos 965644ce2c add duplicate view in context menu 4 years ago
Michail Vourlakos c159753c4f whitelist margins separator for exported templates 4 years ago
Michail Vourlakos b49d5eb084 layouts window:store column widths properly 4 years ago
Michail Vourlakos f39e46fd68 hide settings window InMenu for inMultipleMode
--inMultipleMode only Plasma Activities Explorer can
enable/disable layouts
4 years ago
Michail Vourlakos b1de2a3905 contextmenu:hide inactive layouts at MultipleMode 4 years ago
Michail Vourlakos 87ae24dae1 add myView.action() to reach view actions
-this way things are more clear how the actions
are applied and reordered
4 years ago
Michail Vourlakos a44c5fa821 provide remove dock action in context menu 4 years ago
Michail Vourlakos b31792cd7b fix primaryconfig maximum height
--the new approach uses canvas geometry and
computes properly the maximum available screen
height in order for Primary Dock Settings window
to use screen height effectively
4 years ago
Michail Vourlakos 373b8c5b56 do not break user view template file on first use 4 years ago
Michail Vourlakos 2b59a085e4 clear more options for exported templates 4 years ago
Michail Vourlakos bb0b5cbd26 clear layoutId when exporting view template 4 years ago
Michail Vourlakos 53231392ba position properly primary config win on first call
--sometimes when the primary config window is first called
it was wrongly positioned at most bottom-left screen corner
4 years ago
Michail Vourlakos 9e487b613b identify applet isMarginAreaSeparator 4 years ago
Michail Vourlakos 674b6ea754 plasma theme extended:separator area margins
--discover and expose plasma theme margins for
separator areas
4 years ago
Michail Vourlakos 7a1b920aba init default color scheme based on plasma version 4 years ago
Michail Vourlakos d437ed8c3d specify plasma default color scheme 4 years ago
Michail Vourlakos c70ffb5b92 automatic update screen geometries in screen pool 4 years ago
Michail Vourlakos a01c18a551 update geometrics for screenpool records 4 years ago
Michail Vourlakos ad0f9901b7 provide single screens data table 4 years ago
Michail Vourlakos 41ebee5a71 update screenpool api 4 years ago
Michail Vourlakos 864a3520f2 remove no needed primary connector logic 4 years ago
Michail Vourlakos 42757668cf provide specific screen data structure 4 years ago
Michail Vourlakos da3fbca477 organize new>layout templates action menu 4 years ago
Michail Vourlakos 5b9ec2ee06 provide option to import layout templates easily
--when the user imports a layout in its system,
a message is appearing to inform him that he can
also import it as custom layout template
4 years ago
Michail Vourlakos a58ecc08d7 provide installCustomLayoutTemplate in manager 4 years ago
Michail Vourlakos cc044d8483 layout editor:provide layout changed indicator
--following plasma systemsettings changes indicator,
layout editor is now also providing an orange circle
in order to indicate that a layout has changes
4 years ago
Michail Vourlakos c922aec8a5 cleanup exported layout template settings
--cleanup activities and preferredforshortcuts touched
4 years ago
Michail Vourlakos 466e989c28 always show chosen single layout first
--the user selected single layout must be first
of all at all times in settings dialog window
4 years ago
Michail Vourlakos 5e3b9f61eb center single/multiple buttons in settings dialog 4 years ago
Michail Vourlakos 761305af61 improve text for Single/Multiple layouts 4 years ago
Michail Vourlakos 22fa4c8fc8 rename property single active layout
--renaming active layout in single mode is a little
tricky in order to not leave any deprecated data behind.
Successful steps would be:
1. unload current single layout
2. load new single layout for the new file
3. remove deprecated layout file after new file loaded correctly
4 years ago
Michail Vourlakos 4806a7c5e2 fix single mode active layout ordering
--simplify also some code parts in layouts handler
4 years ago
Michail Vourlakos 4a89138a6e provide functionality for Enabled layout action 4 years ago
Michail Vourlakos da6478fc8e add functionality for activities explorer 4 years ago
Michail Vourlakos 684bf9dc80 provide two new actions in Layouts Editor
--Activities to trigger Plasma activities manager
--Enabled to assign/unassign layouts to different
activities
4 years ago
Michail Vourlakos ad4095855e fix custom templates dir tracking 4 years ago
Michail Vourlakos ea3d913757 improvements for view templates handling 4 years ago
Michail Vourlakos 7e92a79d4c add missing signal for export dialog handler 4 years ago
Michail Vourlakos 26af7e4091 add functionality for ExportViewTemplate 4 years ago
Michail Vourlakos a9301ebf7b move syncing layout files into export dialog 4 years ago
Michail Vourlakos c7404e55a9 custom templates in FullBackupConfiguration 4 years ago
Michail Vourlakos 440b4b5736 improve templates signaling 4 years ago
Michail Vourlakos 57fc8ec375 support applets relative path icons 4 years ago
Michail Vourlakos d5f6dcad6d track custom templates removal 4 years ago
Michail Vourlakos 4ad8654970 visual feedback for templates extraction
--update templates list when adding new templates
4 years ago
Michail Vourlakos 53f32b6f3b do not remove configuration for subcontainments 4 years ago
Michail Vourlakos a8d4bdf82d provide basic Export functionality 4 years ago
Michail Vourlakos 16c1a849b6 init UserSpecified templates in templatemanager 4 years ago
Michail Vourlakos 08327326ff provide functionality for ChooseDialog in Export 4 years ago
Michail Vourlakos 2dee058fdc provide Choose File Dialog for ExportTemplate 4 years ago
Michail Vourlakos ea214c5297 increase View initial thickness
--this way during startup a big thickness is
provided in order for slide-in during startup
to play nicely and give the time to view
its proper thicknesses
4 years ago
Michail Vourlakos f020400aec provide ExportTemplate::Reset functionality 4 years ago
Michail Vourlakos c57a69ae05 rename function in settings handler 4 years ago
Michail Vourlakos 6f58d09d06 reorganize settings dialogs in better structure 4 years ago
Michail Vourlakos 484270f416 disable clickable for AppletsTable Header Columns 4 years ago
Michail Vourlakos 869df6316c fix applets table data
--ignore applets data that are not valid
4 years ago
Michail Vourlakos d40cdfceab improve CheckBox behavior in AppletsTable 4 years ago
Michail Vourlakos 1b0b43e0e0 fix #43,set NULL mask() for behaveAsPlasmaPanel
--this way plasma frameworks are informed correctly
that they can use the window geometry to position
their popups
4 years ago
Michail Vourlakos 650e43c9d1 provide functionality for buttons in exporttemplate 4 years ago
Michail Vourlakos fcfcf8ca51 provide reset button functionality 4 years ago
Michail Vourlakos e50d9e33a7 provide some applets with no personal data 4 years ago
Michail Vourlakos dd2d125c70 add buttons in exporttemplatedlg 4 years ago
Michail Vourlakos 222caf28da provide select/deselect all buttons in exportdlg 4 years ago
Michail Vourlakos a4c70b0922 decouple ExtractTemplateDlg from SettingsWindow 4 years ago
Michail Vourlakos 156b2190a8 checkability for AppletsTable in ExportTemplateDlg 4 years ago
Michail Vourlakos f63622db0f provide headers fixes for AppletTable in ExportDlg 4 years ago
Michail Vourlakos a45b97a2b1 provide basic implementation of ExportTemplateDlg 4 years ago
Michail Vourlakos 0943ecb42e provide AppletsModel for ExportTemplateDialog 4 years ago
Michail Vourlakos 674888800d introduction of exporttemplatedialog 4 years ago
Michail Vourlakos 6cd47840fb improve how identification of expanded applets
--take into account AppletQuickItem.switchWidth/Height
values in order to identify or not if an applet
is expanded in a popup window
4 years ago
Michail Vourlakos 09654e75b3 expose view templates through dock settings
--the user can now add views based on view templates
found in the system through Dock Settings, New Dock
actions
4 years ago
Michail Vourlakos 390ea0596c provide newView function for Layouts::Storage 4 years ago
Michail Vourlakos eff0fab134 expose view templates through Dock settings window 4 years ago
Michail Vourlakos 1f5f6cd69a provide view templates through manager 4 years ago
Michail Vourlakos 4222811de2 remove debug message 4 years ago
Michail Vourlakos 561f0168c0 fixes for abilities and KHNS 4 years ago
l10n daemon script df10c92d48 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Michail Vourlakos 1e8ec1380d track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
4 years ago
Michail Vourlakos f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
4 years ago
Michail Vourlakos 8ae3b4ecfb update based on position shortcuts implementation
--the new fix provides totally valid position shortcut
badges based on what the user has chosen as global
shortcut to trigger an item in latte dock based
on its position in it
4 years ago
Michail Vourlakos 7af60c802d provide isHidingBlocked through MyView Ability 4 years ago
Michail Vourlakos df03f51fdc increase initial size for View 4 years ago
l10n daemon script 1dfabeac2a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Michail Vourlakos d21fc43b8c add update slot for layout:lastUsedActivity
--add layout slot to update lastUsedActivity
when runningActivities where changed in order
for layout::applyActivities() to provide valid
activities list even when an activity is
first starting.
4 years ago
Michail Vourlakos e9ecec47dc containment: more improvements for indicators api 4 years ago
l10n daemon script bba3c292b8 GIT_SILENT made messages (after extraction) 4 years ago
Michail Vourlakos 71e7bb6ec7 fix initialization/switching indicators settings
--fix case that indicators config uis were lost totally
during recreating a view that was using a custom indicator
and that custom indicator was updated.
--fix case that custom indicators were not assigned any
more to their original views when the dock settings
window was created first time for them.
4 years ago
Michail Vourlakos cfb382002b update containmentActions properly when recreating 4 years ago
Michail Vourlakos 52490c6d7c fix crash when updating indicators 4 years ago
Michail Vourlakos 3e055914c0 provide a dragging corner in dock settings window 4 years ago
Michail Vourlakos c777fca05a improve vastly user interaction with indicators uis 4 years ago
Michail Vourlakos 15c0220334 update dock settings window to use stackview 4 years ago
Michail Vourlakos 546b945fff fix how tasks model in update for destroyed 4 years ago
Michail Vourlakos 39ad54f9bb provide visual indicator for multiple tasks
--when the user changes Tasks tab settings between
different applets, the selected applet is providing an
animation
4 years ago
Michail Vourlakos f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
4 years ago
Michail Vourlakos 397e1324e9 update name to view.inRelocationAnimation 4 years ago
Michail Vourlakos 7a4010abc1 instantiate properly widget explorer 4 years ago
Michail Vourlakos b6f4550c08 raise view window to set it in front layer 4 years ago
Michail Vourlakos 0edbd9a66a widgets explorer: initialize windows flags earlier
--this way we avoid in wayland to draw window decoration
4 years ago
Michail Vourlakos 754fb85133 avoid crash in wayland from Widgets Explorer 4 years ago
Michail Vourlakos 84d4d4cef7 provide latte internal widget explorer 4 years ago
Michail Vourlakos 81e4b19b59 improve SunkEvents implementation
--each origin mouse area is now informin
the SunkEvents handler for the relevant
origin areas at the same time and this way
there is no events breakage when changing
from one sunked event origin area to another
--the sunked events origin and destination areas
are now released only when the event is NOT inside
any origin area or any destination. This way
no events breakage is appearing when changing from
destination area to origin area and vice versa.
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 1ca43ee13f use Launchers Ability for syncing
--move internal synced launchers infrastructure
in order to use Launchers Ability. Things
this way will become much cleaner and
at the same reusable and maintainable
4 years ago
Michail Vourlakos 15c3b3630a wayland:fix struts crash
--when struts thickness during startup was zero
that was creating an invalid window geometry under
wayland and subsequently it was crashing the app.

BUG:431381
4 years ago
Michail Vourlakos 09294b8599 sync configuration to files after save configs 4 years ago
Michail Vourlakos e404abde4e fix editThickness for latte panels 4 years ago
Michail Vourlakos 9d3ebca4af provide stable struts thickness
--when a floating view is hiding its screen gap
there is no reason for struts to be added
during that phase. Published struts could be
the final expected window position in that case.

BUG:431255
4 years ago
Michail Vourlakos f8cce7acfa fix normalThickness value 4 years ago
Michail Vourlakos 919b0cbf8c rename view property 4 years ago
Michail Vourlakos 1181fc472c dont update GTK_FRAME_EXTENTS for floating state
--dont update when a floating Dock is hiding its screen
edge for a maximized window.
4 years ago
Michail Vourlakos b9b41317ca reduce interval for Parabolic Nullifier 4 years ago
Michail Vourlakos da1df5bc0c parabolic:improve clearZoom responsiveness
--fix also a case the even though mouse was out of the
view the zoomed items where not restoring
4 years ago
Michail Vourlakos 6a6e47c657 plenty of fixes for moving/dragging applets 4 years ago
Michail Vourlakos 2fd5f51e8d fixes for justify alignment arrangement 4 years ago
Michail Vourlakos 2e7dcb5428 refactor rely on c++ to provide justify alignment
--c++ takes the burden to validate the Justify alignment
4 years ago
Michail Vourlakos c2595ba170 fix missing header 4 years ago
Michail Vourlakos c7fedca8b6 remove margins from SinkAreas 4 years ago
Michail Vourlakos 1b23e3669b field QQuickItem pointers for Parabolic/EventsSink
--avoid crashes when the relevant destination/origin
quickitems are deleted during their events processing
4 years ago
Michail Vourlakos 574135e084 Welcome the all new EventsSink infrastructure
--each applet has now its own Sunk events to handle,
and as such each applet can now have different paddings
and that does not create any issues or missing events
4 years ago
Michail Vourlakos de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
4 years ago
Michail Vourlakos bc50b437e9 introduce View::EventsSink 4 years ago
Michail Vourlakos 60aa17dada fix missing header 4 years ago
Michail Vourlakos ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
4 years ago
Michail Vourlakos b5ceb4d91a tasksparabolic:use view triggering values 4 years ago
Michail Vourlakos 259f04f7c9 view:forward ParabolicEnter from c++ 4 years ago
Michail Vourlakos 17865ee21a task parabolic more fixes for its implementation 4 years ago
Michail Vourlakos dcde80e6ed view::use a timer to nulify currentParabolicItem 4 years ago
Michail Vourlakos a1ec6de412 tasks:make parabolic effect fixes 4 years ago
Michail Vourlakos 345d2823f6 simplify parabolic criteria in view 4 years ago
Michail Vourlakos ae9836ccba first iteration for new parabolic 4 years ago
Michail Vourlakos 3c17c2e839 settings:disable StaysOnTop hint 4 years ago
Michail Vourlakos bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
4 years ago
Michail Vourlakos ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
4 years ago
Michail Vourlakos 4bf562c17b remove unneeded line 4 years ago
Michail Vourlakos 0c153de58f sinkedevents:optimize calculations 4 years ago
Michail Vourlakos 167a19b748 sinked events:respect Fitts Law 4 years ago
Michail Vourlakos 259d183179 dont be so verbose for sinked events
--so debug messages only for pressed sinked event
4 years ago
Michail Vourlakos 74d9065f1f change applets margins/paddings approach 4 years ago
Michail Vourlakos 96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
4 years ago
Michail Vourlakos 746f32050d adjust mouse events relevant to view paddings 4 years ago
Michail Vourlakos b06e164f53 expose view padding through qml 4 years ago
Michail Vourlakos 2deed2d10c visibilitymanager use effects to hide/show mask 4 years ago
l10n daemon script ddcc2bbe6b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script d87bdb379a GIT_SILENT made messages (after extraction) 4 years ago
Vlad Zahorodnii 54a14bce0f wayland: Add the screencast protocol to X-KDE-Wayland-Interfaces
Recently support for window thumbnails on Wayland was added in
latte-dock, but it shouldn't work as is because the screencast protocol
is not listed in X-KDE-Wayland-Interfaces. Only "trusted" applications
can bind the screencast global.
4 years ago
Michail Vourlakos 939c0573f9 x11:accept signals from Desktop windows
--this way we make sure that if Desktop windows
were not filtered out in the past they will be
in the future
4 years ago
Michail Vourlakos c7d11c443e fix hiding of panels with mask technique 4 years ago
Michail Vourlakos 043c65e36c remove irrelevant line 4 years ago
Michail Vourlakos 3a5acf9383 layouts:fix crash when switching memoryusage type 4 years ago
Michail Vourlakos d610cd3419 wayland:dont show/hide views totally, use mask
--use mask to achieve this in order to not have to
handle wayland weirdness with surfaces and reattached
properties
4 years ago
Michail Vourlakos 302c6a9cc2 update pause layout in multiple layouts environment
--the new approach takes into account only the layout
appliedactivities and accepts also FreeActivities as
valid to be paused
4 years ago
Michail Vourlakos ef415e51fb disable pause button for only one running activity 4 years ago
Michail Vourlakos 5af3036613 fixes for identifying Unity vertical view showing
--more specific identifying properly when a vertical
view is shown and is touching a top or bottom view
that has requested to be fully trasparent when no
maximized window exists
4 years ago
Michail Vourlakos 5e50147848 fixes for dock settings window
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
4 years ago
Michail Vourlakos 7c542e6246 update layouts activities when activity is removed 4 years ago
Michail Vourlakos a02056b4c8 ignore activities that are not currently present 4 years ago
Michail Vourlakos 0563b2d21b add command line version option 4 years ago
Michail Vourlakos e4714d748f dont load freeactivities layouts if no frees 4 years ago
Michail Vourlakos 8448f36ed9 check layout valid activities 4 years ago
Michail Vourlakos 567e3ab78f initmultiple:update activities for specific layout 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 5101a1314e fix switch button for single layout mode 4 years ago
Michail Vourlakos 9428027aff provide universalsettings upgrade path for v0.10 4 years ago
Michail Vourlakos eb627dd070 multiple mode:animate properly layouts unloading 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 95486a1296 syncing on settings startup is needed no more 4 years ago
Michail Vourlakos d8f1f7e4b9 refactor:settings layouts controller
--the controller does not need to host its own
CentralLayouts any more. It retrieves original
data for Synchronizer, updates layouts accordingly
and sends back to Synchronizer all the updated
layouts data
4 years ago
Michail Vourlakos d5e83280d2 refactor:simplify layout data access 4 years ago
Michail Vourlakos dfbf83b4a1 activities menu:provide CurrentActivity option 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 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 f31c698330 expose sortByColumn for layouts mode 4 years ago
Michail Vourlakos 4d7e1dca83 update layouts table to support new approach 4 years ago
Michail Vourlakos 419886b2ea identify dock changing layout in same visible area 4 years ago
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure 4 years ago
Michail Vourlakos c7d163fdb6 plenty of fixes for multiple layouts 4 years ago
Michail Vourlakos 588349e91c update text for Layout Read-Only 4 years ago
Michail Vourlakos 527f865eda fix last config view tracking for multiple layouts 4 years ago
Michail Vourlakos 42dedca86f fixes for multiple layouts new approach 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 63bfc444c4 provide allactivities and free activities ids 4 years ago
Michail Vourlakos fe34392e1f fix #24, typo 4 years ago
Michail Vourlakos 8553a2e511 discover plasma theme shadow size and color 5 years ago
Michail Vourlakos 1142950f69 provide effect/masks regions for custom backgrounds
--PlasmaExtended::Theme produces QRegions based on corners
radius that can be consumed afterwards from Effects calculations
in order to provide correct QRegions for custom backgrounds
produced from custom background radius option
5 years ago
Michail Vourlakos bd16a0da69 provide self-calculated theme corners mask 5 years ago
Michail Vourlakos 0e0e8fe5be provide two different export actions for layouts
--Export For Backup, exports a layout with its entire
configuration for ALL applets
--Export As Template, exports a layout after the user
has chosen which applets should keep their settings
and personal data. By default Latte Tasks plasmoid
is going to propose to keep its data because no
personal data are kept in it
5 years ago
Michail Vourlakos fd47976c1a provide margins for drop down menu buttons 5 years ago
Michail Vourlakos 343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
5 years ago
Michail Vourlakos dd46c79475 storage:expose applet plugins information 5 years ago
Michail Vourlakos a36b49de77 data:extend generictable functionality
--provide different insert methods in order
to insert elements based on name or id sorting
criteria
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 3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
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 9ff834ccae layouts:define custom text properly
--store the full text color in layout file
5 years ago
Michail Vourlakos d3a0b3cf31 details:confirm layout change,save data when needed 5 years ago
Michail Vourlakos 7695443a90 details:update buttons state on dataChanged 5 years ago
Michail Vourlakos 131ce454f2 fix IconData references based on Data::Generic type 5 years ago
Michail Vourlakos 5cb0277682 make layoutstable generic table dependent 5 years ago
Michail Vourlakos 3c92b04cbc provide generic table datatype 5 years ago
Michail Vourlakos 519decb85c update layoutstable remove function 5 years ago
Michail Vourlakos 188aa10b40 update datatypes to use generic data type 5 years ago
Michail Vourlakos 1af16862bf provide Data::Generic to be used from datatypes 5 years ago
Michail Vourlakos 9f7f846318 provide applet internal data type 5 years ago
Michail Vourlakos fb843776a0 set document-new icon for New Templates menu items 5 years ago
Michail Vourlakos 7ef74d2096 sync settings before exporting 5 years ago
Michail Vourlakos 043849c4e7 templates:track properly hidden multiple template 5 years ago
Michail Vourlakos 37d629125c drop deprecated presets/prestyles etc...
--we now use templates directory
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 0393e0ff35 settings:improve init of layout templates submenu 5 years ago
Michail Vourlakos 77515be7c6 settings:expose LayoutTemplates to New button 5 years ago
Michail Vourlakos cd89f959e3 update layout system template identifying 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 1b4d13959b use new TemplateManager add default templatelayout 5 years ago
Michail Vourlakos 6e2d8143e5 improve Default Layout Template name is accessed 5 years ago
Michail Vourlakos 2fdbc134a1 load system layout templates properly 5 years ago
Michail Vourlakos 545404ec82 introduce all new templates manager
--this class is going to be responsible for all
templates tasks
5 years ago
Martijn Vogelaar b207950cc7 #15 Drag drop layout text 5 years ago
Michail Vourlakos 3ea099a54b update namespace for uniqueidinfo 5 years ago
Michail Vourlakos 4777e33a59 update namespace for PreferencesData 5 years ago
Michail Vourlakos 910f480a3d rename data to layoutcolordata 5 years ago
Michail Vourlakos 47ef73041b update data::layout... namespaces 5 years ago
Michail Vourlakos b39c35b487 update namespace/name for Data::LayoutColor 5 years ago
Michail Vourlakos 805e37a368 update Layout::Data::ActivityData namespace 5 years ago
Michail Vourlakos 375579a517 move data classes from settings to app directory
--makes more sense data records to be accessible both
from settings and layouts management classes
5 years ago
Michail Vourlakos da61a432cd add template options to layoutdata 5 years ago
Michail Vourlakos aee04ef180 set maximum values for mouse sensitivity buttons 5 years ago
Michail Vourlakos 5d7ea7c9c7 fix crash at primary config when switching layouts
--fix crash at primary config when switching layouts
--load on demand view type options at vertical latte
views as memory improvement
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 b799950ddb corona:remove editing windows earlier
--it minimizes warnings during exit
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 e323f31645 use universal inAdvancedMode for edit settings
--for all view edit windows are now using the same
flag in order to identify basic and advanced level
for editing their settings
5 years ago
Michail Vourlakos 0bcc45e633 use KWin slideouts when switching layouts 5 years ago
Michail Vourlakos 105b14de38 layouteditor:improve activity/shares edit behavior
--situation has improved vastly for users for activities
and shares when trying to change their values. The menus
that appear now contain Ok/Cancel buttons in order to
accept or ignore the changes. If the user just hides
the menu without clicking Ok button then the changes
are ignored.
5 years ago
Michail Vourlakos 3f1e788885 details:fix checkboxes options
--use one single checkbox for its option and
align an much as possible previous radiobuttons
5 years ago
Michail Vourlakos b808fa2559 reduce minimum hide timer interval to zero 5 years ago
Michail Vourlakos 7e4791fdbc fixes for hiding/showing signaling 5 years ago
Michail Vourlakos 8c1d0d34e5 rename internal containments to subcontainments
--applets that act as internal containments are now called
subcontainments because they are containments inside
main containments
5 years ago
Michail Vourlakos 59878a3f28 details:update window title based on layout name 5 years ago
Michail Vourlakos a623858d78 details: give layouts their background badges 5 years ago
Michail Vourlakos 72fa5cdd9c rename background delegate of layouts editor 5 years ago
Michail Vourlakos 39fb0df8dc remove background cmbbox deprecated code 5 years ago
Michail Vourlakos c3e430e356 fix crash when unloading layouts
--when unloading layouts applets are deleted
and subsequently all the heuristics for identifying
expanded applets are removed. In such case
there were rare cases that applet()->id() was
trying to be accessed and that was subsequently
creating crashes because applet did not exist
anymore. AppletQuickItems probably are deleted
after applet has already been destroyed.
5 years ago
Michail Vourlakos c64354c048 update CustomIndicator button onParentView change 5 years ago
Michail Vourlakos 45d09b2cd4 editdock:support indicatorsuimanager
--the new approach is much more memory efficient
as the same indicator config ui is used for ALL
views and anything related to config uis is now
handled by the manager instead of each diffent
view on its own
5 years ago
Michail Vourlakos 5d1edfe68d fix layouts model original data discoveries
--original data indexes may not be consistent with
current layouts data. If a layout is removed from
current layouts then many original layouts data indexes
are totally different. This commit fixes this.
5 years ago
Michail Vourlakos c1fc7b77f0 settings:clear new fields during duplicating layout 5 years ago
Michail Vourlakos 582de7afe3 each view now keeps one indicator configui
--curent view indicator config ui is not deleted
when the PrimaryConfigView changes its parent view.
For each view there is one indicator config ui
that is kept available to be shown when appropriate.
This way we avoid unnecessary recreations of indicator
config uis when the user cycles between different views
settings.
5 years ago
Michail Vourlakos 1c0f5acde8 call KIconDialog with default getIcon() 5 years ago
Michail Vourlakos 676e648ca3 layouts editor:fix shared layout icon badges
--when the shared layout has user assigned icon
then that icon is always preferred
--choose which icons are drawn for shared layout
based completely on what icons are already chosen
for the assigned shares (central layouts)
5 years ago
Michail Vourlakos 28bcc973c0 details:add layout icon property
--expose icon properly at details window
5 years ago
Michail Vourlakos 437c04cf92 details:add icon_clear behavior 5 years ago
Michail Vourlakos c3fd137032 details:add clear pattern button 5 years ago
Michail Vourlakos 0286966cab use properly default custom background values 5 years ago
Michail Vourlakos 1ee03fe92d disable Layouts BackgroundColumn ediatability 5 years ago
Michail Vourlakos 04305205ca details:add Ok,Cancel buttons
--delete details window properly after has
been used from the user
5 years ago
Michail Vourlakos 835c24cbcb provide default custom background values 5 years ago
Michail Vourlakos a787567bf2 settings:apply new background properties properly 5 years ago
Michail Vourlakos 72a70c7da7 details:add backgound settings functionality 5 years ago
Michail Vourlakos d8b339ac7b details:add colors functionality 5 years ago
Michail Vourlakos 3c94aa8d75 drop sub handler detailsoptionshandler
--drop the sub handler detailsoptionshandler
because the new design wont have tabs like the main
settings window does. Views table will be provided
through a new sub dialog.
5 years ago
Michail Vourlakos 029090a2de details:provide colorcmbbox delegate 5 years ago
Martijn Vogelaar 05fd28b2dc fix #10,Delete button deletes layout. 5 years ago
l10n daemon script 5832978fbf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 5a067d17a5 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos a3250cf7ca fixed for View::inEditMode flags
--inEditMode is now updated directly from
containment()->inUserConfiguring()
--add again hiding blockers when View gets
into edit mode. That was lost during last commits
because it was part of Visual qml code that
has been moved to another window.
5 years ago
Michail Vourlakos 6cb97068c2 SidebarAutoHide support floating gap contains mouse
--floating gap window is now activated independently of
kwin edges supports and only when really needed.
SidebarAutoHide visibility mode has been adjusted in order
to work nicely with floating gap window helper
5 years ago
Michail Vourlakos 0d02a92733 increase hide timer specific SidebarAutoHide msecs
--when the user has triggered its showing. It must be
given enough time for the user to observed the sidebar
contents before checking out if the sidebar must hide.
5 years ago
Michail Vourlakos 01a17ea9ba visibility:update hide timer interval handling
--hide timer now has a default/user set value but
it can also become with different intervals if
specific codepaths require it.
5 years ago
Michail Vourlakos 3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
5 years ago
Michail Vourlakos 0784c0dacd improve View isFloatingPanel semantics 5 years ago
Michail Vourlakos ee9c69ad8b Details,Colors, choose color name as display role 5 years ago
Michail Vourlakos a37d4df09c Details:Layouts ComboBox in form layouting style 5 years ago
Michail Vourlakos b918d3e965 provide proper Colors model for Details dialog 5 years ago
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
5 years ago
l10n daemon script 8b6ae2439a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script 22f8e1a4fd GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos a4767b36c0 rename details info to details options 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 ca5cc6015d add color combobox in Details window 5 years ago
Michail Vourlakos dc62bde8aa add dialogs for background,textColor buttons 5 years ago
Michail Vourlakos 14559ba747 add buttons in Details window
--buttons to change color,background and
text color layout options
5 years ago
Michail Vourlakos 3c54759989 provide theme roundness calculations through mask 5 years ago
Michail Vourlakos 9ed0f17a9b new roundness discovery through shadows
--the new code succeeds in more cases and
trys also to handle some wrongly designed
cases such the Air plasma theme that provides
zig-zag corner shadows
5 years ago
Michail Vourlakos 0f2562aa5e smart way to identify plasma theme hasShadows
--many plasma themes disable their shadows with
settings their opacity to zero instead of removing
their shadow elements. In such case the new approach
sets the hasShadow flag to zero
5 years ago
Michail Vourlakos 059b78ebc0 add missing header 5 years ago
Michail Vourlakos 2db4ffb479 improve plasma theme roundness discovery
--the new approach is first tracking panel-background
shadows if they are available and shown in order to
identify the plasma theme panel background roundness
5 years ago
Michail Vourlakos 3c0060ba1d update panel background paddings calculations
--Plasma::FrameSvgItem margins are not consintent
in order to provide helpful hints how plasma theme
panel-background svg is drawn properly. The new
approach calculates paddings based on top,left,bottom,right
svg elements and in that way a consistent a properly
background.minimumThickness is discovered.
5 years ago
Michail Vourlakos dedb8a0153 remove deprecated code 5 years ago
Michail Vourlakos e00ec530c9 update primary config advanced mode properly
--each View has its own advanced level identification.
5 years ago
Michail Vourlakos 5e78a0a3c7 provide all background corners option
--provide an option to force showing of all background
corners
5 years ago
Michail Vourlakos af37c31f36 support theme length paddings
--update layouter, background and layoutscontainer
in order to take into account the background length
paddings
5 years ago