Devin Lin
1c6db427ab
homescreen: Move into folder
...
Prepares for the addition of new types of homescreens.
2022-05-17 23:19:11 -04:00
Yari Polla
6b058ec9d9
homescreen: avoid darken launchers when swiping app drawer visibility
2022-05-18 00:44:13 +00:00
Yari Polla
44f701b67b
homescreen: disable favourite launchers when in app drawer
2022-05-18 00:44:13 +00:00
l10n daemon script
4c83a3e422
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"
2022-05-15 01:57:29 +00:00
Devin Lin
62e7dce24a
kcm: Add reduced animation mode
...
Implement #190 reduced animations mode
2022-04-29 20:02:37 -04:00
Laurent Montel
401620e365
Fix some qt6 compile errors
2022-04-24 13:44:41 +02:00
Devin Lin
5ca4a3665b
homescreen: Fix pinned row being interactive when app drawer is open
...
Attempt to fix #191
2022-04-20 21:33:56 -04:00
Nicolas Fella
6099bf491f
Use undeprecated install dirs
...
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
2022-04-21 01:27:43 +00:00
Yari Polla
ba2d6bf64d
homescreen: deactivate home screen flick container when an applet is in edit mode
2022-04-20 21:53:02 +02:00
Devin Lin
635f86e02f
taskpanel: Try to ensure dimension bindings are always set
2022-04-07 22:08:36 -04:00
Devin Lin
57192b772b
actiondrawer: Add restricted permission mode, and implement on lockscreen
2022-04-07 14:11:08 -04:00
Devin Lin
3969973e51
mobileshell: Refactor and collapse stackBefore and stackAfter into ShellUtil
2022-04-07 10:52:12 -04:00
Devin Lin
0235868fa1
taskpanel: Fix top panel offset in landscape
2022-04-06 23:30:11 -04:00
Devin Lin
3488d2b0f3
panel & taskpanel: Fix panel colour on homescreen when shell windows are open
...
Fixes #161
2022-04-06 21:18:47 -04:00
Devin Lin
c9422bc439
homescreen: Fix config options coming up when holding on search and switcher
2022-04-06 21:01:18 -04:00
Devin Lin
c8a366cbbd
homescreen: Add scale animation when going to homescreen
2022-04-06 17:59:36 -04:00
Devin Lin
f861e2df3f
mobileshell: Move KWayland related window functions to utility class
2022-04-06 17:18:20 -04:00
Devin Lin
5e807a555b
homescreen: Ensure app delegate zoom animation doesn't run at start
2022-04-06 13:49:59 -04:00
Devin Lin
5e48cb1cc1
homescreen: Fix stackBefore call
2022-04-06 13:40:28 -04:00
Devin Lin
62f7ffc074
homescreen: Add launch delegate animation
2022-04-06 13:13:38 -04:00
Devin Lin
b7c8c462c5
homescreen: Improve readability of app delegate text
2022-04-06 12:04:57 -04:00
Devin Lin
2e6c1f837e
homescreen: Collapse library into mobileshell and containment
2022-04-05 22:06:05 -04:00
Devin Lin
6047c703b4
homescreen: Add metadata for it to be a desktop containment
2022-04-05 20:18:26 -04:00
l10n daemon script
8e13435ccb
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"
2022-03-29 02:17:10 +00:00
Devin Lin
529f42296a
homescreen: Ensure signal is listened to for closing startup feedback on error
2022-03-20 14:24:44 -04:00
Devin Lin
72f36f1bf6
libmobileshell: Move non-API components to declarative and use PW API for keyboard
...
t
2022-03-18 22:59:42 -04:00
Devin Lin
9941c23752
quicksettings: Move all quick settings to kpackage
2022-03-16 23:20:51 -04:00
Devin Lin
4b53b4da5c
Revert "Add support for task reordering based on ordering history"
...
This reverts commit 3a09014754
2022-03-12 22:17:12 +00:00
Yari Polla
3a09014754
Add support for task reordering based on ordering history
2022-03-12 21:56:13 +01:00
Devin Lin
df2eb79559
navigationpanel: Make opaque when keyboard is open
...
Addresses https://invent.kde.org/plasma/plasma-mobile/-/issues/163
2022-02-21 00:53:28 -05:00
Devin Lin
2fa24cd0e2
taskpanel: Ensure window color group is used, not header
...
It seems we had this set to the header color group for the longest time, which didn't actually work (it defaulted to the window color group). It appears to have been fixed, and so the issue surfaced.
2022-02-16 21:21:00 -05:00
l10n daemon script
ee113b8cdc
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"
2022-02-14 01:43:34 +00:00
Devin Lin
8f9f722ca7
navigationpanel: Add ability to toggle between gesture only and shown navigation panel modes
...
Addresses: https://invent.kde.org/plasma/plasma-phone-components/-/issues/140
2022-02-13 04:23:57 +00:00
Devin Lin
3453760dd3
taskpanel: Fix close action
2022-02-12 09:36:34 -05:00
Devin Lin
dca8064ca2
actiondrawer: Use passed in notifications model and settings
2022-02-11 17:50:17 -05:00
Devin Lin
0dae893cd2
taskswitcher: Remove global variable calls
2022-02-11 13:09:19 -05:00
l10n daemon script
9cf37ea66c
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"
2022-02-11 01:46:47 +00:00
Devin Lin
6607c8e6a7
homescreen: Fix broken binding
2022-01-03 01:14:17 -05:00
Devin Lin
f22a1e0b8c
homescreen: Add search widget
2022-01-03 00:25:44 -05:00
Devin Lin
aff0064b62
homescreen: Fix favourites strip swipe
2021-12-30 21:11:21 -05:00
Devin Lin
57a4a28fe3
homescreen: Extract out state management to HomeScreenState and use single flickable
2021-12-30 19:49:08 -05:00
Devin Lin
906c169f26
startupnotifier: Import and integrate into homescreen for performance
2021-12-29 00:08:32 -05:00
Devin Lin
1c81cd34b4
taskswitcher: Rewrite without listview and extract state to TaskSwitcherState
2021-12-27 01:35:24 -05:00
Devin Lin
57175abcf4
taskpanel: Refactor and cleanup
2021-12-25 00:11:28 -05:00
Devin Lin
97e1e4d53c
homescreen: Fix lack of margin for taskpanel on landscape in appdrawer
2021-12-24 23:20:32 -05:00
Devin Lin
4057122fb0
taskswitcher: Move component to homescreen and remove popup window
2021-12-24 22:31:33 -05:00
Devin Lin
e407e76233
homescreen: Refactor and split out homescreen component
2021-12-24 20:17:08 -05:00
Devin Lin
2d87bb3e65
taskpanel: Extract navbar and task switcher to components/mobileshell
2021-12-24 19:18:38 -05:00
Devin Lin
4a3f855173
REUSE compliance, add check to CI, drop unused components
2021-12-23 16:02:41 +00:00
Devin Lin
6653ad6e54
panel: Refactor panel and implement blue ocean mockups
2021-12-22 23:29:00 +00:00
Bhushan Shah
9711d4af10
panel: ask KWin for native resolution screenshots
...
Potentially fixes the broken screenshots with GLES
2021-12-04 14:30:47 +00:00
Aleix Pol
f81271d303
homescreen: Fix silly type name error
2021-11-10 12:55:41 +01:00
Devin Lin
2db6d393dc
Fix task jump
2021-10-31 15:40:39 -04:00
Devin Lin
daa40c0759
Fix scale calculation
2021-10-31 15:21:02 -04:00
Devin Lin
89c0477b8d
Fix current index calculation, and refactor
2021-10-31 12:40:36 -04:00
Devin Lin
bb3b6959ac
Fix activate
2021-10-31 00:14:50 -04:00
Devin Lin
fc818bcf7f
Major refactor and smoothen alignment
2021-10-31 00:11:10 -04:00
Devin Lin
16615e37cb
Ensure that homescreen is not showing when task switcher opens
2021-10-28 22:08:36 -04:00
Devin Lin
dcbdf8f101
Add overswipe gesture
2021-10-28 22:08:36 -04:00
Devin Lin
43c327655d
Improve smooth offset behaviour
2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442
Revamp task switcher
2021-10-28 22:08:36 -04:00
Devin Lin
25e0f99f43
homescreen: Add swipe down panel gesture
2021-10-28 21:54:52 -04:00
Devin Lin
0100d26024
Fix broken reset homescreen position signal, and minor refactor
...
Closes #122
2021-10-28 20:11:01 -04:00
Aleix Pol
0cd4f91ec4
Port away from PlasmaComponents 2.0 on most places
2021-10-22 16:34:03 +00:00
Devin Lin
b091ce2ac3
Rework app drawer layout and open/close behaviour logic
2021-10-22 15:48:31 +00:00
Devin Lin
e168b2bdb6
panel: Fix quicksetting delegate width not getting enforced on label
2021-10-18 14:56:43 +00:00
Aleix Pol
1eb7965fca
HomeScreen: Support the meta key
...
While using the shell, add some value to the Meta key so the shell is
more useful when using a keyboard.
2021-10-18 11:12:43 +00:00
Devin Lin
7df05e09be
panel: Rework panel layout, and refactoring
2021-10-12 13:50:36 +00:00
David Faure
5411b8c962
Merge remote-tracking branch 'origin/Plasma/5.23'
2021-10-02 14:02:23 +02:00
David Faure
5c6c094dd2
Fix path->URL conversion error, detected by -DQT_NO_URL_CAST_FROM_STRING
2021-10-02 14:01:56 +02:00
Devin Lin
f599a6897d
taskpanel: Make the vertical form factor offset a bit smaller.
2021-09-29 15:48:58 +00:00
Aleix Pol
1554008648
taskpanel: Use the form factor to define the position we are on
...
Instead of the panel state itself. That would arrive at different points
in the event and sometimes plasma would set the offset to the horizontal
panel. This should remove this case by only setting the offset when the
panel is in the state that needs it.
2021-09-29 15:48:58 +00:00
Aleix Pol
cfcab16fb2
Do not show "Sim Locked" when there's no SIM card
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
(cherry picked from commit d238aa3031 )
2021-09-29 12:29:54 +00:00
Aleix Pol
8335934aef
As an acronym, SIM should be upper-case
...
It stands for Subscriber Identity Module
2021-09-29 01:01:39 +02:00
Aleix Pol
d238aa3031
Do not show "Sim Locked" when there's no SIM card
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
2021-09-29 01:01:39 +02:00
Aleix Pol
f6c1d727d7
Revert "phonepanel: Keep the Quick Settings buttons the same size"
...
This reverts commit c4903c25b9 .
(cherry picked from commit 43f2f293cf )
2021-09-27 23:20:24 +00:00
Aleix Pol
43f2f293cf
Revert "phonepanel: Keep the Quick Settings buttons the same size"
...
This reverts commit c4903c25b9 .
2021-09-27 14:01:08 -04:00
Aleix Pol
6d1a9ed153
phonepanel: Keep the Quick Settings buttons the same size
...
Instead of doing weird UI puzzles, just let them elide their text. This
solves binding loops and makes the look overall more predictable.
(cherry picked from commit c4903c25b9 )
2021-09-16 23:25:10 +00:00
Aleix Pol
c4903c25b9
phonepanel: Keep the Quick Settings buttons the same size
...
Instead of doing weird UI puzzles, just let them elide their text. This
solves binding loops and makes the look overall more predictable.
2021-09-16 10:27:45 +00:00
Tobias Fella
89dbff8995
Port signal strength indicator to ModemManager
2021-09-15 16:19:47 +00:00
Aleix Pol
4bba6ac402
units -> PlasmaCore.Units
2021-09-13 18:59:35 +02:00
Aleix Pol
4a52d8b791
Open KScreen KCM on auto-rotate long press
2021-09-10 02:40:53 +02:00
Aleix Pol
4aa1bc3a8c
Make it possible to move windows between screens if there's more than one
2021-09-10 00:29:28 +00:00
Aleix Pol
31448728b8
Make the phoneshell a bit more flexible
...
Use plasma-open-settings to open configs instead of directly
plasma-settings.
This way we're less dependent on specific set up.
2021-08-31 17:23:20 +02:00
Aleix Pol
d30744789f
Do not minimise windows from other screens
...
If a window from another screen is selected, don't minimise it.
Otherwise switching windows on the phone closes windows on the other
displays.
2021-08-31 16:29:44 +02:00
Aleix Pol
5dd617f289
It's called Wi-Fi
...
According to https://www.wi-fi.org/
2021-08-30 17:53:48 +02:00
Aleix Pol
46305ae4db
Don't let the drawer under right side panels either
2021-08-30 14:47:59 +00:00
Aleix Pol
9a0d71fcf1
Fix top panel on dark themes
...
Use PlasmaCore.IconItem rather than Kirigami.Icon
2021-08-30 00:07:24 +00:00
Aleix Pol
edcf70c263
taskpanel: Also add margins when the buttons are on the side (landscape)
...
Otherwise they look rather grotesque
2021-08-27 22:01:07 +02:00
Aleix Pol
a06bd89ec4
taskpanel: Put the controls at the right when on landscape mode
...
This way we don't lose otherwise precious screen real state on the
smaller
dimension.
2021-08-26 14:53:25 +02:00
Aleix Pol
989d6fdc1d
Port to the new org.kde.KWin.ScreenShots2 interface
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/85
2021-07-25 17:01:32 +00:00
Aleix Pol
441936186a
Port to use the new org.kde.kwin.VirtualKeyboard.visible property
...
Makes it possible to properly display the keyboard state when the
keyboard is hidden but still active.
2021-07-21 22:16:04 +00:00
Aleix Pol
9dfac82863
Move the Battery settings with its provider
...
And make use of it to show if it's plugged or not
2021-07-21 13:36:43 +00:00
Aleix Pol
dd888a707f
Make it possible for QuickSettings to be created in a KPackage
...
Move the NightColor one into a KPackage to prove it
2021-07-21 13:36:43 +00:00
Aleix Pol
9ac1cc139e
Move QuickSettingsModel to C++
2021-07-21 13:36:43 +00:00
Aleix Pol
0d7f10abbc
Move the Volume quick setting with its provider
...
So not to rely on global identifiers
2021-07-21 13:36:43 +00:00
Aleix Pol
3b212d7a55
QuickSettings: Simplify
...
Port away from ListModel, make it an array of QuickSetting objects
2021-07-21 13:36:43 +00:00
Aleix Pol
766fce50bd
Open KClock when the clock is tapped
2021-07-19 16:27:16 +00:00
Aleix Pol
4942e0e369
Make sure the closed signal is emitted upon close
...
Otherwise some events never happen, like the screenshot request.
2021-07-14 17:53:58 +00:00
Devin Lin
7c8fc77984
[panel] Fix not centered bottom arrow, and adjust top margin slightly
2021-07-02 18:43:08 -04:00
Alexander Lohnau
bacfccd323
applets: Use K_PLUGIN_CLASS_WITH_JSON instead of K_EXPORT_PLASMA_APPLET_WITH_JSON
...
Task: https://phabricator.kde.org/T14542
2021-06-19 06:52:49 +02:00
Marco Martin
7ef50d4af4
Top panel: some simplification and smoother
...
Simplify the code of the collapsing quick settings panel a bit, and make animations and positioning way smoother
2021-06-16 09:30:28 +00:00
Aleix Pol
0fc51bfb1e
Fix warning
...
Don't check a setting that doesn't exist.
2021-06-10 16:14:59 +02:00
Aleix Pol
d332582328
Port away from the global "theme" object to PlasmaCore.Theme
...
Like we've done for the rest of Plasma
2021-06-10 16:14:41 +02:00
Devin Lin
40419e48bc
Add advanced VolumeOSD to top panel
2021-06-09 13:28:59 -04:00
Marco Martin
b0b0e6f237
restore the widescreen mode
2021-06-09 15:50:40 +02:00
Nicolas Fella
210468572d
[taskpanel] Show app name instead of window title
...
I think this looks better since the window title is often too long to be properly displayed
2021-06-09 10:36:53 +00:00
Marco Martin
5da75348f7
Use Plasma Theme and layout fixes
...
This moves all background rendering of elements in the top sliding panel to use the plasma theme, making full use of themes that can be downloaded from the store, doing so decreases the usage of the Qt.GraphicalEffects import which is slow and not in Qt6. There are some layout and behavioral fixes especially in widescreen mode
2021-06-09 08:44:48 +00:00
Devin Lin
f292ca20f4
panel: remove unnecessary color changes for header panel when quicksettings open
2021-06-04 21:34:09 +00:00
Nicolas Fella
f53aae825d
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
2021-05-31 01:08:05 +02:00
Bhushan Shah
7bac59549d
indicators: do not needlessly scan again
...
When putting modem in online state it would already make it scan for
operator, we have no need to make it scan for operators again and waste
time for operation takes long time.
2021-05-14 15:01:01 +05:30
Devin Lin
f97d5db94b
Skip panel window open to improve performance
2021-05-09 19:32:32 -04:00
Marco Martin
690abebfd5
Make components out of the homescreen
...
Move most of the homescreen pieces in a QML import
that can be reused making it easier to do alternative homescreens
2021-05-05 12:31:08 +02:00
Marco Martin
0be66f024e
remove last remains of krunnerin homescreen directly
2021-05-04 14:14:45 +02:00
Marco Martin
8483bcbe0f
fix controlling from the bottom panel
2021-05-04 12:46:27 +02:00
Marco Martin
b98c7ec224
remove dead code
2021-05-04 12:46:27 +02:00
Marco Martin
7c9dbf08f2
proepr positioning of fav strip
2021-05-04 12:46:27 +02:00
Marco Martin
8ece4519b1
limit applet size to view size
2021-05-04 12:46:27 +02:00
Marco Martin
8cfdb80661
remove useless debug
2021-05-04 12:46:27 +02:00
Marco Martin
354ec7c8a5
restore contentY->offset sync
2021-05-04 12:46:27 +02:00
Marco Martin
c8078b8288
make the favorites slide together all the rest
2021-05-04 12:46:27 +02:00
Marco Martin
86b8269b55
proper margin for the nav pages
2021-05-04 12:46:27 +02:00
Marco Martin
73efc8a59d
show last page with a + when dragging
2021-05-04 12:46:27 +02:00
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
Marco Martin
4458d7355e
delay scroll reset after launch
2021-02-03 17:19:53 +01:00
Alexey Min
036edc24cb
Use loop instead of recursion
...
This fixes crash when clicking "screenshot" button
in the top panel on postmarketOS. The reason for crash
is that default thread stack size in musl libc is limited,
and recursion in a function with a 4 Kb buffer consumes
it all.
2021-02-01 17:52:33 +03:00
Nicolas Fella
8f92f6b4d6
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
GIT_SILENT
2021-01-30 17:23:02 +01:00
l10n daemon script
7c6cabf4a1
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-12-20 06:16:31 +01:00
Nicolas Fella
8014d1000c
Use PC3 instead of QQC2
...
In the shell we need to use PlasmaComponents, otherwise the style will
be off
2020-12-16 14:55:44 +00:00
Aleix Pol
3ca6a2d395
thumbnail: don't request the window stream until we first need it
...
This way we don't add more pressure upon application startup time. It
doesn't seem noticeable when showing the windows overview.
2020-12-10 03:49:35 +01:00
Aleix Pol
b7c508beb7
thumbnail: only keep the stream active if the window is shown
...
It does not make much sense to render the thumbnail when hidden,
especially on lower end devices like the pine.
2020-12-10 03:37:29 +01:00
Marco Martin
5809376938
propert visibility binding for notifications
2020-12-07 16:19:45 +01:00
Han Young
b34862e469
add notification for successful screenshot taking
2020-12-01 14:25:28 +00:00
Bhushan Shah
6969101760
Fix button toggle for night color and torch
...
The code which adds initial buttons only sets the initial property and
does not affect the binding, so we need to set this values manually
2020-11-19 17:01:28 +05:30
Devin Lin
94609d2590
Add night color quick setting
2020-11-19 02:57:27 +00:00
Jonah Brüchert
4dbf4dba42
Simplify QuickSettings
2020-11-16 08:36:42 +01:00
Jonah Brüchert
162f93a41d
quicksettings: Port to new delegate api
2020-11-16 08:36:38 +01:00
Han Young
55a9050b45
remove duplicate include
2020-11-16 14:56:43 +08:00
Han Young
a13831bc42
toggle action background color when toggling flashlight
2020-11-16 14:20:40 +08:00
Nicolas Fella
d3e03c6ca5
Fix launching settings from top drawer
2020-11-15 16:01:10 +01:00
Nicolas Fella
b19543b56a
Remove leftover gstreamer bits
...
We don't use gstreamer for torch access any more and it's unclear whether a future solution will.
Remove some leftover bits
2020-11-12 08:17:59 +00:00
Marco Martin
791c76f327
remove wrong height binding
2020-11-11 16:34:13 +01:00
Marco Martin
e7f82ab394
fix top panel sliding in vertical mode
...
encapsulate in an Item to force the proper implicitHeight, so
the top panel slide works on vertical screen also before it has been
rpotated to horizontal and back
2020-11-11 16:25:41 +01:00
Nicolas Fella
2fab1b0dd1
Add comment that torch path is hardcoded for now
2020-11-11 13:52:19 +01:00
Han Young
407ffc0f4c
Hardcoded pinephone torch
...
The current code use gstreamer to toggle flashlight, however gstreamer doesn't work in pinephone for now. this MR hardcode pinephone sysfs path for flashlight as a temporary workaround
2020-11-11 13:51:12 +01:00
Nicolas Fella
2cc612a3a6
Fix volume button handling
...
main is not defined
2020-11-08 22:45:59 +01:00
l10n daemon script
44f04e5c56
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-08 06:24:01 +01:00
Jonah Brüchert
a9fab248d3
Fix launching settings modules
2020-11-06 09:06:50 +01:00
Tobias Fella
fae8ac9969
Improve the signal strength indicator
...
Show 'Sim locked' instead of '0%' when Sim is locked
Don't show the percentage at all, it's redundant
2020-11-05 08:24:02 +00:00
l10n daemon script
4a6fdab931
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-05 06:37:15 +01:00
Bhushan Shah
da47c3d10c
Remove confusing entry from config which dumps the application list
2020-11-02 12:52:56 +05:30
Marco Martin
00103f57d8
icon in front of the thumbnail
2020-10-26 14:51:25 +01:00
Marco Martin
419a5ec08c
fix thumbnails
2020-10-26 14:35:37 +01:00
Devin Lin
d6dd1c1356
Task panel visual improvements
2020-10-24 16:46:45 +00:00
Nicolas Fella
4aee5533b3
Add quicksettings item for bluetooth
...
Now that we have bluetooth support add an item for it
2020-10-22 16:25:13 +02:00
Jonah Brüchert
f326853971
Port away from deprecated QProcess::startDetached overload
2020-10-19 18:11:43 +02:00
Bhushan Shah
c9ca9dac10
Update Screenshot dbus interface
...
Also mark shouldReturnNativeSize to true since we want to get correctly
scaled screenshot.
2020-10-19 20:50:31 +05:30
Jonah Brüchert
849cb5f88f
Use generated DBus interface
2020-10-01 13:49:32 +02:00
Bhushan Shah
51f4c454c0
phonepanel: fix taking screenshots
...
Use new API which supports native scaling on wayland and is used by the
spectacle instead of taking screenshot and then moving files around.
2020-10-01 13:21:32 +05:30
l10n daemon script
c735bf3bcf
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-09-20 05:52:17 +02:00
Devin Lin
cd4bf8d7c3
Apply settings 12/24 hour time format to lockscreen and panel time
2020-09-17 12:04:49 -04:00
Devin Lin
e6b055a915
Apply suggestions
2020-09-11 22:01:28 -04:00
Devin Lin
43603ed2ae
Use Kirigami's ColorScope
2020-09-11 21:57:56 -04:00
Devin Lin
8487ccb35e
Fix minor overlap
2020-09-12 00:56:12 +00:00
Devin Lin
e74833e9ab
Fix top panel being greyed out by SlidingPanel
2020-09-12 00:56:12 +00:00
Devin Lin
8eecc27cbc
Tweak delegate padding and color choice
2020-09-12 00:56:12 +00:00
Devin Lin
0308d1fd62
Use rounded edges for drawer
2020-09-12 00:56:12 +00:00
Devin Lin
392ed46c55
Offset sliding panel to where finger is
2020-09-02 22:44:52 +00:00
Marco Martin
e6d041f90f
proper height for the panel
2020-09-01 17:42:53 +02:00
Marco Martin
4a5ac4a6aa
don't show notification when it shouldn't
2020-09-01 17:40:09 +02:00
Devin Lin
da3d3c022f
Allow holding top panel delegate to trigger label action
2020-08-29 12:22:13 -04:00
Marco Martin
bb3225d4b5
bigger hit area for the up arrow
2020-08-20 17:15:56 +02:00
Marco Martin
349de2f252
ifix close button
2020-08-20 16:55:14 +02:00
Marco Martin
96420f5080
invoke plasma-settings for wifi and broadband
2020-08-20 13:07:53 +02:00
Marco Martin
b675eeb635
better layout in widescreen mode
2020-08-20 12:28:03 +02:00
Marco Martin
5be8125c62
fix logic for open/close top panel
2020-08-20 11:45:38 +02:00
Marco Martin
54bb4a3946
no side borders
2020-08-13 12:07:46 +02:00
Marco Martin
b71adfeef3
custom look for scroll indicator
2020-08-13 11:52:53 +02:00
Marco Martin
93d8e2c130
up arrow becomes down
2020-08-13 11:45:05 +02:00
Marco Martin
f30008b3d9
a dark overlay over the main icons
2020-08-13 11:17:06 +02:00
Marco Martin
6cdcd8b56f
bury the thumbnail under a loader for now
...
the screencasting item isn't always present
2020-08-10 11:41:47 +02:00
Marco Martin
4b39250ffa
same speed animation with kwin minimize
2020-08-07 09:53:21 +02:00
Marco Martin
b1f65036b0
Merge branch 'work/mart/pipewire'
2020-08-07 09:28:05 +02:00
Marco Martin
29dda81ac6
fixes to close anim
2020-07-31 16:31:17 +02:00
Marco Martin
775870852c
remove dummy windowtask
2020-07-31 14:21:22 +02:00
Marco Martin
ef7a78cfe1
single mousearea on bottom
2020-07-31 14:20:55 +02:00
Marco Martin
0c6d19e856
return to bounds after flicking
2020-07-31 12:44:44 +02:00
Marco Martin
ae67112a5c
fix close slide direction
2020-07-31 12:13:16 +02:00
Marco Martin
928ac5c195
litch -- when activating window
2020-07-31 12:06:46 +02:00
Marco Martin
24ef679755
removeuseless debug
2020-07-31 11:13:09 +02:00
Marco Martin
16b1cae73e
when task switch appears release minimize on launchers
2020-07-31 11:13:09 +02:00
Marco Martin
c81eaee352
fix closing
2020-07-30 17:56:34 +02:00
Marco Martin
9f25435d82
close anim if window active
2020-07-30 17:55:09 +02:00
Marco Martin
8f39bd3828
new close anim
2020-07-30 17:53:55 +02:00
Marco Martin
a1b7ef5d36
minimize to launcher when the switcher is not visible
2020-07-30 17:20:07 +02:00
Marco Martin
69d9c2557d
delay the first active window sync
2020-07-30 15:29:57 +02:00
Marco Martin
0c3b152f99
color panel when startupfeedback is used
2020-07-30 12:39:13 +02:00
Marco Martin
a9a9e13ad6
updateActiveWindow at start
2020-07-30 11:42:33 +02:00
Marco Martin
d983aeebe3
initial support for pipewire thumbnails
2020-07-29 17:50:10 +02:00
Marco Martin
0d438d87d3
when an application is already running bring window on front
...
all applications are single instance only
2020-07-28 13:24:13 +02:00
Marco Martin
5881d6be92
minimize animations
2020-07-28 12:30:13 +02:00