Commit Graph

1051 Commits (79f392723e7095a2486bbffc6edfd5013d7c1d02)

Author SHA1 Message Date
Michail Vourlakos 736d068a44 improve masking for config windows
--now config windows are masked properly in order to
accessible to all of their areas. By design the config
windows are trying to be below the main view, this is
why masking is needed in order to work properly and not
having areas that can not be clicked/accessed because
of the top Latte View
6 years ago
Michail Vourlakos 05afe9e8d3 show title tooltips in liveEditMode 6 years ago
Michail Vourlakos d45d28b1cc use single tooltip for all settingsOverlay options 6 years ago
Michail Vourlakos e922b73bca reduce a bit the edit external shadow 6 years ago
Michail Vourlakos 5935718dfb center Rearrange button 6 years ago
Michail Vourlakos 63039826fd improve Rearrange Button in LiveEditing 6 years ago
Michail Vourlakos 542174f296 make edit visual totally dynamic
--meaning that edit Visual can contain more
elements than just the usual ones and as such
we can now add a "Rearrangement" option to make
things easier to switch between live/static editing
6 years ago
Michail Vourlakos 527cddb72d update Ruler and EditVisual
--improve and restructure all editMode in order
for Ruler and EditMode to be ready to accept more
direct available settings in settings overlay
section.
6 years ago
Michail Vourlakos 8a4f669ecf fix hovered masking for editMode when zoomed
--in the past applets could not be hovered when
in editmode
6 years ago
Michail Vourlakos 71bb4ca921 introduce new editAppletsMode
--in this mode all aplets can be adjusted and
repositioned properly
6 years ago
Michail Vourlakos 3fac7c2388 remove deprecated showZoomed from appletItem 6 years ago
Michail Vourlakos 9615c7362b enable Blur in LiveMode 6 years ago
Michail Vourlakos b3af2cf176 option for the user to adjust editBack opacity 6 years ago
Michail Vourlakos 9c6d5c2fe9 move related qml files to its own directory 6 years ago
Michail Vourlakos b15df34cc4 livemode:enable parabolic effect for editMode
--first commit to restructure editMode in order to
support livemode under editing. Live mode means
that all options changes during editMode will be
available to be tested directly
6 years ago
Michail Vourlakos 39f302e149 set max highPanelMargin to 2px.
--this is plasma-style and that improves consistency
6 years ago
Michail Vourlakos 6db1ca7b5d fix typo 6 years ago
Michail Vourlakos dcb2d4e528 restore previous behavior and add a timer
--reduce calculations and add a timer in order
to avoid binding loops by giving applets some
time to adjust their sizes properly
6 years ago
Michail Vourlakos f00e34e36b improvements for applets canBeHovered heuristics 6 years ago
Michail Vourlakos da13cdbb4b improve Smart Colors in editMode
-- in edit Mode, Smart Colors could behave
as a Live mode in order for changes to be totally
visible with the underlying background how they
look
6 years ago
Michail Vourlakos d8738758a9 restore normal behavior for applets size 6 years ago
Michail Vourlakos 4702bc0694 improve how panel thickness is calculated
--always provide the needed high margin for the panel
background thickness
6 years ago
Michail Vourlakos bd2336b7af fix for applets size calculations
--fix how maxSize of an applet is calculated
in order to provide parabolic effect capability
or not.

