1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00
Commit Graph

531 Commits

Author SHA1 Message Date
Michail Vourlakos
57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
2020-03-05 20:09:22 +02:00
Michail Vourlakos
4971655a2c support Chromium/Chrome audio channels
--upstream patch from Plasma taskmanagers
2020-02-29 16:06:50 +02:00
Michail Vourlakos
de1604bb71 improve bouncing animation speed for plasma 5.18 2020-02-26 18:21:55 +02:00
Michail Vourlakos
0406a9a411 [wayland] - dont crash on tasks right click
BUG:417546
FIXED-IN:0.9.9
2020-02-21 23:13:48 +02:00
Michail Vourlakos
ebd749fd00 dont break Task.IconItem size calculations startup
--remove no-needed anchors changes state for Task.IconItem
and at the same time fix the size calculations for IconItem.
There were cases for Views that did not use the parabolic effect
at all and Tasks contained single windows tasks (that did not
have launchers assigned), these specific tasks were
appearing at minimum icon size 16px. even though the user
had set much greater values.
2020-01-30 18:48:26 +02:00
Michail Vourlakos
b5233ddfe0 option for tasks to scroll and minimize them
--a new Wheel action is introduced to Tasks and
the user can now choose to disable wheel actions
only for tasks OR cycle through grouped tasks OR
upwards cycles trhough grouped tasks and downwards
minimizes them.

BUG:416096
2020-01-28 21:33:47 +02:00
Tranter Madi
77c170c8f7 Update from Plasma for ToolTipInstance.qml
Summary: Just pull the update from Plasma

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26760
2020-01-24 15:34:19 +07:00
Michail Vourlakos
4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
2020-01-13 21:53:49 +02:00
Michail Vourlakos
63971f4429 enable normal Latte Tasks removal action
--requesting from users a different way to remove
the Latte Tasks plasmoid if they want to is not
a good hig. Reenabling the classic ways to remove
Latte Tasks. The user can now use the applet tooltip
to remove it or by right clicking it in Latte
edit mode. Because of this the Tasks->Recycling
button is not needed any more.

BUG:415274
2020-01-11 18:33:54 +02:00
Michail Vourlakos
c27c338450 align tasks separator to screenEdgeMargin 2020-01-04 14:25:27 +02:00
Michail Vourlakos
1e43376781 [qt5.14]-restore dragged task to normal in the end
after dragging a task, the task should return to
normal state. In qt 5.14 default states that have
a "when" property do not play well

BUG:415333
FIXED-IN:0.9.6
2019-12-30 19:19:26 +02:00
Tranter Madi
fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
2019-12-27 23:41:23 +07:00
Michail Vourlakos
dfd8bcdeca wayland improvements for WindowsAlwaysCover 2019-12-26 23:57:32 +02:00
Michail Vourlakos
d82ac63417 improve publish task geometries code
--update the publish task geometries code
in order to identify also when the dock
has hide itself or is fully shown properly
and update the published task geometries
accordingly
2019-12-25 22:14:19 +02:00
Michail Vourlakos
1c7eec05e3 send only screenEdgeMargin to applets/indicators
--screenEdgeMarginEnabled value is not really needed
to applets and indicators. Only the margin value
applied is of importance in order to place themselves
properly.
2019-12-25 00:01:12 +02:00
Michail Vourlakos
06fdd0d703 make screenEdgeMargin aware some elements
--update some containment elements and make
them screenEdgeMargin aware in order to be
positioned properly
2019-12-24 23:55:53 +02:00
Michail Vourlakos
a40ff9cf5b update CustomBackground to more border styles
--use screenEdgeMargin in order to support more border
styles for custom background component that paints
the underneath panel background for smart coloring.
2019-12-24 19:35:42 +02:00
Michail Vourlakos
8194ee94bc inform applets/indicators for screen edge margin
--fix geometries publishing, update margins calculations
2019-12-24 15:54:06 +02:00
Michail Vourlakos
165db28a24 plasmoid use layout last used activity
--this way in multiple layouts mode when switching
different layouts the tasks/launchers are sliding in/out
only when we switch between different activities in
the same layout and NOT when switching between different
activities in different layouts
2019-09-13 22:00:11 +03:00
Michail Vourlakos
7663e86068 multiple fixes for different margins
--multiple fixes for margins all over the place. More
specific how they are calculated and when they are
used
2019-09-08 11:20:05 +03:00
Michail Vourlakos
d8a32fa18a load an indicator for the view background
--this way the plasma android-style click can be
triggered for empty areas
2019-09-08 11:19:56 +03:00
Michail Vourlakos
4139948d11 activate single windows directly in !compositing
--meaning to not activate the previews window in that
case. Single windows should be activated immediately
after left click, previews are not necessary in that
case.

