1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-03 20:58:25 +03:00

2376 Commits

Author SHA1 Message Date
Michail Vourlakos
afb34a85cf dont crash plasmoid from too fast mouse events
make sure that we delete a valid contextMenu and
not a ghost reference. This could occur from
two-fingers emulating right-click in wayland.

BUG: 397635
FIXED-IN: 0.8.1
2018-08-28 18:55:33 +03:00
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
2018-08-28 13:49:32 +03:00
Michail Vourlakos
6070d2b0f0 restore panel shadows for docks 2018-08-28 10:24:46 +03:00
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.
2018-08-27 22:56:28 +03:00
Michail Vourlakos
285a2f8764 ignore systrays at multi-screen considerations
--if a dock/panel was containing a systray there
was a chance that the systray was messing the
calculations for adding/removing docks based on
the screen and edges changes
2018-08-24 01:27:14 +03:00
Michail Vourlakos
b2f1f98b57 remove deprecated code from old multi-screens arch
--Latte will no longer try to be too smart concerning
the multi-screens behavior. At the old implementation
Latte wouldnt let you reach at a state that you dont
have a tasks plasmoid available. Such a case could be
when the user moves a dock from primary to explicit
screen and disables the screen afterwards. That case
should be thought better in the future in order to be
identified and handled properly without making the
code unnecessary complex. Such an example could be by
identifing the case and asking the user for actions.
2018-08-22 18:13:39 +03:00
Michail Vourlakos
bb8835f156 identify maximized window screen differently
--there are cases that the window geometry isnt consistent
for maximized windows. That was breaking the previous
implementation of dynamic background because of:
https://bugs.kde.org/show_bug.cgi?id=397700
the new implementation is using only the window center in
order to identify the screen in which a window is
present

BUG: 397344
FIXED-IN: 0.8.1
2018-08-21 15:09:23 +03:00
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
2018-08-21 00:51:36 +03:00
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"
2018-08-20 05:35:00 +02:00
l10n daemon script
7a693bdcda GIT_SILENT made messages (after extraction) 2018-08-15 03:37:16 +02:00
l10n daemon script
24fea72ca6 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"
2018-08-08 05:42:49 +02:00
l10n daemon script
cdc0cdcd7d GIT_SILENT made messages (after extraction) 2018-08-08 03:40:24 +02:00
Michail Vourlakos
b4a7b1ac84 restructure windows previews to plasma design
--previews showed some strange behavior by
re-introducing faulty or empty previews under
X11. Best way to approach this is to follow up
plasma design idea in order for the code to be
comparable. The code was updated and the introduced
issue shows to be fixed but this wants users
feedback.

BUG: 397193
FIXED-IN: 0.8.1
2018-08-07 01:04:31 +03:00
l10n daemon script
46fa568350 GIT_SILENT made messages (after extraction) 2018-08-05 03:26:34 +02:00
Michail Vourlakos
8062a76605 improve activation badges visual indicators
--when an activation shortcut follows Meta+"Character"
scheme it is shown lowerCase and at all other cases
it is shown upperCase

CCBUG: 397128
2018-08-04 13:42:50 +03:00
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
2018-08-04 02:05:44 +03:00
Michail Vourlakos
1b47a3749e add size boundaries for dock settings window
--improve the new added code for user set settings
window size by specific boundaries in which it can
be set and not exit them

CCBUG: 397038
2018-08-04 02:05:44 +03:00
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"
2018-08-03 05:35:32 +02:00
l10n daemon script
41f9e43e7e GIT_SILENT made messages (after extraction) 2018-08-03 03:26:23 +02:00
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
2018-08-03 01:52:14 +03:00
Michail Vourlakos
04b2d84abb decrease a bit the settings height
CCBUG: 397038
2018-08-02 19:28:02 +03:00
Michail Vourlakos
84de238181 missing apostrophe
BUG: 396676
2018-08-02 18:39:32 +03:00
Michail Vourlakos
7bceb7e4b7 Identify snapped windows independent of screen
--the old code wasnt screen independent for identifying
windows that touch the panel edge. There were cases
that when a window was touching a panel edge at
screen A to faulty identify that is touching
screen B also. The code now is more robust and it
can also handle cases that window is touching two or
more different panels in different screens.

BUG: 397076
FIXED-IN: 0.8.1
2018-08-02 14:23:01 +03:00
Michail Vourlakos
30c90d2a41 More predictable copy function for multi-screen
--Improve the series of events in order for CopyDock
to work better in multi-screen environments. Copy Dock
should create the same dock in the same free edge at
different explicit screen when that edge is already
occupied in the origin screen