BUG: 404977
6 years ago
Michail Vourlakos 33363c241d Enable communication between Applets
--applets can now use the LatteBridge in order
to send/receive messages between them. A good
example of this could be the window title and
the window appmenu applets in order the hide
and show themselves based on mouse hovering.
6 years ago
Michail Vourlakos 138343a9cd improving Colors::FromTouching behavior
--when a window is touching but this window
is not active then the active color palette is
preferred
6 years ago
Michail Vourlakos 8ae8de719e ignore deprecated:autoDecreaseIconSize from config 6 years ago
Michail Vourlakos 4f9d41cec8 improve Latte indicator options accessibility 6 years ago
Michail Vourlakos ff77bc3485 compute icon colors only for indicators requesting 6 years ago
Michail Vourlakos c69271f9e0 restore panel thickness in editMode 6 years ago
Michail Vourlakos b1865e2634 hide indicator properly when task is removed 6 years ago
Michail Vourlakos 1965f7f9c0 move responsibility to separator to draw itself
-- metrics are now provided by the separator applet
and not from Latte
6 years ago
Michail Vourlakos f353363670 fix shadowing for separators 6 years ago
Michail Vourlakos c805963327 prepare for new latte separators 6 years ago
Michail Vourlakos c64df5a078 fixes for separators 6 years ago
Michail Vourlakos f2479d6678 move applet IndicatorLoader to its own qml file 6 years ago
Michail Vourlakos ab9eb5d536 consider also editMode mask requirements
--take into consideration the margin needed between
the contents and MaxLength ruler in order to calculate
correctly the thickness needed
6 years ago
Michail Vourlakos dd1c3f61b8 increase mask thickness when indicators needed it 6 years ago
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
Michail Vourlakos 67253eda9d REFACTOR:update qml to new Latte.Types 6 years ago
Michail Vourlakos 8261217837 refactor:move docksWithTasks to Layout 6 years ago
Michail Vourlakos 5e47a2f483 fix crash from wrong FrameSvgItem initialization
--enable shadows by default on startup otherwise
the FrameSvgItem sets is imagepath to "" and that
can create a crash during loading/unloading a
layout
6 years ago
Michail Vourlakos 642b524cc7 refactor:move currentScreen to View::Positioner
--rename also currentScreen to currentScreenName
for better semantic representation
6 years ago
Michail Vourlakos f13e83ffb7 refactor:move theme handling to extendedtheme class 6 years ago
Michail Vourlakos 0794c0e84f refactor:blockAnimations moved to View::Effects
--rename blockAnimations to animationsBlocked
6 years ago
Michail Vourlakos 44006f2fe6 refactor:move dockTransparency to View::Effects
--rename dockTransparency to backgroundOpacity
6 years ago
Michail Vourlakos 885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
6 years ago
Michail Vourlakos 3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
6 years ago
Michail Vourlakos 253ca3085a fix warnings 6 years ago
Michail Vourlakos 3a0a95e6a9 refactor: rename properties in View::Effects
--effectsArea became "rect"
--maskArea became "mask"
6 years ago
Michail Vourlakos 47c3d6fb41 refactor:move effects and mask at own dock class 6 years ago
Michail Vourlakos 71d648437f move dock positioning code into its own class 6 years ago
Michail Vourlakos d364621e5a improve fill(s) calculations for single alignments
--improve how the applet size is calculated for fill(s)
applets when such applets are used in Left/Center/Right
alignments. This also fixes the bug that the plasma
taskmanager was not updating its size properly when tasks
were added after the initialization phase.

BUG: 401456
6 years ago
Michail Vourlakos 2b05834fe6 reduce interval for fill calculations 6 years ago
Michail Vourlakos 3c983a0082 missing object 6 years ago
Michail Vourlakos 78543c84e3 update sizes for fillWidth/Height more regular
--this way applets wont stack up in a size that is not
following panel available size and applets Layout sizes
settings
6 years ago
Michail Vourlakos 174c092a58 improve fill(s) calculations in Justify mode 6 years ago
Michail Vourlakos f7f8a02521 preserve Justify applet order when applets missing 6 years ago
Michail Vourlakos 97d476a3f0 fix many typo(s) 6 years ago
Michail Vourlakos 9c3107d363 fix maximum length calculation in qml side
--the maximum length calculation in qml side
was not calculated correctly for behabeAsPlasmaPanel
flag
6 years ago
Michail Vourlakos d92690f849 consider maximumWidth=0 as valid
--for applets that fillwidth and have
also set their maximumWidth we take that
value into account even when maximumWitdth=0
6 years ago
Michail Vourlakos 8ababcdc0c keep some colors from original plasma theme 6 years ago
Michail Vourlakos a6a291d2c5 expose all latte colors to applets 6 years ago
Michail Vourlakos 954dac650f dont enable shadows when are not needed
--this reduces also the syncGeometry calls
and as such improves cpu usage
6 years ago
Michail Vourlakos 5c82996dfa disable applet mouseareas for not loaded applets 6 years ago
Michail Vourlakos 0cd33727b8 restore iconOverlay default behavior
BUG: 400806
6 years ago
Michail Vourlakos 53d17bfd01 new communication protocol one more time 6 years ago
Michail Vourlakos 05732f3c50 add LICENSE and AUTHORS in icons folders
--Debian packagers requested these files
in order to confirm the creators and licenses
for icons. This has arised again
in the past when Latte was introduced
for Ubuntu so it is good to end this
once and for all.

The creator for logo icons in folder "icons/"
is Alexey Varfolomeev and has granted GPLv2
for its icons. Alexey is a well known kde artist
and Latte project is thanking him for its fantastic
contribution, we love its icons! :)

The creator for pattern icons in folder
"containment/package/contents/icons/" is
me, Michail Vourlakos and I have also granted
for them a GPLv2 license.

