1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00
Commit Graph

2327 Commits

Author SHA1 Message Date
Michail Vourlakos
08327326ff provide functionality for ChooseDialog in Export 2021-02-12 20:51:27 +02:00
Michail Vourlakos
2dee058fdc provide Choose File Dialog for ExportTemplate 2021-02-12 19:10:23 +02:00
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
2021-02-10 20:13:15 +02:00
Michail Vourlakos
f020400aec provide ExportTemplate::Reset functionality 2021-02-10 20:05:13 +02:00
Michail Vourlakos
c57a69ae05 rename function in settings handler 2021-02-10 19:10:24 +02:00
Michail Vourlakos
6f58d09d06 reorganize settings dialogs in better structure 2021-02-09 20:22:31 +02:00
Michail Vourlakos
484270f416 disable clickable for AppletsTable Header Columns 2021-02-09 19:29:00 +02:00
Michail Vourlakos
869df6316c fix applets table data
--ignore applets data that are not valid
2021-02-09 19:15:51 +02:00
Michail Vourlakos
d40cdfceab improve CheckBox behavior in AppletsTable 2021-02-09 19:04:44 +02:00
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
2021-02-08 19:03:02 +02:00
Michail Vourlakos
650e43c9d1 provide functionality for buttons in exporttemplate 2021-02-07 21:27:08 +02:00
Michail Vourlakos
fcfcf8ca51 provide reset button functionality 2021-02-07 21:04:00 +02:00
Michail Vourlakos
e50d9e33a7 provide some applets with no personal data 2021-02-07 20:56:10 +02:00
Michail Vourlakos
dd2d125c70 add buttons in exporttemplatedlg 2021-02-07 18:47:20 +02:00
Michail Vourlakos
222caf28da provide select/deselect all buttons in exportdlg 2021-02-07 18:27:46 +02:00
Michail Vourlakos
a4c70b0922 decouple ExtractTemplateDlg from SettingsWindow 2021-02-07 18:07:45 +02:00
Michail Vourlakos
156b2190a8 checkability for AppletsTable in ExportTemplateDlg 2021-02-07 13:43:10 +02:00
Michail Vourlakos
f63622db0f provide headers fixes for AppletTable in ExportDlg 2021-02-07 13:13:06 +02:00
Michail Vourlakos
a45b97a2b1 provide basic implementation of ExportTemplateDlg 2021-02-07 12:53:10 +02:00
Michail Vourlakos
0943ecb42e provide AppletsModel for ExportTemplateDialog 2021-02-07 12:02:50 +02:00
Michail Vourlakos
674888800d introduction of exporttemplatedialog 2021-02-06 19:19:12 +02:00
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
2021-02-06 12:32:54 +02:00
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
2021-02-06 00:14:11 +02:00
Michail Vourlakos
390ea0596c provide newView function for Layouts::Storage 2021-02-05 23:47:51 +02:00
Michail Vourlakos
eff0fab134 expose view templates through Dock settings window 2021-02-05 19:05:04 +02:00
Michail Vourlakos
1f5f6cd69a provide view templates through manager 2021-02-05 18:38:58 +02:00
Michail Vourlakos
4222811de2 remove debug message 2021-02-05 17:54:45 +02:00
Michail Vourlakos
561f0168c0 fixes for abilities and KHNS 2021-02-05 17:06:12 +02:00
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"
2021-02-04 06:59:16 +01:00
Michail Vourlakos
1e8ec1380d track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
2021-02-03 00:34:53 +02:00
Michail Vourlakos
f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
2021-02-02 22:29:27 +02:00
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
2021-02-02 12:31:25 +02:00
Michail Vourlakos
7af60c802d provide isHidingBlocked through MyView Ability 2021-01-31 23:05:54 +02:00
Michail Vourlakos
df03f51fdc increase initial size for View 2021-01-28 00:41:19 +02:00
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"
2021-01-27 08:55:30 +01:00
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.
2021-01-25 22:16:31 +02:00
Michail Vourlakos
e9ecec47dc containment: more improvements for indicators api 2021-01-25 20:42:56 +02:00
l10n daemon script
bba3c292b8 GIT_SILENT made messages (after extraction) 2021-01-24 02:43:32 +01:00
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.
2021-01-24 01:11:56 +02:00
Michail Vourlakos
cfb382002b update containmentActions properly when recreating 2021-01-23 23:37:13 +02:00
Michail Vourlakos
52490c6d7c fix crash when updating indicators 2021-01-23 21:16:13 +02:00
Michail Vourlakos
3e055914c0 provide a dragging corner in dock settings window 2021-01-23 19:29:38 +02:00
Michail Vourlakos
c777fca05a improve vastly user interaction with indicators uis 2021-01-23 15:04:05 +02:00
Michail Vourlakos
15c0220334 update dock settings window to use stackview 2021-01-23 00:36:11 +02:00
Michail Vourlakos
546b945fff fix how tasks model in update for destroyed 2021-01-22 22:54:38 +02:00
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
2021-01-22 21:58:37 +02:00
Michail Vourlakos
f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
2021-01-22 19:09:12 +02:00
Michail Vourlakos
397e1324e9 update name to view.inRelocationAnimation 2021-01-19 21:14:09 +02:00
Michail Vourlakos
7a4010abc1 instantiate properly widget explorer 2021-01-16 21:43:36 +02:00
Michail Vourlakos
b6f4550c08 raise view window to set it in front layer 2021-01-16 20:57:07 +02:00
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