Michail Vourlakos
86c7e72abf
add option to enable/disable active window dragging
6 years ago
Michail Vourlakos
243ece638c
update editVisual transparency through emptyAreas
6 years ago
Michail Vourlakos
f7484eba47
update indexes after loading Justify alignment
6 years ago
Michail Vourlakos
7e9064eb5e
track last active window properly at per view
6 years ago
Michail Vourlakos
a293e8c92a
introduce EnvironmentActions area
...
--move the EnvironmentActions login exactly
below the Layouts layer and make its size to
follow always the appropriate size and placement
6 years ago
Michail Vourlakos
fccbb64808
move LayoutsContainer in its own folder
6 years ago
Michail Vourlakos
f497d4ae62
improve updateIndexes at Justify alignment changes
...
--fix how applets are identifying their index when the
user switches alignments from Justify to Another and
vice versa. More specific this patch helps in order to
not break the parabolic effect between alignment changes.
6 years ago
Michail Vourlakos
d5b294b88e
improve vastly Justify Live Editing experience
...
--the entire Justify to Another alignment experience
has been improved a lot and made much smoother than
in the past
6 years ago
Michail Vourlakos
de56372bf9
fixes for Splitters and LiveEditing
6 years ago
Michail Vourlakos
71c2036096
improvements for LiveEditing and Justify case
6 years ago
Michail Vourlakos
05c45dad5e
hide justify splitters for liveEditing mode
6 years ago
Michail Vourlakos
4048edc7f9
Option to set Settings size at per screen level
...
--the Latte Settings window tries its best in order
to provide a nice experience concerning its width/height
ratio and a width size that is best for its contents.
There are cases that this fails so the user in the
best to set it right. Latte now provides two shortcuts
Meta+Scroll, that changes the width scale ratio and
Ctrl+Scroll, that changes the height scale ratio when
settings are in Basic mode.
The previous shortcuts must be applied when the mouse
is over the empty areas in the Settings View window.
6 years ago
Michail Vourlakos
6290ec33cf
update margins for Rearrange button
6 years ago
Michail Vourlakos
260307d16f
improve identification of Rearrange applets button
...
this improvement was mentioned at: D20249
6 years ago
Michail Vourlakos
3e19e553f1
add IndicatorInfo to have a global reference
6 years ago
Michail Vourlakos
915bb1bd39
provide visual limits for margins/padding
...
--based on the current indicator there minimum
thickness and indicator padding can be altered.
Providing some visual feedback for the user to
understand these limits is a good practice.
6 years ago
Michail Vourlakos
6d84b6eea2
better way to identify applet plasma behavior
...
--there is a combinantion of settings that enables
plasma original applet behavior.
1. the applet is locked and is not using parabolic effect
2. the zoomfactor === 1 and the user has not activated
title tooltips
6 years ago
Michail Vourlakos
1503dbe247
take into account indicator minimum paddings
6 years ago
Michail Vourlakos
89e0eaa3ee
dont animate clicking for locked applets
6 years ago
Michail Vourlakos
1210e708c9
support automatic roundness to !compositing
6 years ago
Michail Vourlakos
d9a2e4c948
make text translatable
6 years ago
Michail Vourlakos
834bb56194
provide panel transparency info to indicators
6 years ago
Tranter Madi
5fe27176fa
Center align shortcut badges when iconSize < 48
...
Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.
BUG: 406037
Test Plan:
- When iconSize < 48: shortcut badges are center aligned
- When iconSize >= 48: they are top-left aligned
For example, with iconSize = 32:
Before:
{F6736365}
After:
{F6736366}
Reviewers: #latte_dock, mvourlakos
Reviewed By: mvourlakos
Subscribers: mvourlakos, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D20128
6 years ago
Michail Vourlakos
d4b2589d0c
expose isPressed state to indicators
6 years ago
Michail Vourlakos
6569160195
improve icon colors for applets
...
--provide a background and glow color for those
applets that do not provide an icon to render
6 years ago
Michail Vourlakos
69bbb82841
improve icons colors names
6 years ago
Michail Vourlakos
262dfa6b09
Indicators protocol change attributes to level
...
--introduce a new class called level which contains
all the needed information concerning indicator level
and at the same time the bridge that provides information
for the specific indicator states
6 years ago
Michail Vourlakos
10ee2d9ab8
fixes for reversed state of config window
6 years ago
Michail Vourlakos
614ec3ea48
move shortcut badges at top left corner
...
--this way the elements are observed better and
the user is able to both watch out the items and
the shortcut that activates them
6 years ago
Michail Vourlakos
71d3979f0c
separate liveEditingMode and inConfigureApplets
...
--try to improve experience for liveEditingMode and
inConfigureApplets. LiveEditingMode should be as much
as nearer to the standard experience and inConfigureApplets
state should provide nice coloring
6 years ago
Michail Vourlakos
7c59929b28
fixes for shadows calculations
6 years ago
Michail Vourlakos
28ef36a774
simplify indicators names
6 years ago
Michail Vourlakos
9a464226bd
improve loading for indigator config ui
...
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
6 years ago
Michail Vourlakos
0b90411b1d
IMPORTANT: All new Indicators architecture
...
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
6 years ago
Michail Vourlakos
ef0ec2831b
apply Smart coloring also for locked editMode
6 years ago
Michail Vourlakos
14417a69f1
improve outline color calculations
6 years ago
Michail Vourlakos
ca80a7932f
introduce LatteComponents to be consumed globally
...
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
6 years ago
Michail Vourlakos
28d197484e
fix warnings
6 years ago
Michail Vourlakos
b89ef0e50b
fix warnings fron new indicators architecture
6 years ago
Michail Vourlakos
8be388b893
improve vastly the indicators arch independence
6 years ago
Michail Vourlakos
4318404c9c
fix warnings and improvements for Indicators
6 years ago
Michail Vourlakos
0d568c81d5
update indicators architecture to be independent
...
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
6 years ago
Michail Vourlakos
4460e3ed16
increase contrast for light outline
6 years ago
Michail Vourlakos
e30ee3abba
enable Blur for isBusy backgrounds
6 years ago
Michail Vourlakos
9afafcc7c2
disable panel shadows only when active maximized
6 years ago
Michail Vourlakos
067c0df044
draw panel shadows when isBusy after 40% opacity
6 years ago
Michail Vourlakos
10fbf41081
enable hover effect for Plasma Style
6 years ago
Michail Vourlakos
14e7eb1899
ui and interaction improvements
6 years ago
Michail Vourlakos
33c584cc08
Mouse wheel action for empty areas
...
--User can now choose for the panel empty areas
a sroll wheel behavior:
-Scroll Desktops
-Scroll Activities
-Scroll Tasks
BUG: 404266
6 years ago
Michail Vourlakos
aaee132951
add outline width option in Preferences
6 years ago
Michail Vourlakos
f3f6dccf65
support Outline option for compositing mode
...
--works much better than I was expecting and at the
same time it simplifies the PanelBox code a lot
6 years ago
Michail Vourlakos
3666ab42db
position CustomBackground border correctly
6 years ago
Michail Vourlakos
661f3cad1b
update panel backgrounds implementation
...
--there is now an always shown underlying layer that
provides full solidness for 100% panel transparency
--Colorizer.CustomBackground was updated in order to
support Borders drawing
6 years ago
Michail Vourlakos
c85ec4c07a
new architecture for Indicators
...
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
6 years ago
Michail Vourlakos
104ee8581f
add more information for indicators consumption
...
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
6 years ago
Michail Vourlakos
f50be9bc9d
update Panel/Dock type detection
6 years ago
Michail Vourlakos
9d710297e1
catch up edit Visual animation to changes
6 years ago
Michail Vourlakos
8f4fafa2db
fix warning
6 years ago
Michail Vourlakos
d8f8737d05
add tooltip for editing background
...
--the user is informed about scroll wheel
and more specific that can alter the
edit background opacity
6 years ago
Michail Vourlakos
f06e3415de
restore mask calculaltions for noCompositingEdit
6 years ago
Michail Vourlakos
9a4a515a68
improve identification of inConfigureApplets mode
6 years ago
Michail Vourlakos
b00598949d
activate/disable independent animations
6 years ago
Michail Vourlakos
25b636465a
split animations and make par.effect independent
6 years ago
Michail Vourlakos
01e60370b0
consider shadows for updating needed mask
...
--avoiding circumstances that the shadows are broken
because the mask is too small
6 years ago
Michail Vourlakos
7902bf8ce5
remove panel external margin
6 years ago
Michail Vourlakos
83d2ead0a0
support increase/decreaseLength for latte separator
6 years ago
Michail Vourlakos
8b46ecc92a
support new Latte separator properly
6 years ago
Michail Vourlakos
37ea714fb3
fix applet positioning when dragged in editMode
6 years ago
Michail Vourlakos
218e8254a2
improve placement for SettingsOverlay tooltip
...
--place the SettingsOverlay tooltip under editMode
smarter in order to not break the parabolic
effect experience
6 years ago
Michail Vourlakos
a2876a3b72
make edit mode popup plasma friendly
6 years ago
Michail Vourlakos
d1340486bb
improve margins options placement in settings
6 years ago
Michail Vourlakos
faf38820d5
fix Blur Demonstration under editMode
6 years ago
Michail Vourlakos
f1a34ce437
add hacks in config windows for inner shadow
6 years ago
Michail Vourlakos
e1c964ea34
move external shadow under liblatte2
6 years ago
Michail Vourlakos
0816e2b8aa
fix top masking during editMode
...
--improve also identifying when subtracting
edit mode mask is needed
6 years ago
Michail Vourlakos
c21d355f9a
fix calculations for maxThickness
6 years ago
Michail Vourlakos
94415e24b4
improve config windows calculated geometries
6 years ago
Michail Vourlakos
6276d604dc
restore edit shadow size
...
--now that masking is used in order to subtract
mask areas that overlap with underlying config
windows, the edit shadow can be as big as we
need with no problems
6 years ago
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