The creator for icons in folder
"shell/package/contents/images/" is me,
Michail Vourlakos and I have granted
for them an LGPLv2+ license because of
their simplicity

BUG: 400758
6 years ago
Michail Vourlakos 530dd8d655 simplify more the communicator 6 years ago
Michail Vourlakos 0f1b090e19 support new LatteSetings object for Communicator
--in order to improve extenability we pass now
a single QtObject for applets to use in order
to communicate with Latte
6 years ago
Michail Vourlakos 096358f46a expose latteInEditMode from communicator 6 years ago
Michail Vourlakos 6eb1251965 dont compute width/height for latte plasmoid 6 years ago
Michail Vourlakos d190ebb216 dont show fill(s) applets oversized in edit mode 6 years ago
Michail Vourlakos 48fe4fd615 support fill(s) applets property
--the user can use applets such as
plasma icon-only taskmanager to alignments
Left,Center,Right. In previous versions
this was possible only for Justify alignment.
6 years ago
Michail Vourlakos 24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
6 years ago
Michail Vourlakos a14c265006 drag active window when moving mouse fast
--when the user trys to drag the active window
from panel and moves the mouse fast dragging
starts immediately without waiting the drag timer
to end.
6 years ago
Michail Vourlakos 9b0feaea6a drag active window from panel
the user can use the empty panel areas
in order to drag the active window
and by double clicking to maximize/restore
the active window

BUG: 400391
6 years ago
Michail Vourlakos e63a43afe5 enable requestMove through the visibilitymanager 6 years ago
Michail Vourlakos 1397ebe5ed fixes and add double click to restore/maximize 6 years ago
Michail Vourlakos b8ad6fceeb drag a maximized window from panel 6 years ago
Michail Vourlakos 722d656bfa enhance colorschemes and colorizer to new arch 6 years ago
Michail Vourlakos 3553415c59 load roundness theme info properly 6 years ago
Michail Vourlakos 92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
6 years ago
Michail Vourlakos 37b89f2830 move qml luminance calculations to js files 6 years ago
Michail Vourlakos 9374ff3cc4 move colorizeManager to its own Item class 6 years ago
Michail Vourlakos d705d5a657 fixes for new Communicator protocol 6 years ago
Michail Vourlakos 5bab21d786 add function to identify mainitem in applets
--applets can have different main elements based on their
implementation. In such case we use a depth of 2 in order
to search for elements that contain variable isInLatte
6 years ago
Michail Vourlakos 4a13d12703 send colorizerManager colors to applets 6 years ago
Michail Vourlakos 9dae7f7170 add Colorizing properties in Communicator
--add properties in order for the Communicator
to inform applet when to use the LatteColorScheme
6 years ago
Michail Vourlakos 1f51524d42 create Applet Communicator for applets
--this item is fully responsible in order to
communicate the latte containment with any
underlying applet. A protocol specification
is used in that item in order for applets and
latte to exchange information.

currently supported:
   ingoing parameters (to applet):
      bool isInLatte // is in a Latte dock

   outgoing parameters (from applet):
         //deprecated from disableLatteOverlay
      bool disableLatteParabolicIcon

      bool disableLatteOverlay //dont use Latte overlays
6 years ago
Michail Vourlakos c5150300d5 fix warnings 6 years ago
Michail Vourlakos f2d088a297 add theme roundness option at preferences page 6 years ago
Michail Vourlakos e1712dded4 add more colors to SchemeColors 6 years ago
Michail Vourlakos 1192760f28 apply Colorizer at per applet bases 6 years ago
Michail Vourlakos 89b86c4b3e add customBackground class for colorizer
--in order to overlay properly the panel background
a roundness option was needed that takes into account
which borders should be drawn. In an upcoming commit
the user will be able to adjut the current plasma
theme roundness. The Colorizer is using now the
CustomBackground in order to draw the background
when the user wants to draw the contents based on
the current active window color scheme.
6 years ago
Michail Vourlakos 1510f1013c add option to colorize based on active win scheme 6 years ago
Michail Vourlakos f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
6 years ago
l10n daemon script 7fd9cb1952 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"
6 years ago
l10n daemon script cfec678f68 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"
6 years ago
Michail Vourlakos 500b3d2b86 respect shrink margins for thickBase
--increase also the minimum for thickHigh in order
to follow plasma design