FIXED-IN:0.9.2
2019-09-01 20:06:34 +03:00
Michail Vourlakos
f3e6debc26 let the user close multiple windows from previews
BUG:411461
FIXED-IN:0.9.2
2019-08-31 09:47:01 +03:00
Michail Vourlakos
edfd111d9a use only exter.margins for separators
--separators are only usings the external margins
between items. In the past it was also consider
the indicators internal padding. This is not
needed and it was creating too big empty
spaces with no real reason.
2019-08-30 02:44:33 +03:00
Michail Vourlakos
768a6b4b2a indicators can now offset a bit icons
--through level.requested options each indicator
instance can request specific repositioning for
each icon. Very good example for this is the
Win7 style indicator
2019-08-30 02:23:50 +03:00
Michail Vourlakos
a885eaa163 dont show progress badge if user disabled it 2019-08-30 01:49:59 +03:00
Michail Vourlakos
2866b6a3aa plasma theme colors for !accelerated graphics
--fix also how accelerated graphics are identified
by using GraphicsInfo api
2019-08-27 16:24:44 +03:00
Michail Vourlakos
724a59eb23 add accelerated graphics checks all over the place
--when qml uses software rendering checks should be
added in order to not hide the visual elements. This
is taking place now in a more concrete way and checked
also that tasks with badges or not are still shown

BUG:411037
FIXED-IN:0.9.2
2019-08-27 15:46:49 +03:00
Michail Vourlakos
551edf01fb provide Progress information to indicators
--as a test case, the Plasma indicator now supports
the original plasma progress indicator of plasma
taskmanagers
2019-08-26 17:38:57 +03:00
Yuri Chornoivan
15ab253efd Fix minor EBN issues 2019-08-22 11:26:41 +03:00
Michail Vourlakos
f449e22943 dont hide icons/applets for software rendering
--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.

BUG:410920
FIXED-IN:0.9.2
2019-08-15 13:06:25 +03:00
Michail Vourlakos
43d1985d4e improve LeftClick::PreviewWindows
--when the user clicks a single window now it is
just activated instead of showing first the preview
window showing only one instance

BUG:410417
2019-07-30 23:35:09 +03:00
Michail Vourlakos
5bab4b0409 wayland,show preview windows for grouped tasks
BUG: 410408
2019-07-30 18:31:11 +03:00
Michail Vourlakos
6121799346 avoid Tasks Pixelization
--enable cached:true for Tasks effects in order
to try to avoid pixelization in some cases when
effects are enabled
2019-07-29 23:45:14 +03:00
Michail Vourlakos
60e97ec0be fix blurred icons
--revert back the PIXELIZATION workaround because
it creates BLURRED icons even for sizes>=64px!

BUG:410365
FIXED-IN:0.9.1
2019-07-29 22:51:17 +03:00
Michail Vourlakos
4ebf3e2329 update progress badge properly
--send repaint signals properly for BadgeText

BUG:410318
FIXED-IN:0.9.1
2019-07-28 23:26:48 +03:00
Michail Vourlakos
780d807cc8 find a way to apply LatteSideColoring for Tasks 2019-07-12 00:43:03 +03:00
Michail Vourlakos
30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
2019-07-10 18:34:26 +03:00
Michail Vourlakos
6fbb2d7d0d define specific prominent badge colors 2019-06-24 22:56:44 +03:00
Michail Vourlakos
df9394ddd6 option for prominent color of Notification Badges
--The user from Tasks,Badges can choose a more prominent
color for notification badges (usually reddish). In case
the user has not enabled that option(default) then the plasma
theme highlight color is used which is also the default
option of Latte v0.8

BUG: 408955
2019-06-21 12:47:32 +03:00
Michail Vourlakos
0768975765 Center position Tasks when in the Desktop 2019-06-17 17:58:28 +03:00
Michail Vourlakos
2e5a018678 disable scrolling shadows when Tasks in desktop 2019-06-17 10:08:06 +03:00
Michail Vourlakos
f75605d78d introduce Resources for Indicators 2019-06-03 18:31:42 +03:00
Michail Vourlakos
33962fa1fc expose some animations properties to Indicators
--animations enabled and durationTime exposed to
Indicators
2019-06-03 17:19:58 +03:00
Michail Vourlakos
f04009b665 simplify code part 2019-05-28 17:28:07 +03:00
Michail Vourlakos
f7471e59b3 improve when to clear parab.effect from Tasks 2019-05-28 17:05:14 +03:00
Michail Vourlakos
cda688c2a5 refactor:move AddingVisuals to LatteComponents 2019-05-26 17:17:15 +03:00
Michail Vourlakos
d283e61b5d improve DragDrop behavior/responsiveness 2019-05-25 15:15:19 +03:00
Michail Vourlakos
7a31e52614 increase Tasks GarbageCollector interval at 30secs 2019-05-24 19:30:55 +03:00
Michail Vourlakos
dfcd3e2452 reinstantiate properly tasks previews
--this code helps the previewsmodel to
reinstantiate when changing from single
instance preview to another single one
2019-05-24 19:25:35 +03:00