Commit Graph

576 Commits (9e6abb70d0d9468a24aa554d114c26d2e461e9f2)

Author SHA1 Message Date
Michail Vourlakos b11894432f adjust margins even better to old defaults 6 years ago
Michail Vourlakos e249251b3f improve defaults for margins 6 years ago
Michail Vourlakos f040cc8828 plenty improvements for touching/active state flags
--fixes and improvements to identify windows that are
touching or are active and how all of them are used
in order to color properly the view
6 years ago
Michail Vourlakos 17c602347b use touching windows scheme at all cases
BUG: 404745
6 years ago
Michail Vourlakos f1eb8becfc improvements for Plasma Style indicator 6 years ago
Michail Vourlakos 4d9f0192c2 fix panel thickness calculations 6 years ago
Michail Vourlakos 1dd778eba0 improve default values 6 years ago
Michail Vourlakos fe71e5dd2e remove deprecated headers 6 years ago
Michail Vourlakos fc8d0ed46c fixes for margins 6 years ago
Michail Vourlakos 98c20e4f83 adjust separators to new indicators design 6 years ago
Michail Vourlakos d9fe9d438d move Plasma/UnityIndicators into liblatte2 6 years ago
Michail Vourlakos 529c6f0bab adjust applet to new LatteIndicator 6 years ago
Michail Vourlakos 3d7f5e7990 update Latte Indicator to new design 6 years ago
Michail Vourlakos cb6e38b4c0 enable new margins in view settings 6 years ago
Michail Vourlakos fb522d6231 introduce new margins for containment 6 years ago
Michail Vourlakos c6178e58bd only touching windows at DynamicBackground criteria
--at the same time disable Blur for isBusy state of
panel drawing

BUG: 404483
6 years ago
Michail Vourlakos ffac993845 improve Colors and DynBackground combinations
--the user can now have back the plasma theme style
in more cases such as when Theme:Smart, WindowColors:None,
and has enabled from DynBackground for solid panel
background when windows are touching
6 years ago
Michail Vourlakos 507e7ffde8 expose existsActiveWindow from windowstracker 6 years ago
Michail Vourlakos c2dc637a46 activate Unity indicator style
--this is just initial work and not even close
to the final result but it is the ground in order
to build upon.
6 years ago
Michail Vourlakos 7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926
6 years ago
Michail Vourlakos d387e7b6ef important improve applets layout
--use plasma way to layout the applets. With this
fix all the applets layout is improved vastly
especially concerning more the plasma indicators
trigerred by applets.
6 years ago
Michail Vourlakos 341ba05f88 use correct plasma style for applets 6 years ago
Michail Vourlakos 2884f73507 enable Plasma Indicator Style
CCBUG: 404122
6 years ago
Michail Vourlakos 87e6d23b7c add option for indicator style
--user can now alter the indicator style and
choose between Latte/Plasma/Unity
6 years ago
Michail Vourlakos 97e6f4e5f9 fix default option for activeIndicator 6 years ago
Michail Vourlakos 9c0b6fa60a smoothen a bit background changes in PanelBox 6 years ago
Michail Vourlakos 669957a156 respect popup settings both for Smart and Reverse
BUG: 404168
6 years ago
Michail Vourlakos c211dbf0b3 respect popup setting also for Reverse theme 6 years ago
Michail Vourlakos 315a217d10 respect disabled background for all cases 6 years ago
Michail Vourlakos 8f9140f67a option to enable/disable audio badge actions
BUG: 403611
6 years ago
Michail Vourlakos 901b5a9455 hide indicators when are user disabled 6 years ago
Michail Vourlakos 90164358f6 dont break colors for Latte popups 6 years ago
Michail Vourlakos fd300ec9cf simplify colorize properties & active new options 6 years ago
Michail Vourlakos 730030c5fb remove deprecated old values 6 years ago
Michail Vourlakos 717c7f9612 enable new Colors options in the settings window 6 years ago
Michail Vourlakos cdc610aed0 add option to force plasmabackground for popups 6 years ago
Michail Vourlakos 1e65211277 DodgeAllWindows now uses WindowsTracker
--this way we use the same code for Dynamic
Background and DodgeAllWindows
6 years ago
Michail Vourlakos 9b9072d8f6 update qml code to follow windowTracker 6 years ago
Michail Vourlakos 53b5904706 dont enforce background shadow for menu plasmoids
--dont enforce background shadow for global menu
plasmoids such as AWC, plasma appmenu, window appmenu

