Commit Graph

2222 Commits (89a810804573c9c5b5d1267109c02ddce2402ddf)
 

Author SHA1 Message Date
Michail Vourlakos 89a8108045 update CHANGELOG to v0.8.1 7 years ago
Michail Vourlakos 10dfc62347 on startup explicit dock faulty moving onPrimary
--multi-screen fix for explicit docks. There were
cases that explicit docks during startup were
moving to onprimary screen even though they shouldnt
based on the new multi-screens implementation.
Bug was tracked down at a faulty series of signals
that were overwriting dockView config values
to default values and that was creating the fault.
-- one more fix for multi-screens, a missing return
statement in case an explicit dock is called and its
edge at that specific screen is occuppied by an
onPrimary one.

BUG: 398219
FIXED-IN: 0.8.1
(cherry picked from commit 09fe5e385b)
7 years ago
l10n daemon script d39028104b 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 ceacb5745c IMPORTANT FIX:show dodged dock at corner cases
When there was only one latte dock and the last
active window was closed, the dock wasnt showing
afterwards. The dodge logic now has been improved
in order to not lose any window manager signals
that could help indicate when to show/hide a
dodge capable dock

BUG: 398052
FIXED-IN: 0.8.1
(cherry picked from commit 203c740980)
7 years ago
Michail Vourlakos 43f78605d4 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

(cherry picked from commit 0f79c08e86)
7 years ago
Michail Vourlakos d080b9a89f 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

(cherry picked from commit fc8a531837)
7 years ago
Michail Vourlakos a5a20c0af7 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
(cherry picked from commit ec0e16ca5a)
7 years ago
Michail Vourlakos daa25d5e03 simplify dodge(s) code and comment it
(cherry picked from commit cc0e0e7c47)
7 years ago
Michail Vourlakos fbb7f79974 raise docks when there isnt any active window
--there are cases that the window manager doesnt
return any active window at all. In such cases
we can assume that our docks/panels dont have to
be hidden.

BUG: 398052
FIXED-IN: 0.8.1
(cherry picked from commit 66817695fe)
7 years ago
Tobias C. Berner 4a2db533d5 Fix build on FreeBSD by including <array>.
Summary:
latte-dock-0.8.0/app/dock/dockview.h:367:44:
    error: implicit instantiation of undefined template 'std::__1::array<QMetaObject::Connection, 4>'
    std::array<QMetaObject::Connection, 4> connectionsManagedLayout;
                                           ^

Reviewers: #freebsd, mvourlakos, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14534

(cherry picked from commit 156accc34f)
7 years ago
Michail Vourlakos 70a1d5c7f2 update to latest panel shadows
(cherry picked from commit 9e53fa727b)
7 years ago
Michail Vourlakos abf8b5c772 delay hiding previews when creating contextmenu
-- there are cases that hiding previews too early
can create crashes under wayland. Such a case is
when the user uses the touchpad to emulate a right-click
event to create a context menu for specific task

BUG: 397635
FIXED-IN: 0.8.1
(cherry picked from commit b4dd016ed0)
7 years ago
Michail Vourlakos 56b4be6f8e 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
(cherry picked from commit afb34a85cf)
7 years ago
Michail Vourlakos 60f488f3a1 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
(cherry picked from commit 87094a6fe7)
7 years ago
Michail Vourlakos 472041db38 restore panel shadows for docks
(cherry picked from commit 6070d2b0f0)
7 years ago
Michail Vourlakos 87f5650b3c 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.

(cherry picked from commit 81d3a12e91)
7 years ago
Michail Vourlakos 72f7d3c4f1 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

(cherry picked from commit 285a2f8764)
7 years ago
Michail Vourlakos 7f97714e2b 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.

(cherry picked from commit b2f1f98b57)
7 years ago
Michail Vourlakos f61f1a58fe 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
(cherry picked from commit bb8835f156)
7 years ago
Michail Vourlakos 2bf6d36acb 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
(cherry picked from commit 78b41eff91)
7 years ago
l10n daemon script 47f96e1e05 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 1176aff7b6 GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 3c1d55886f 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 0feffd08da GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 176d7200cd 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
(cherry picked from commit b4a7b1ac84)
7 years ago
l10n daemon script 7255f621aa GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script fe6531ce12 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 d3181579a8 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 6f40663478 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
(cherry picked from commit 7bceb7e4b7)
7 years ago
Michail Vourlakos b19702987f 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
(cherry picked from commit 30c90d2a41)
7 years ago
Michail Vourlakos 2034d07c8e 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 fdbb2451d0 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 f700ac4f2c 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
7 years ago
l10n daemon script d5ef623fc3 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 620680e5d3 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
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 0bee41c9a7 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
7 years ago
Michail Vourlakos 77fbd306cb increase volumestep for audio badges wheel 7 years ago
Michail Vourlakos 8eef4a18ab forward wheel events for underneath plasmoids
BUG: 396811
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos cee8dd4448 fix badge text warning and border.color 7 years ago
Michail Vourlakos 08f0fd35b4 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
7 years ago
Michail Vourlakos 5803366cb3 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 0cf3452a6c 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 bc9c45a42a 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.
7 years ago
Michail Vourlakos 2d77f98896 fixes for dock configuration window
--fix binding loop from Tweaks page
--remove anchorings when used Layouts
7 years ago
Michail Vourlakos 1a65904c8c fix for filtering tasks based on launchers 7 years ago
Michail Vourlakos 4b3fad71f7 open background dialog at better path
--use the background image path in order to open
the Background dialog at that path
7 years ago
Michail Vourlakos df5ab85e30 FIX creating and copying docks
--there were cases that during creating
or copying docks the applets ids were
created inconsistent by creating applets
with ids already reserved. This patch
fixes this by using the applet ids found
in the layout file and not the one loaded
in memory.
7 years ago
l10n daemon script 3dfccee59b 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 83c4d30ccf GIT_SILENT made messages (after extraction) 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