BUG: 398950, 398951
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos f4c9060bff update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos 0f79c08e86 simplify code readability for panelShadowsActive
--fix also a case that the user hasnt enabled to
show panel background at all from the Show option
and the shadows where shown because they were
chosen before it was disabled by the user
7 years ago
Michail Vourlakos fc8a531837 fix disabled monochrome contents for no background
--when the user had chosen monochrome contents and had
disabled the panel background totally the case wasnt
activating monochrome contents when needed
7 years ago
Michail Vourlakos ec0e16ca5a consider preferredSize(s) only for >0 values
--do not consider preferredWidth or preferredHeight
for applets when that value is <=0 otherwise that
applet it may become invisible. Such case is the
plasma analog clock when it is locked at a vertical
dock

BUG: 398098
FIXED-IN: 0.8.1
7 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos 87094a6fe7 dont draw panel shadows when theme doesnot provide
when the plasma theme was not supporting shadows then
Latte was double drawing the panel background when
the user has chosen that wanted shadows

BUG: 397980
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 6070d2b0f0 restore panel shadows for docks 7 years ago
Michail Vourlakos 81d3a12e91 respect different panel backgrounds from theme
--many plasma themes provide a different panel
background per edge, with different styles or
transparency levels. Latte now respects the
plasma theme concerning the panel backgrounds
found in a plasma theme.
7 years ago
Michail Vourlakos 78b41eff91 use current transparency to update effects
--the background contrast effect should be applied
only when the dock/panel is visually solid otherwise
it may block the transparency settings

BUG: 397431
FIXED-IN: v0.8.1
7 years ago
l10n daemon script b50a4807aa 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"
7 years ago
Michail Vourlakos 9a69323293 smarter badges identifier for activation shortcuts
--with this commit now Latte is able to identify what are
the global shortcuts used for each activation entry and
also to not show at all any badge for activation entries
that are disabled from the user

BUG: 397128
7 years ago
l10n daemon script ec9ad19c36 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"
7 years ago
Michail Vourlakos fef362a52f a way for the user to change settings window size
--user can now use Meta+ScrollWheel in order to
increase/decrease the size of the dock settings
window according to its preference

BUG: 397038
7 years ago
Michail Vourlakos b5954009c2 Blur is not working for solid panels
--removing the option to check blurring
based on whether a panel is solid or not
and also check !compositing. Blurring doesnt
make any sense at !compositing environments

BUG: 396955
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos e7bd3f5aaf dont block tooltips for zoom scale=1
--trying to combine dock mode, panel mode and
parabolic effect with plasma applets current implementation
can create such issues. Removing the zoom=1
criteria to activate the Latte MouseArea. The
user can still lock plasmoids that want the
Hover Default Plasmoid behavior or use the
Latte protocol to understand when they are in a Latte
containment.

FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 8251fa8263 forward wheel events for underneath plasmoids
BUG: 396811
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos e908c1207c fixes badges from applets
--fix for binding loop for applets badges
--dont hide applets number badges on hovering
7 years ago
Michail Vourlakos 3ea01dfafc fix badge text warning and border.color 7 years ago
Michail Vourlakos 6cff0be9c1 enable Meta forward from KWin to Latte
In Latte Preferences the user can now enable/disable
the Meta key forwarding for showing the
Application Launcher

BUG: 396754
7 years ago
Michail Vourlakos d4cb4e2410 setup unified global shortcuts per dock
--in multiple layouts environment the user
may prefer different settings for its global
shortcuts, in some may wants to use global
shortcuts for its applets and in another
layout may not.
7 years ago
Michail Vourlakos 6708510213 support a meta badge visual from global shortcuts
--when an application launcher exists, Latte can show
a "Meta" badge for that applet instead of the global
shortcut action number. With this patch we take also
into account when the assigned application launcher is
in different dock/panel and show it accordingly