BUG: 403780
6 years ago
Michail Vourlakos cf93b7516d improve global shortcuts options
--the user can disable "global shortcuts based
on position" by disabling the global shortcuts
for the first two latte items
--improve texts readability

BUG: 403880
6 years ago
Michail Vourlakos 730d204a56 improve settings explanations 6 years ago
Michail Vourlakos 69b49d42dd the user must enable shortcuts based on position
--the option is now present to Behavior page in order
for the user to enable global shortcuts based on position.
6 years ago
Michail Vourlakos b15bd24218 refactor:move shortcutsEngine to its own class
--in that way all environment related shortcuts
management (e.g. plasma related shortcuts) is moved
in its own class
6 years ago
Michail Vourlakos 8e8b8e0c73 fix warnings 6 years ago
Michail Vourlakos 9cd851faea show only one Meta badge
--more fixes for globalshortcuts
6 years ago
Michail Vourlakos 66b2e4bd9c fixes and improvements for globalshortcuts 6 years ago
Michail Vourlakos fef791d8e1 improve names for globalshortcuts qml calls 6 years ago
Michail Vourlakos f31df4ee71 show plasma shortcuts for applets
--when shortcuts badges are shown then the
plasma assigned shortcuts are preferred to
be presented to the user
6 years ago
Michail Vourlakos e5c2b37f79 update Tasks Indexes immediately after shortcuts
--do not delay updating the tasks indexes and counts in
Latte plasmoid in order to avoid inconsistent values
during startup. Now entries activation works immediately
after startup
6 years ago
Michail Vourlakos 58d8208704 fix binding loops for ShortcutBadges 6 years ago
Michail Vourlakos f6d2e8c8f8 add 24px minimum height for ShortcutBadges 6 years ago
Michail Vourlakos 3bfa313cbb fix crash when showing shortcut badges
BUG: 403647
6 years ago
Michail Vourlakos b3a845a0d5 do not show tooltip for spacers and separators 6 years ago
Michail Vourlakos ad5286279f rename properties appropriately in containment 6 years ago
Michail Vourlakos f03e820caf reposition items to respect proper stack order 6 years ago
Michail Vourlakos fb78f49d8f dont colorize Applet Shortcut Badges 6 years ago
Michail Vourlakos 01a1ddcf9e IMPORTAT:fix splitters positioning 6 years ago
Michail Vourlakos d04a3307d7 change names for two Communicator options
--follow qt naming for some Communicator options
6 years ago
Michail Vourlakos 3908b668a3 add two new Communicator options for applets
--activeIndicatorEnabled, applets can use it in order
to enable/disable the Latte Active Indicator for them
--parabolicEffectEnabled, applets can use it in order
to disable Parabolic Effect (zoom) for them
6 years ago
Michail Vourlakos 6fe73c40e1 IMPORTANT:improve splitter positioning on startup
--when there was only one applet in the Center under
Justify mode then during startup its positioning broke
as it was placed faulty at the far right

BUG: 403469
6 years ago
Michail Vourlakos 50c5303b54 create separate Badges section for Tasks
--the user can now choose what badges prefers for
Tasks. The current supported are Information/
Progress/Audio

BUG: 400539
6 years ago
Michail Vourlakos e2cf406ade faulty object name 6 years ago
Michail Vourlakos 52465865f9 rename Task SubParts in plasmoid accordingly 6 years ago
Michail Vourlakos eddb6d229f rename applet(container) to appletItem
--improve naming for main applet item
6 years ago
Michail Vourlakos abeb42935b rename Applet parts accordingly 6 years ago
Michail Vourlakos a01ac0d504 move Colorizer.Applet to better fit place 6 years ago
Michail Vourlakos 9d49063cc4 move applet active indicator out of colorizer
--the Active Applet Indicator must not be colorized
and as such is moved out of the Colorozing scope
6 years ago
Michail Vourlakos ad3b5abeaf enhance background solidness when touching window
--When the user has chosen a solid background when
there are windows touching the Latte panel then in
such case windows that are touching the panel not
just at the edge but at the at any point of the latte
panel are also considered as touching windows
--The "snapped" term that was used before in the
visibilitymanager was changed to "touching"
6 years ago
Michail Vourlakos 9c3726a07b support different actions for left click and hover
--app now supports the user to set different actions
for tasks left-click and for hover event