BUG: 397081
FIXED-IN: 0.8.1
2018-08-02 13:26:07 +03:00
Michail Vourlakos
a5a4b876de improve dock settings windows geometry calculation
--the dock settings window calculations should not look
different between different font settings/geometries/screens.
One way to overcome that issue is by using the font.height to
calculate the settings height, that is 37chars for now and
the width to be calculated in accordance with that height. There
are some down limits for both, height shouldnt overcome screens
height and shouldnt go under 400px  and the width can not be
less than 200px

CCBUG: 397038
2018-08-01 17:31:40 +03:00
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
2018-07-29 17:11:25 +03:00
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
2018-07-28 19:17:26 +03:00
Michail Vourlakos
f2172562c0 dont allow settings window width to be very small
--to make things even more robust the dock settings
window width is made a portion of the dock settings
window height. The code was also checked in order to not
create any bindings loops

BUG: 396872
2018-07-27 02:06:58 +03:00
l10n daemon script
270e474841 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"
2018-07-26 05:42:31 +02:00
Michail Vourlakos
03b469eff5 IMPORTANT: Update multi-screen codepage!!!
--after v0.8 release many issues with multi-architecture
were identified. An alternative approach was needed
in order for Latte to get a more user-predictable state.
In new approach:
--onPrimary docks have always higher value
and should be shown, this is also like how plasma is
moving its panels.
--explicit docks are removed if their edge in their screen
is occupied by an onPrimary dock
--be stupid smart in order to check if docks contain
tasks and try to not remove them based on screen-changes
is removed! Over-Complicated code that doesnt help
in maintainability...

one of the issues was reported at following bug report...

BUG: 396806
2018-07-24 22:25:19 +03:00
Michail Vourlakos
ffe2995493 delayer for tasks wheel events
-- touchpads and fast wheel scrolling for
tasks was creating an unpredicted effect
from user point view. The solution was
already tested from audio badges, applets
wheel activation but hadnt got into
for Tasks.

BUG: 396737
FIXED-IN: 0.8.1
2018-07-24 18:26:17 +03:00
Michail Vourlakos
c64d39172e increase volumestep for audio badges wheel 2018-07-24 18:14:45 +03:00
Michail Vourlakos
8251fa8263 forward wheel events for underneath plasmoids
BUG: 396811
FIXED-IN: 0.8.1
2018-07-24 18:04:50 +03:00
Michail Vourlakos
9cb58d0d43 dont block shortcuts execution
--when trying to activate an entry through
global shortcuts we should take into
account the docks that we have already
access but that should not block the action
code.
2018-07-23 21:23:28 +03:00
Michail Vourlakos
973090906d more improvements in global shortcuts memory usage 2018-07-23 21:07:32 +03:00
Michail Vourlakos
c9d61e1637 improve memory usage for globalshortcuts 2018-07-23 20:58:12 +03:00
Michail Vourlakos
e908c1207c fixes badges from applets
--fix for binding loop for applets badges
--dont hide applets number badges on hovering
2018-07-23 20:17:44 +03:00
Michail Vourlakos
3ea01dfafc fix badge text warning and border.color 2018-07-23 20:02:29 +03:00
Michail Vourlakos
f3bc0b4c0b disable badges numbers for plasma taskmanagers 2018-07-23 19:13:46 +03:00
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
2018-07-23 18:59:30 +03:00
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.
2018-07-23 17:17:00 +03:00
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
2018-07-23 17:00:58 +03:00
Michail Vourlakos
265383ce34 missing global shortcuts new instance record 9
Summary:
In Latte global shortcuts is missing one record
for New Instance of ninth record

BUG: 396751
FIXED-IN: 0.8.1

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14273
2018-07-22 15:06:51 +03:00
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.
2018-07-21 19:46:25 +03:00
Michail Vourlakos
49d91aa19e update master version to 0.8.75 2018-07-15 12:52:30 +03:00
Michail Vourlakos
785b3029ad update to stable version 0.8.0
--after one year of work v0.8 with
its fantastic new features is here
2018-07-15 12:50:29 +03:00
Michail Vourlakos
5728cb954b fix to update contents correctly between sessions
--when changing Single mode to Multiple mode the latest
changes from user didnt get into because the kde cache
from KFileConfigPtr hadnt been updated yet. This
patch fixes this by using a temp file that contains
the layout in question.
2018-07-13 20:42:11 +03:00
Michail Vourlakos
d36cc5b2fd fixes for dock configuration window
--fix binding loop from Tweaks page
--remove anchorings when used Layouts
2018-07-12 12:46:42 +03:00
Michail Vourlakos
e6d87a0097 fix for filtering tasks based on launchers 2018-07-12 10:35:15 +03:00
Michail Vourlakos
73e9bfae5e open background dialog at better path
--use the background image path in order to open
the Background dialog at that path
2018-07-11 20:39:42 +03:00