Commit Graph

2260 Commits (37dbab99bf43b641ef04c36935afa3b67c0ffaaa)
 

Author SHA1 Message Date
Michail Vourlakos 37dbab99bf remove no needed public api from visibilitymanager 6 years ago
Michail Vourlakos 0bab344682 fixes for multi-screen behavior
--fix wrong placement at multi-screen environment
during startup. freeEdges function was not sufficient for
reconsiderScreen() because there was a chance to
exclude edges that even though they were available
it returned fault results. Such case is when
a view request available edges for specific screen
and the edge of that specific view is also exluded
because that view has not finished its movement
to the new assigned screen.

--fix re-adding an explicit dock when its screen
is activated. A check was missing in order to
confirm that a primary dock is occuping that
edge but we must check also that the primary
screen is the same with the explicit one.

--add/improve debug messages
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
l10n daemon script b7a1bbfdfc GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos be7bbfe848 dont call syncGeometry when some cases
--dont call costly syncGeometry when drawShadows
externally is called. In such case only updating
shadows/borders is needed.
6 years ago
Michail Vourlakos f955c6a40c improve reconsiderScreens code for multi-screens
--try to make screens assignment and window geometry
more consistent. There are three variables in a dock
window for its screen and positioning to be accurate,
screen(), m_screenToFollow, m_screenToFollowId

BUG: 399456
6 years ago
Michail Vourlakos 135ddc479d dont break BorderlessMaximized window default
--dont update the BorderlessMaximized value if
the user hasnt explicitly enabled it from Latte
options.
6 years ago
Michail Vourlakos 1638449997 imrove windowChanged signal under X11
--the new code contains more comments and except
blacklisting all NET::Properties2 signals that are
not accompanied with NET::Properties it also
whitelists specific states for NET::WMState.
This should lower a lot the calculations needed
in order to support the dodge visibility modes.
At the same time apps that are abusing X11 signals
should be ignored totally because the whitelisted
states and NET::Properties are only set by the
user or the window manager.

BUG: 399149
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos e44bbffc78 hovering disable media buttons broke previews
--when back/forward media buttons in previews
where disabled and the mouse was hovering them
then the preview was hiding itself and the
previews experience was broken.
6 years ago
Michail Vourlakos 6f0bde510c dont break parabolic effect when dropping url
--when the user was dropping a file onto a launcher
after the new window was created the parabolic
effect was showing a faulty triggering.
6 years ago
Michail Vourlakos 8db41a9ec2 open dropped urls for launchers in Global group
--dropped paths/urls on launchers of Global or
Layout launchers group did not open because the
synced infrastructure was breaking the QJsonArray
in that case.

FIXED-IN: 0.8.2
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 beb28b1a9f dont hide preview when hovering player buttons
--when the user was hovering the preview player
buttons the preview was hiding itself. This patch
fixes the situation in order to identify properly
that the mouse is still in the preview in such
case.

BUG: 398962
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos c84f2629da add a NEWFEATURES file for master
--track down which new features/fixes
specific to master branch have been added
6 years ago
Michail Vourlakos 64a40429a4 option/define who will be used at global shortcuts
--add an option in Tweaks page in order for the user
to define which dock/panel will have the highest priority
for global shortcuts activation. This option can be
used is per layout basis. Each layout can have its own
high priority dock/panel for Latte unified shortcuts.

BUG: 398914
6 years ago
Michail Vourlakos 4732f7f1b1 activate entries for docks containing only applets
--when a dock/panel does not contain any taskmanager
should also be able to activate its applets through
Latte's unified global shortcuts

BUG: 398913
6 years ago
Michail Vourlakos 892becd5f0 show full text in previews tooltips
--add some margins in order to be able to draw full
text at launchers previews

BUG: 398948
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 c254ea066d update CHANGELOG to v0.8.1 6 years ago
Michail Vourlakos 09fe5e385b 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
7 years ago
l10n daemon script 2897465060 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 beb219f7c1 fix for right margin inconsistency 7 years ago
Michail Vourlakos 6b93219ca6 remove no-needed right margins from Behavior page
--use the same margins for all dock settings pages
in order to look more consistent
7 years ago
Michail Vourlakos 28fbfc1eb1 narrow a bit the dock settings windows ratio 7 years ago
Michail Vourlakos 203c740980 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
7 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
Michail Vourlakos cc0e0e7c47 simplify dodge(s) code and comment it 7 years ago
Michail Vourlakos 66817695fe 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
7 years ago
Tobias C. Berner 156accc34f 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
7 years ago
Michail Vourlakos 9e53fa727b update to latest panel shadows 7 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos b4dd016ed0 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
7 years ago
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
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 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
7 years ago
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.
7 years ago
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
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
l10n daemon script 7a693bdcda GIT_SILENT made messages (after extraction) 7 years ago
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"
7 years ago
l10n daemon script cdc0cdcd7d GIT_SILENT made messages (after extraction) 7 years ago
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
7 years ago
l10n daemon script 46fa568350 GIT_SILENT made messages (after extraction) 7 years ago
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
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