BUG: 400690 400429
6 years ago
Michail Vourlakos a066ec007b improve timer name 6 years ago
Michail Vourlakos 582b59dae2 enable/disable colorizing from user
--when the user has enabled the monochrome colorizing
in that case in applet options there is now a new option
in order for the user to choose if wants or not that
applet to be colorized. Such an example are colorful
applets that lose their proper appearance through
monochrome option.
6 years ago
Michail Vourlakos 13b10c0498 fix binding loop for LatteBridge to applets 6 years ago
Michail Vourlakos 196689f763 fix warning 6 years ago
Michail Vourlakos b3eaa35506 fixes for incorrect references 6 years ago
Michail Vourlakos 1bd4e648bc add visual feedback for Blur in editMode 6 years ago
Michail Vourlakos 33034d7969 dont block shadow setting in editMode 6 years ago
Michail Vourlakos e869ae9a91 dont force dyn.background in editMode 6 years ago
Michail Vourlakos 4add34ac7f dont blur if the user has not enable it 6 years ago
Michail Vourlakos 387939bd0a update solid option to solid style
--Solid Style option is just a way to use the
Solid svg from the plasma theme
6 years ago
Michail Vourlakos 50eb9ec277 change distorted to busy background
--simplify semantics by updating distorted
term to busy background
6 years ago
Michail Vourlakos 4702367296 respect Shadow for forcePanelForDistortedBackground 6 years ago
Michail Vourlakos eab2851e4e respect Blur for forcePanelForDistortedBackground 6 years ago
Michail Vourlakos 6acd6d8476 identify distorted areas for dynamic background 6 years ago
Michail Vourlakos 60a96bd157 IMPORTANT:improve vastly fillWidth(s)/Height(s)
--the new improvements are trying to make Latte panels
and Plasma panels to look and behave almost the same.
This way implementing applets for any of them wont be
needing adjustments or workarounds to work properly
for both.
6 years ago
Yuri Chornoivan 8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
6 years ago
Michail Vourlakos 6b3d0933ce fix max length ruler for panels 6 years ago
Michail Vourlakos e9b3895936 improve options for applets shadow color 6 years ago
Michail Vourlakos 7db0886a3c improve Shadows settings in Effects page 6 years ago
Michail Vourlakos fca08baaa2 fixes for DebugWindow 6 years ago
Michail Vourlakos 302d29bae7 improve ActiveIndicator/Glow options 6 years ago
Michail Vourlakos 40bd5a83e2 update settings to new complexity level 6 years ago
Michail Vourlakos 5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
6 years ago
Michail Vourlakos b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
6 years ago
Michail Vourlakos fabd989146 remove qml BackgroundTracker
--move to the new liblatte2 BackgroundTracker
which is also multi-screen aware
6 years ago
Michail Vourlakos 81335bc92f improve LayoutManager qml references 6 years ago
Michail Vourlakos 50ea2e1f8b provide default scheme file for !shown cases
--when the colorizer informs the applets to paint
themselves based on the current plasma theme some
of them (e.g. Window Buttons) may still need access
to that color palette through the schemeFile variable.
To support also this case Latte provides the default
theme scheme file at all cases.
6 years ago
Michail Vourlakos c81e97f24d improve scheme file assignment from themeExtended 6 years ago
Michail Vourlakos b732dab283 fix missing function parent 6 years ago
Michail Vourlakos f84043d28e REFACTOR:change dock in containment to latteView 6 years ago
Michail Vourlakos d8621a9435 refactor:plasmoid rename latteDock to latteView 6 years ago