Commit graph

609 commits

Author SHA1 Message Date
Marco Martin
a79a7f31f8 dismiss applet edit mode by touch 2021-05-04 12:46:27 +02:00
Marco Martin
bd55057933 keep edit mode when drag stops 2021-05-04 12:46:27 +02:00
Marco Martin
7b59670deb put the footer in the scroll away area 2021-05-04 12:46:27 +02:00
Marco Martin
d7af742066 fix the horizontal or vertical scroll decision 2021-05-04 12:46:27 +02:00
Marco Martin
c3959d056d clip 2021-05-04 12:46:27 +02:00
Marco Martin
0576a15acc remove debug message 2021-05-04 12:46:27 +02:00
Marco Martin
9848184226 remove the spacer when dropping 2021-05-04 12:46:27 +02:00
Marco Martin
8a2d7edbb7 respect screen boundaries 2021-05-04 12:46:27 +02:00
Marco Martin
91e763d4a3 remove bottom margin from page indicator 2021-05-04 12:46:27 +02:00
Marco Martin
434ec6fdf9 clicking panel home button goes to page 0 2021-05-04 12:46:27 +02:00
Marco Martin
66bf27b9e4 let LauncherRepeater know about thefavorite strip 2021-05-04 12:46:27 +02:00
Marco Martin
ee6f80de62 fix auto scrolling with drag and drop 2021-05-04 12:46:27 +02:00
Marco Martin
e27cdfdf55 mode droparea and appletslayout in own component
still casuses warnings and not fully functional but mostly works
2021-05-04 12:46:27 +02:00
Marco Martin
6366d5bfaf more natural switching behavior 2021-05-04 12:46:27 +02:00
Marco Martin
f8cc7100aa don't let horizontal scroll over limits 2021-05-04 12:46:27 +02:00
Marco Martin
e27b45574c support auto scroll with actual dnd 2021-05-04 12:46:27 +02:00
Marco Martin
dff5809c59 better management of dragging to new pages 2021-05-04 12:46:27 +02:00
Marco Martin
70805d04eb finished moving the horizontal flicking in component 2021-05-04 12:46:27 +02:00
Marco Martin
5393452390 move the main flickable in own file 2021-05-04 12:46:27 +02:00
Marco Martin
3ce188ee46 horizontal auto scroll works better 2021-05-04 12:46:27 +02:00
Marco Martin
401efee30f make containment a focusscope 2021-05-04 12:46:27 +02:00
Marco Martin
1aca3951a1 remove unwanted changes in the top panel 2021-05-04 12:46:23 +02:00
Marco Martin
9c080a2676 snap for horizontal page scrolling 2021-05-04 12:42:26 +02:00
Marco Martin
e4d297dd73 multi page horizontal scrolling
possibility of dragging icons and applets beyon the horizontal screen
boundaries, creating multiple pages that can be horizontally flicked
2021-05-04 12:42:14 +02:00
Devin Lin
0ed2053e79 Rework top panel and improve appearance 2021-04-09 20:59:05 +00:00
Vlad Zahorodnii
ab9f489b36 Remove unused forward declaration of PlasmaWindowModel 2021-03-25 10:09:48 +02:00
Alexander Lohnau
a5df3ebdcb
clang-tidy: Force braces around statements 2021-03-19 08:54:50 +01:00
Alexander Lohnau
854742efcc
Run clang-format
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-03-19 08:52:24 +01:00
Alexander Lohnau
88ef5ea9b7
GIT_SILENT Prevent clang-format uglification 2021-03-19 08:51:58 +01:00
Devin Lin
cb72ee350d Fix panel clock from not respecting 12/24 hour settings 2021-03-09 19:04:29 +00:00
Devin Lin
7f7bea091e Use high-brightness and low-brightness icons in the top panel, and remove label 2021-03-09 12:28:40 -05:00
Marco Martin
113fe48caf 2 step top panel slide
a top panel can be just "half" opened showing only the top row of icons. don't duplicate the icons but dynamically fade in/out those making also possible to open the drawer completely by a single, longer swipe
2021-03-09 12:52:17 +00:00
Devin Lin
9854558a1b Fix panel icon sizing
Ensure integer pixel margins
2021-03-05 18:50:48 -05:00
Marco Martin
66f13653ae remove code pushed by mistake 2021-03-05 14:37:17 +01:00
Marco Martin
5814fd9696 apporder reflects favorites
keep in sync the first items of apporder which will always be favorites.

this should fix the favorites spontaeous reordering that sometimes
happen
2021-03-05 14:37:17 +01:00
Devin Lin
b81d29d2c2 Change task panel down icon to symbolic 2021-03-04 18:44:07 -05:00
Aleix Pol
13f21bf23b Port to use IconItem again 2021-03-04 15:54:56 +00:00
Aleix Pol
31fceb18f8 Prioritise hiding the virtual keyboard
Now that the virtual keyboard appears right over the panel, change the
close window button to a hide button. When the virtual keyboard is
hidden, now you get the big X to close.
2021-03-04 15:54:56 +00:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Noah Davis
ed4d713ffb Use Header colors for top panel
Apps use this colorset now. Not using this color set causes the top panel to look weird.
2021-02-28 00:23:21 -05:00
Marco Martin
b044fd156d fix horizontal scrolling of applets
try harder to not have the applet outside of boundaries
2021-02-25 18:02:40 +01:00
Aleix Pol
9bda1b66ff Remove call to an element that doesn't exist
I imagine this was ported away from Loader but it's not anymore.
2021-02-24 16:02:54 +01:00
Devin Lin
7a740a2f5d Tweak app drawer behavior
- Only trigger the app drawer open/close animation if the flick goes over an eighth of the screen so that small flicks do not trigger it
- Adjust easing curve to be OutQuad so that fast flicks don't feel slow (have to slow to a stop, and then animation triggers)
- Increase animation duration to account for OutQuad curve
- Animate opacity of application icons as the app drawer comes in and out
2021-02-22 16:08:43 +00:00
Marco Martin
40f6abd78e enable the drag handler only when the containment has focus
this way it doesn't steal events anymore from the widget explorer
2021-02-22 14:59:15 +01:00
Devin Lin
17938b31ae Close sliding panel as soon as it's off the screen for no delay 2021-02-22 12:22:07 +00:00
Devin Lin
f231b04bdc Cancel sliding panel animations on touch so it's more responsive 2021-02-22 12:22:07 +00:00
l10n daemon script
006cb7f865 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-18 07:54:49 +01:00
Marco Martin
ed91354960 respect max favorite count when dropping 2021-02-16 13:37:50 +01:00
Marco Martin
00d63af2da More familiar behavior for the App Drawer
This makes the behavior of the app drawer a bit more familiar and
slightly more similar to Android for now:

* The drawer always contains every application
* Applications are always alphabetically ordered
* The drawer opens completely, not staying stuck in "in between" states
* is possible to drag more copies of a single app on the homescreen/favorites
* possible to remove an icon from the homescreen or favorites

Two things have been prepared in there (but are material for 5.22 only,
so not finished)

* Things have been reordered such in a way that makes easy for most of
the qml files to become components to make easy for people to build
their own customized homescreen
* basic infrastructure is there to allow for multiple horizontal pages
scroll, though not implemented yet as needs changes to plasma-workspace
layouting code beforehand
2021-02-15 16:25:39 +05:30
Yuri Chornoivan
cd4675b33e Add i18n() 2021-02-10 19:00:51 +02:00