BUG: 396753
7 years ago
Michail Vourlakos 00d15a7906 support no-unified global shortcuts
--v0.8 introduced unified global shortcuts for all
cases, that means that applets are also taken into
account for Latte activation/new instance global
shortcuts. A new parameter is introduced with
the patch at Latte global settings file called
"unifiedGlobalShortcuts", the user can set that
parameter to false before Latte startup in order
to use only global shortcuts relevant to the
Latte plasmoid.
7 years ago
Michail Vourlakos 49d91aa19e update master version to 0.8.75 7 years ago
Michail Vourlakos 785b3029ad update to stable version 0.8.0
--after one year of work v0.8 with
its fantastic new features is here
7 years ago
Michail Vourlakos 91a1736b14 add debug flag for overloaded applets
--a visual indicator in order to show which plasma
applets have been overloaded from Latte. The overloaded
mechanism is a way in order to make these applets work
properly with Latte parabolic effect
7 years ago
Michail Vourlakos 321af85469 update to v0.7.96
--last beta with string freeze before
official release of v0.8
7 years ago
l10n daemon script bc93683d25 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"
7 years ago
Michail Vourlakos b3d80717c1 Beta1 for v0.8
--this is the first beta release for
v0.8. Everything will be open for the
upcoming days including translation
strings improvements. Beta2 possibly
will introduce a string freeze.
7 years ago
l10n daemon script 972a56bd69 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"
7 years ago
l10n daemon script 3f4fa6699c 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"
7 years ago
Michail Vourlakos 50a4727ffa fix #867,enable neutral areas in corner cases
--The Plasma layout is using the Latte plasmoid. By
following that case the neutral applets areas werent
activated. This is fixed now and also the click animation
in such cases.
7 years ago
l10n daemon script 680032c222 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"
7 years ago
Michail Vourlakos 28f0bed9dd fix #997,decrease text size when needed
Launchers Area text wasnt decreasing its size for
very small thickness.
7 years ago
Michail Vourlakos 83be8d9b20 fix #986,option to not group tasks
--give the user option to group or not
tasks of the same application by default
7 years ago
Michail Vourlakos 2d9b5376b7 add missing license headers in javascript files 7 years ago
Michail Vourlakos 62497561d2 Revert "wayland fix crash when changing location"
This reverts commit 797ead1f1d.
7 years ago
Michail Vourlakos 797ead1f1d wayland fix crash when changing location
--when a dock was changing location and kwin
effects where enabled then a crash was appearing
under wayland. So we block drawing effects when
a dock is inTempHiding or inForceHiding
7 years ago
Michail Vourlakos 506d23d948 enable parab.effect for latte spacer 7 years ago
Michail Vourlakos 7930b5950d remove present windows applet from blacklist 7 years ago
Michail Vourlakos c14470c742 fix #983,expose latte availability to applets
--allow the applet developers to set at their
applet main file:

property bool disableLatteParabolicIcon: true

in order to disable any Latte functionality
concerning the parabolic icon

-- allow the applet developers to set at their
main file:

property bool isInLatte: false

in order to be informed by Latte when they are
in a Latte containment. For what ever purposes
the developers need to adjust to their plasmoid.
7 years ago
Michail Vourlakos 7f89bd99b0 fix #985,use same style for tasks/applets numbers 7 years ago
Michail Vourlakos 6881d8fbbe fix #970,parabolic effect fix
During dock sliding-in because the parabolic
effect isnt trigerred immediately but we wait
first the dock to go to its final normal
place we might miss the activation of the
parabolic effect. By catching that signal
we are trying to solve this.
7 years ago
Michail Vourlakos 76af94b59d reposition applet spacer visual debugger
--this way the applet spacer visual debugger
uses the same metrics with its plasmoid
counterpart
7 years ago
Michail Vourlakos eec2927f88 updates for hidden tasks and int.separators 7 years ago
Michail Vourlakos 2742be427b fix #901,show windows only from launchers
--add an option to tasks filters in order to
hide windows that do not have launchers
7 years ago
Michail Vourlakos 0c956fac77 fix #961,Improve Visibility consider WindowsGoBelow
--the following case:
[Windows Go Bellow + Top Panel + Panel Transparency<40%
+ "Improve Visibility" + "Not Forced Solid Background
for maximized windows"]
disables the colorizer because the role of the background
is done from the window titleBar.
7 years ago
Michail Vourlakos 13e8791213 add a few margins for applets tooltips 7 years ago
Michail Vourlakos 92c025d94d show tooltips by default
--shows Latte tooltips by default except
if an applet is locked or zoomfactor==1
7 years ago
Michail Vourlakos ca6188bf46 remove transparency from Colorizer colors
--the plasma theme may have set for textColor
and backgroundColor, colors with transparency.
This can mess up the "Improve Visibility"
feature.
7 years ago
Michail Vourlakos 2967eea11a fix #961,Semi-Tranparent Panels at ImproveVisibility
--update issue #957 in order to take into account
semi-transparent panels. With semi-transparent panels
contrast could be a puzzle. The changes that
introduced with this patch are:
1. Enable Improve Visibility when also case [E] from
 #957 is enabled.
2. When a semi-transparent panel exists in combination
with Improve Visibility option then add a threshold
in order to indicate if the Colorizer will be applied
or not. The threshold is 40% in order to indicate if
a semi-transparent panel is solid or not.
7 years ago
Michail Vourlakos cd8676e62a blacklist from applet from heuristics
--blacklist "com.github.zren.presentwindows" from
Latte heuristics in order to work correctly with
it.
7 years ago
Michail Vourlakos f49951566b Revert "change window type for applets tooltip"
This reverts commit fec2756266.
7 years ago