Michail Vourlakos
0edbd9a66a
widgets explorer: initialize windows flags earlier
...
--this way we avoid in wayland to draw window decoration
2021-01-16 19:49:32 +02:00
Michail Vourlakos
754fb85133
avoid crash in wayland from Widgets Explorer
2021-01-16 19:41:57 +02:00
Michail Vourlakos
84d4d4cef7
provide latte internal widget explorer
2021-01-16 19:12:42 +02:00
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.
2021-01-15 22:29:00 +02:00
Michail Vourlakos
69df6400f2
rename launchersignals to syncedLaunchers
...
--that is more appropriate name for synced
launchers latte launchers handler
2021-01-14 20:21:12 +02:00
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
2021-01-13 22:53:55 +02:00
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
2021-01-10 13:14:07 +02:00
Michail Vourlakos
09294b8599
sync configuration to files after save configs
2021-01-10 12:43:19 +02:00
Michail Vourlakos
e404abde4e
fix editThickness for latte panels
2021-01-08 00:45:33 +02:00
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
2021-01-07 15:02:16 +02:00
Michail Vourlakos
f8cce7acfa
fix normalThickness value
2021-01-06 22:59:05 +02:00
Michail Vourlakos
919b0cbf8c
rename view property
2021-01-06 22:02:54 +02:00
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.
2021-01-06 21:29:34 +02:00
Michail Vourlakos
b9b41317ca
reduce interval for Parabolic Nullifier
2021-01-05 21:39:48 +02:00
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
2021-01-01 16:16:26 +02:00
Michail Vourlakos
6a6e47c657
plenty of fixes for moving/dragging applets
2020-12-31 16:58:53 +02:00
Michail Vourlakos
2fd5f51e8d
fixes for justify alignment arrangement
2020-12-31 16:58:53 +02:00
Michail Vourlakos
2e7dcb5428
refactor rely on c++ to provide justify alignment
...
--c++ takes the burden to validate the Justify alignment
2020-12-31 16:58:53 +02:00
Michail Vourlakos
c2595ba170
fix missing header
2020-12-31 16:56:27 +02:00
Michail Vourlakos
c7fedca8b6
remove margins from SinkAreas
2020-12-30 09:30:29 +02:00
Michail Vourlakos
1b23e3669b
field QQuickItem pointers for Parabolic/EventsSink
...
--avoid crashes when the relevant destination/origin
quickitems are deleted during their events processing
2020-12-29 21:54:31 +02:00
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
2020-12-29 21:18:21 +02:00
Michail Vourlakos
de6f2282e6
remove all padding events code
...
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
2020-12-29 19:36:58 +02:00
Michail Vourlakos
bc50b437e9
introduce View::EventsSink
2020-12-29 19:32:25 +02:00
Michail Vourlakos
60aa17dada
fix missing header
2020-12-29 07:40:19 +02:00
Michail Vourlakos
ba9233684e
view:separate parabolic c++ code from view
...
--The parabolic effect c++ part of View now
leaves in its own class
2020-12-28 23:36:28 +02:00
Michail Vourlakos
b5ceb4d91a
tasksparabolic:use view triggering values
2020-12-28 10:23:36 +02:00
Michail Vourlakos
259f04f7c9
view:forward ParabolicEnter from c++
2020-12-28 10:11:11 +02:00
Michail Vourlakos
17865ee21a
task parabolic more fixes for its implementation
2020-12-28 09:51:10 +02:00
Michail Vourlakos
dcde80e6ed
view::use a timer to nulify currentParabolicItem
2020-12-28 00:40:18 +02:00
Michail Vourlakos
a1ec6de412
tasks:make parabolic effect fixes
2020-12-27 23:37:46 +02:00
Michail Vourlakos
345d2823f6
simplify parabolic criteria in view
2020-12-27 20:58:16 +02:00
Michail Vourlakos
ae9836ccba
first iteration for new parabolic
2020-12-27 19:07:00 +02:00
Michail Vourlakos
3c17c2e839
settings:disable StaysOnTop hint
2020-12-27 14:18:03 +02:00
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
2020-12-27 13:52:32 +02:00
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.
2020-12-27 11:04:04 +02:00
Michail Vourlakos
4bf562c17b
remove unneeded line
2020-12-26 00:27:28 +02:00
Michail Vourlakos
0c153de58f
sinkedevents:optimize calculations
2020-12-25 19:20:16 +02:00
Michail Vourlakos
167a19b748
sinked events:respect Fitts Law
2020-12-25 19:08:21 +02:00
Michail Vourlakos
259d183179
dont be so verbose for sinked events
...
--so debug messages only for pressed sinked event
2020-12-25 14:20:52 +02:00
Michail Vourlakos
74d9065f1f
change applets margins/paddings approach
2020-12-25 13:17:12 +02:00
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.
2020-12-25 01:14:11 +02:00
Michail Vourlakos
746f32050d
adjust mouse events relevant to view paddings
2020-12-24 19:27:11 +02:00
Michail Vourlakos
b06e164f53
expose view padding through qml
2020-12-24 18:25:23 +02:00
Michail Vourlakos
2deed2d10c
visibilitymanager use effects to hide/show mask
2020-11-30 21:06:24 +02:00
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"
2020-11-26 06:42:23 +01:00
l10n daemon script
d87bdb379a
GIT_SILENT made messages (after extraction)
2020-11-26 02:38:35 +01:00
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.
2020-11-19 09:44:49 +02:00
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
2020-10-28 10:27:35 +02:00
Michail Vourlakos
c7d11c443e
fix hiding of panels with mask technique
2020-10-27 19:12:48 +02:00
Michail Vourlakos
043c65e36c
remove irrelevant line
2020-10-27 18:36:03 +02:00
Michail Vourlakos
3a5acf9383
layouts:fix crash when switching memoryusage type
2020-10-25 17:00:17 +02:00
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
2020-10-25 10:46:43 +02:00
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
2020-08-31 21:28:07 +03:00
Michail Vourlakos
ef415e51fb
disable pause button for only one running activity
2020-08-31 21:14:26 +03:00
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
2020-08-31 19:27:42 +03:00
Michail Vourlakos
5e50147848
fixes for dock settings window
...
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
2020-08-31 18:37:49 +03:00
Michail Vourlakos
7c542e6246
update layouts activities when activity is removed
2020-08-31 10:43:37 +03:00
Michail Vourlakos
a02056b4c8
ignore activities that are not currently present
2020-08-31 01:37:13 +03:00
Michail Vourlakos
0563b2d21b
add command line version option
2020-08-30 21:35:56 +03:00
Michail Vourlakos
e4714d748f
dont load freeactivities layouts if no frees
2020-08-30 21:31:13 +03:00
Michail Vourlakos
8448f36ed9
check layout valid activities
2020-08-30 21:28:22 +03:00
Michail Vourlakos
567e3ab78f
initmultiple:update activities for specific layout
2020-08-30 20:38:39 +03:00
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
2020-08-30 20:32:13 +03:00
Michail Vourlakos
5101a1314e
fix switch button for single layout mode
2020-08-30 17:14:20 +03:00
Michail Vourlakos
9428027aff
provide universalsettings upgrade path for v0.10
2020-08-30 14:57:31 +03:00
Michail Vourlakos
eb627dd070
multiple mode:animate properly layouts unloading
2020-08-30 14:34:56 +03:00
Michail Vourlakos
41c2e2b033
refactor:improve Synchronizer:swithToLayout
...
--the new approach is much clearer and easy to
read that the deprecated one
2020-08-30 14:04:04 +03:00
Michail Vourlakos
95486a1296
syncing on settings startup is needed no more
2020-08-29 23:46:41 +03:00
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
2020-08-29 23:37:52 +03:00
Michail Vourlakos
d5e83280d2
refactor:simplify layout data access
2020-08-29 20:42:15 +03:00
Michail Vourlakos
dfbf83b4a1
activities menu:provide CurrentActivity option
2020-08-29 15:45:07 +03:00
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
2020-08-28 19:03:23 +03:00
Michail Vourlakos
bc87d53e83
updates for layouts model single mode
2020-08-28 17:58:39 +03:00
Michail Vourlakos
7393ac02eb
drop currentLayoutName as signal from synchronizer
2020-08-28 17:58:39 +03:00
Michail Vourlakos
a9774ff13f
update Switch button in Layouts table
2020-08-28 17:58:39 +03:00
Michail Vourlakos
f31c698330
expose sortByColumn for layouts mode
2020-08-28 17:58:39 +03:00
Michail Vourlakos
4d7e1dca83
update layouts table to support new approach
2020-08-28 17:58:39 +03:00
Michail Vourlakos
419886b2ea
identify dock changing layout in same visible area
2020-08-28 17:58:39 +03:00
Michail Vourlakos
0ee31eead6
update kwin disabled borders infrastructure
2020-08-28 17:58:39 +03:00
Michail Vourlakos
c7d163fdb6
plenty of fixes for multiple layouts
2020-08-28 17:58:39 +03:00
Michail Vourlakos
588349e91c
update text for Layout Read-Only
2020-08-28 17:58:39 +03:00
Michail Vourlakos
527f865eda
fix last config view tracking for multiple layouts
2020-08-28 17:58:39 +03:00
Michail Vourlakos
42dedca86f
fixes for multiple layouts new approach
2020-08-28 17:58:39 +03:00
Michail Vourlakos
3689cc406d
retrieve available screen space through activityid
2020-08-28 17:58:39 +03:00
Michail Vourlakos
9026f931fd
fixes for corona available areas calcs
2020-08-28 17:58:39 +03:00
Michail Vourlakos
951668fff9
single informative window for activating layouts
2020-08-28 17:58:39 +03:00
Michail Vourlakos
2e120f9446
make Multiple mode work correctly
2020-08-28 17:58:39 +03:00
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
2020-08-28 17:58:39 +03:00
Michail Vourlakos
63bfc444c4
provide allactivities and free activities ids
2020-08-28 17:58:39 +03:00
Michail Vourlakos
fe34392e1f
fix #24 , typo
2020-08-28 17:57:36 +03:00
Michail Vourlakos
8553a2e511
discover plasma theme shadow size and color
2020-08-22 18:15:01 +03:00
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
2020-08-22 18:15:01 +03:00
Michail Vourlakos
bd16a0da69
provide self-calculated theme corners mask
2020-08-22 18:15:01 +03:00
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
2020-08-20 20:33:35 +03:00
Michail Vourlakos
fd47976c1a
provide margins for drop down menu buttons
2020-08-20 20:05:17 +03:00
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
2020-08-20 19:58:45 +03:00
Michail Vourlakos
dd46c79475
storage:expose applet plugins information
2020-08-20 17:28:29 +03:00
Michail Vourlakos
a36b49de77
data:extend generictable functionality
...
--provide different insert methods in order
to insert elements based on name or id sorting
criteria
2020-08-20 16:31:16 +03:00
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
2020-08-19 20:17:41 +03:00
Michail Vourlakos
8b836da44e
genericlayout:improve semantics for id references
2020-08-19 17:36:25 +03:00
Michail Vourlakos
3de29ece9b
drop subContaiment functions from genericlayout
...
--responsibility is now at Layouts::Storage singleton
class
2020-08-19 17:10:00 +03:00
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
2020-08-19 16:59:07 +03:00
Michail Vourlakos
46292bf7e5
layouts::storage,provide subcontainment identities
...
--a generic way to identify subcontainments such as
systrays, group applets etc...
2020-08-19 15:14:46 +03:00
Michail Vourlakos
ab2f416176
layouts::storage,functions for subcontainments
2020-08-19 15:01:45 +03:00
Michail Vourlakos
d4bed3881b
drop layout::storage totally
...
--use only the all new layouts::storage
singleton class for all layout storage
operations
2020-08-18 03:13:05 +03:00
Michail Vourlakos
d3c1f4d1a8
layouts::storage,move copyView() function
2020-08-18 02:56:33 +03:00
Michail Vourlakos
53a0cb6574
layouts::storage, move syncToLayoutFile() code
2020-08-18 02:23:34 +03:00
Michail Vourlakos
d97be6744d
layouts::storage, move isBroken() function
2020-08-18 02:15:28 +03:00
Michail Vourlakos
9a1346d04a
layouts::storage support importToCorona()
2020-08-18 01:56:11 +03:00
Michail Vourlakos
2fd9d6cbfd
layout::storage move private functionality
...
--move private functionality to singleto class
2020-08-18 01:44:10 +03:00
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
2020-08-18 01:23:41 +03:00
Michail Vourlakos
9ff834ccae
layouts:define custom text properly
...
--store the full text color in layout file
2020-08-17 19:00:48 +03:00
Michail Vourlakos
d3a0b3cf31
details:confirm layout change,save data when needed
2020-08-17 18:27:21 +03:00
Michail Vourlakos
7695443a90
details:update buttons state on dataChanged
2020-08-17 17:17:14 +03:00
Michail Vourlakos
131ce454f2
fix IconData references based on Data::Generic type
2020-08-17 16:26:53 +03:00
Michail Vourlakos
5cb0277682
make layoutstable generic table dependent
2020-08-17 16:17:11 +03:00
Michail Vourlakos
3c92b04cbc
provide generic table datatype
2020-08-17 15:20:39 +03:00
Michail Vourlakos
519decb85c
update layoutstable remove function
2020-08-17 14:45:54 +03:00
Michail Vourlakos
188aa10b40
update datatypes to use generic data type
2020-08-17 14:40:32 +03:00
Michail Vourlakos
1af16862bf
provide Data::Generic to be used from datatypes
2020-08-17 14:26:28 +03:00
Michail Vourlakos
9f7f846318
provide applet internal data type
2020-08-17 14:16:05 +03:00
Michail Vourlakos
fb843776a0
set document-new icon for New Templates menu items
2020-08-14 11:03:31 +03:00
Michail Vourlakos
7ef74d2096
sync settings before exporting
2020-08-14 10:52:13 +03:00
Michail Vourlakos
043849c4e7
templates:track properly hidden multiple template
2020-08-14 10:34:34 +03:00
Michail Vourlakos
37d629125c
drop deprecated presets/prestyles etc...
...
--we now use templates directory
2020-08-14 10:02:41 +03:00
Michail Vourlakos
5876548a7d
drop deprecated importing layout presets
2020-08-14 09:57:39 +03:00
Michail Vourlakos
6dd3d96bfb
update MultipleLayoutsHidden file importing
2020-08-14 09:41:23 +03:00
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
2020-08-14 09:33:39 +03:00
Michail Vourlakos
5ed3f111e3
update Layout::MULTIPLELAYOUTSHIDDENNAME
...
which is used to identify multiple layouts hidden
base layout
2020-08-14 09:08:01 +03:00
Michail Vourlakos
ba178e534d
add missing signals when adding new layout
2020-08-13 22:23:59 +03:00
Michail Vourlakos
50c419d4e4
upgrade importDefaultLayout codepaths
...
--use Templates::Manger in order to import
default layout on startup
2020-08-13 21:28:52 +03:00
Michail Vourlakos
15dc6f5eac
move newLayout from layoutsmanager to templates
2020-08-13 20:42:38 +03:00
Michail Vourlakos
0393e0ff35
settings:improve init of layout templates submenu
2020-08-12 19:07:48 +03:00
Michail Vourlakos
77515be7c6
settings:expose LayoutTemplates to New button
2020-08-12 18:56:46 +03:00
Michail Vourlakos
cd89f959e3
update layout system template identifying
2020-08-12 18:15:45 +03:00
Michail Vourlakos
19c96df252
update Layout::Manager::newLayout() function
...
--drop its presets support and update to all new
Layout Templates manager
2020-08-12 14:03:38 +03:00
Michail Vourlakos
edf06edeba
drop Layouts::Manager::presetsPaths
2020-08-12 13:51:28 +03:00
Michail Vourlakos
1b4d13959b
use new TemplateManager add default templatelayout
2020-08-12 13:42:45 +03:00
Michail Vourlakos
6e2d8143e5
improve Default Layout Template name is accessed
2020-08-12 12:59:55 +03:00
Michail Vourlakos
2fdbc134a1
load system layout templates properly
2020-08-12 12:59:55 +03:00
Michail Vourlakos
545404ec82
introduce all new templates manager
...
--this class is going to be responsible for all
templates tasks
2020-08-12 12:59:55 +03:00
Martijn Vogelaar
b207950cc7
#15 Drag drop layout text
2020-08-12 09:58:30 +00:00
Michail Vourlakos
3ea099a54b
update namespace for uniqueidinfo
2020-08-09 18:08:12 +03:00
Michail Vourlakos
4777e33a59
update namespace for PreferencesData
2020-08-09 18:05:33 +03:00
Michail Vourlakos
910f480a3d
rename data to layoutcolordata
2020-08-09 18:02:54 +03:00
Michail Vourlakos
47ef73041b
update data::layout... namespaces
2020-08-09 18:00:01 +03:00
Michail Vourlakos
b39c35b487
update namespace/name for Data::LayoutColor
2020-08-09 17:40:11 +03:00
Michail Vourlakos
805e37a368
update Layout::Data::ActivityData namespace
2020-08-09 14:22:53 +03:00
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
2020-08-09 14:11:06 +03:00