Commit Graph

1163 Commits (4c613a1d478e39427126b7d49e093b3e4d169176)

Author SHA1 Message Date
Michail Vourlakos e63a43afe5 enable requestMove through the visibilitymanager 6 years ago
Michail Vourlakos 578623836b make dock settings window smarter for secwindow
--the secondary configuration window can be shown
either inline or at its own window. In order to
be shown at its own window, that window must not
overlap with the main window. The new implementation
validates this at all cases.
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 ebb5759dc4 expose to qml ligth/dark themes,schemes 6 years ago
Michail Vourlakos 7c484afa91 create reversed color scheme for plasma theme 6 years ago
Michail Vourlakos a011333bf8 update KDirWatch implementations
--make sure that KDirWatch signals are taken into
consideration only when are triggered from the
questioned files
6 years ago
Michail Vourlakos 7d9c5cf593 rename colortools to commontools
--this way more shared functions could be
added
6 years ago
Michail Vourlakos 836bc38778 discover plasma theme path 6 years ago
Michail Vourlakos 3553415c59 load roundness theme info properly 6 years ago
Michail Vourlakos 0cea7e8622 use roundness from extenededTheme in settings win 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 0179bc6395 add colortools for luminas and plasmathemeextended
--plasmathemeextended is going to provide all the
functionality that current plasma theme infrastructure
does not. Such as roundness and dark/light color schemes
6 years ago
Michail Vourlakos 8d014c9e6e active windows that touch panel have higher priority 6 years ago
Yuri Chornoivan 4b55cdce52 Fix minor typo 6 years ago
Michail Vourlakos b1ad7f2a18 send window change signale for color scheme 6 years ago
Michail Vourlakos f2d088a297 add theme roundness option at preferences page 6 years ago
Michail Vourlakos 59f66233f2 track files for schemes changes
--track changes for wm default scheme
--track changes for colors in specific scheme
6 years ago
Michail Vourlakos e1712dded4 add more colors to SchemeColors 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
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 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 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
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 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 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 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 7a693bdcda GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script cdc0cdcd7d GIT_SILENT made messages (after extraction) 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
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
l10n daemon script 41f9e43e7e GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 84de238181 missing apostrophe
BUG: 396676
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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.
7 years ago
Michail Vourlakos 973090906d more improvements in global shortcuts memory usage 7 years ago
Michail Vourlakos c9d61e1637 improve memory usage for globalshortcuts 7 years ago
Michail Vourlakos f3bc0b4c0b disable badges numbers for plasma taskmanagers 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 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
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 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.
7 years ago
Michail Vourlakos 73e9bfae5e 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 a85555f52c 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 abeadb5794 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 63f6d6fd56 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
Michail Vourlakos 393342ad9e revert one fix for blur effect
--limiting the qregion returned for blur effect
it created in some cases broken visuals concerning
the bluring of the background
7 years ago
Michail Vourlakos 7a9c0504db improve effects area calculations
--blur effect is costly this way we limit effects area
to respect the windows boundaries and at cases that
the QRegion returns too main QRects to just use the main
effects rectangle
--this fix possibly fixes the crash related to Blur effect and
moving the dock to another edge bug:396040
7 years ago
Michail Vourlakos 6efeaa7d51 update code to new astyle conditions 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
l10n daemon script bf23b71a11 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos a69ce0abdb remove credits tab
--v0.8 is officialy KDE project, so its
existence owes a lot of credits to many
KDE members (for translations, bug reporting
etc.). Being officially a KDE project
responds to the previous credits.
7 years ago
l10n daemon script f6097cd2dc 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 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 7df0c544e3 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 8bb20ae988 fix #1043,fix warning 7 years ago
Michail Vourlakos 2e2a255936 fix #1029 delay application launcher showing
--when the dock was hidden and the user was triggering
the Meta shortcut the app launcher was misplaced.
By using the same technique used when triggering applets
shortcuts this is fixed.
7 years ago
Yuri Chornoivan e6bff1fac9 Fix minor typo 7 years ago
Michail Vourlakos 568ccd6e26 localization strings improvements 7 years ago
l10n daemon script e1c0af70cf GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos cfce12d6ed fix #1005,add timer to fix freeze
--make less intrusive the repositioning
of the screen edge ghost windows
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
l10n daemon script b944916c51 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos be845b5ba2 missing return statement 7 years ago
Michail Vourlakos c7b66d2732 fix #1023, build error
--missing translation function with two
arguments
7 years ago
Yuri Chornoivan 64d5bc07d0 Fix minor typo 7 years ago
Michail Vourlakos 8214bd090c improve translation strings 7 years ago
Michail Vourlakos 591ce6c4d5 fix #1021,add borders option in layouts window
--the user can now enable/disable borderless maximized
windows per layout through Latte settings window
7 years ago
Michail Vourlakos cf51d10158 add option to (de)activate borderless maxim.window 7 years ago
Michail Vourlakos a5837fff09 add enabler/disabler for borderless maximized wins 7 years ago
Michail Vourlakos eb7b0ec497 fix a crash from ghostscreenedges
--when recreating the dock/panel because of
visibility mode changes sometimes there was
a crash because of the timers for the workaround
of isVisible() changes
7 years ago
l10n daemon script 8927f4d7ac GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 92a7239550 fix #1001,disable maximized borders per layout
--give the user an option in layout file in order
to enable/disable borders for maximized windows.
the option is called "disableBordersForMaximizedWindows"
and must be put in LayoutSettings section
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
l10n daemon script 7c3aab9b98 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 64f036dadd improve layouts elements interaction in config
--use DoubleClick to change ShowInMenu
--dont change Activities when Activities combobox
loses focus, only when the user has really clicked
an element
--select user-set backgrounds properly when showing
the combobox backgrounds popup
7 years ago
Michail Vourlakos 55c373a9e1 RTL fixes in settings windows 7 years ago
l10n daemon script 8356c6ba68 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 78ebe6e258 dont apply containment changes when locked
--if the layout is locked then dont apply any
containment config changes
7 years ago
Michail Vourlakos a87d094986 fix crash from ghostedge in X11
--when unloading a layout under X11
when MultipleLayouts are used sometimes
a crash was occuring.
7 years ago
Michail Vourlakos dd296cdf9c fix #980,support locked/unlocked layouts
--layouts can be read-only and in such case
any settings changes arent saved.
7 years ago
Michail Vourlakos 20c38f6f22 improvements in layouts editor painting 7 years ago
Michail Vourlakos ece4d55f1c add lock layout button in settings 7 years ago
Michail Vourlakos 136a0f322b add missing license headers 7 years ago
Michail Vourlakos 675bfe284d fix #980,support lock icon in layouts editor
-- when a layout is read-only then a lock icon
appears in its layout record.
7 years ago
l10n daemon script 403117e044 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 1e2b996a9e support lock/unlock in layout
--identify if a layout is locked and
support lock/unlock for that layout
7 years ago
Michail Vourlakos b02628de3f update file permissions in more places 7 years ago
Michail Vourlakos 75ab4e9cf0 fix #980,update layouts permissions after importing
--in some systems that layouts are readonly when
copied to user "latte" directory were still
read-only. We are fixing these permissions with
this patch.
7 years ago
Michail Vourlakos 745b9ea075 dont apply too early blur effect
dont delay the corona destruction under wayland
because that creates a crash with kwin effects

BUG: 392890
7 years ago
Michail Vourlakos 94fa4177ac set hidden ghost window mask to minimum 7 years ago
Michail Vourlakos e9b3cf2ed7 Use a new architecture for internal separators
--the old architecture that was trying to keep
an internal separators record couldnt catch up
and at the same time could create issues with
internal separators at different activities.
7 years ago
Michail Vourlakos 5e4134b1ee improve visibility should consider per screen
--maximized windows shouldnt provide solidness
at docks using improve visibility in different
screens.
7 years ago
Michail Vourlakos 27715435a9 update README links and titles
--remove Translators record as from >=v0.7.3
all translations are done through the kde
community.
7 years ago
Michail Vourlakos f287d37ac0 add a dock geometry validator
-- under X11 it was identified that windows
many times especially under screen changes
dont end up at the correct position and size.
This vailidator(timer) will enforce repositionings
and resizes every 500ms if the window hasnt end up
to correct values and until this is achieved.
7 years ago
Michail Vourlakos fa2bc5bae9 increase maximum value of screen tracker 7 years ago
Michail Vourlakos ba2acef2c1 fix warning 7 years ago
Michail Vourlakos 0712d62a3b dont lose focus from dock tooltips
--because focus is lost from dock tooltips the
dock settings window was closing. We take into
account that case in order to not close the
dock settings window in such case
7 years ago
Michail Vourlakos bd211c9d29 disable blur under wayland 7 years ago
Michail Vourlakos f41395abc3 use new plasma way of detecting platform 7 years ago
Yuri Chornoivan 2f107ad4c7 Fix minor typo 7 years ago
Michail Vourlakos dd617d43c8 track primary screen change from qt
--this way we make sure that we track the
primary screen change for wayland also
7 years ago
Michail Vourlakos 83bad3374e expose screen Tracker interval value
--different hardware can have different delays
in order to inform for screen changes. The tracker
(an internal timer that is) informs Latte after
a specific interval in order to track these changes
and respond accordingly.
7 years ago
Michail Vourlakos 6163cecb6b [wayland] add a protection for updateEffects
--Blur effect under Plasma 5.12(wayland) creates
many crashes. As it appears for 5.13 this has been
greatly improved.
7 years ago
Michail Vourlakos fb8063cdee fix #946,improve kwin screen edges under X11
--make sure that the kwin ghost window ends at
the correct geometry at all cases
7 years ago
Michail Vourlakos 9e8406c419 reenable blur for wayland
--as it appears the crash and the support
for blur has been fixed for Plasma 5.13
7 years ago
Michail Vourlakos da5cb9c61f fix #946,improve kwin edges support
--make the behaviour more robust and be more
precise at geometries used at all times
7 years ago
Michail Vourlakos a6a98f3ac7 reduce hide dock and applets numbers interval 7 years ago
Michail Vourlakos 3ea40954fc fix #942,show dock when dragging at kwin edge
-- enable showing the dock if the user drags something
on it and the dock is hidden at a kwin edge
7 years ago
Michail Vourlakos 51e4477499 disable MultipleLayouts for wayland
--KWin in wayland doesnt support yet Activities
and Virtual Desktops. In order to protect the user
we disable the MultipleLayouts
7 years ago
Michail Vourlakos 1f0acbc3b5 Support KWin Edges mechanism
--by default now Latte supports the KWin Edges mechanism,
this way the following issues are fixed:
fix #935, fix #721, fix #687, fix #512, fix #514
--improve dock behavior when the user user touch
gestures
--fix #144, support KWin bright placeholders
--this behavior can be disabled if the user prefers
the old one from the Tweaks page
--in !compositing no more is shown a 1px line at
the screen edge when the dock is hidden
--support KWin Edges in Multiple Layouts state under
X11
7 years ago
Michail Vourlakos a93ecfe65d change default show delay to 0ms
--the reason is the plasma default behavior
for touch gestures under X11. Many users
report that Latte isnt working correctly
with left edges. Latte isnt responsible for
this but the plasma touch gestures implementation.
By changing the default for our Show Timer to
0ms then the situation is improved a bit more
for such cases and the user of course can
always alter its value from dock settings
window.

-https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-my-left-dock-behaves-strangely-from-plasma-510-and-beyond-can-i-fix-this

-https://bugs.kde.org/show_bug.cgi?id=392464
-https://bugs.kde.org/show_bug.cgi?id=382219
7 years ago
Michail Vourlakos 9e03f2732a remember the download window size
--Latte now remembers the last used window size
for the Download dialog
7 years ago
Michail Vourlakos d1320f692e wayland,hide dock config wins from taskbar 7 years ago
Michail Vourlakos 616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
7 years ago
Michail Vourlakos f257512a44 increase the layoutSwitching timer
--in order to give time for the slide-out event
to play correctly
7 years ago
Michail Vourlakos eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
7 years ago
Michail Vourlakos 7dae5e6f41 fixes for update Switch and Remove Buttons
-- changing name of layouts should have a visual
indicator and at the same time the Switch and
Remove buttons should update their states
properly. A Switch or Remove action shouldnt
be allowed after a layout rename until the user
has confirmed the new name for the layout.
7 years ago
Michail Vourlakos 48a788c33d improve DefaultsBtn behavior at Layouts Editor 7 years ago
Michail Vourlakos fecd61ea06 improve button states at Layouts Editor
--dont select active layout in each layoutsChanged
signal
--improve the buttons states at layouts editor based
on what the user can do or not
7 years ago
Michail Vourlakos b8a2a7ff38 dont update selection on each layoutsChanged 7 years ago
Michail Vourlakos 5d97242918 improve layouts editor headers
--dont highlight the layouts header and
dont allow to sort the contents based on
the columns
7 years ago
Michail Vourlakos 04bae04d56 restore defaults to second settings page
--restore default values to options found at
second settings (PreferencesPage)
7 years ago
Michail Vourlakos 4cf4351b80 improve all luminance calculations
--provide more accurate calculations for luminance
based on algorithm at:
https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
7 years ago
Michail Vourlakos 11cccbf40d fix #907,always check overlap for dodgeMaximize
--the check in order to identify if a maximized window
overlaps with the dock wasnt always been executed. That
was the case for multi-screens environments.
7 years ago
Michail Vourlakos 085f5b3d16 update lastUsedActivity in Single Layout mode
--this also fixes #908. Everything was ok except from
the fact that in Single layout mode the needed
lastUsedActivity variable was empty and thus it couldnt
be tracked to update the needed wallpaper correctly.
7 years ago
Michail Vourlakos 4fc3b43238 colorizer fix when the user changes wallpaper
--when the user changes wallpaper there is a chance
that the lastScreen has the same value with the old
one. In such case the wallpaper must be updated.
7 years ago
Scarlett Clark 71d339516e Minor spelling corrections.
Closes: https://phabricator.kde.org/D11101
7 years ago
Michail Vourlakos 420b3d09f0 update hidpi settings based on plasma 7 years ago
Michail Vourlakos b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
7 years ago
Michail Vourlakos 5db8c37cbf fix #900,dont hide panel in editMode
--when the context menu is destroyed it frees
the visibility blocker for hiding. This is true
in normal state but in editing mode it shouldnt
happen.
7 years ago
Michail Vourlakos b0bb99e2a9 compress svg files 7 years ago
Michail Vourlakos de4cddb5d3 update internal splitter icon to use plasma theme 7 years ago
Michail Vourlakos f2b93ac5f2 improve AlwaysVisible during startup in wayland
--the GhostWindow which is used for AlwaysVisible mode
under wayland during startup there was cases that its
geometry was exceeding the maximumGeometry sent.

BUG: 390017
7 years ago
Michail Vourlakos 4da2576ccb remember layouts settings columns width
--layouts columns widths are restored at its
previous values when the settings window is
shown and are saved when the settings window
closes
7 years ago
Michail Vourlakos c8b06b6561 dont show debug message 7 years ago
Michail Vourlakos 6bb7f0ab51 improve context menus for wayland 7 years ago
Michail Vourlakos cb88d134f4 fix #889,dont crash on applcation exit
--the wayland interface couldnt orchestrate correctly
with the corona and the application exit. The whole
architecture changed and the window manager now is
provided by corona and corona is also responsible to
keep only one instance of it and close on exit.
7 years ago
Michail Vourlakos b4b68e5bb1 add wayland debug messages 7 years ago
Michail Vourlakos 0a1488b643 update wayland code based on plasma 7 years ago
Michail Vourlakos d6740bb378 fixes for wayland 7 years ago
Michail Vourlakos 2403fbabe1 update brown textColor 7 years ago
Michail Vourlakos 47054c3380 update layouts color based on new palette 7 years ago
Michail Vourlakos bcce41d064 always update background for colors/backs
--because the comboBox includes Select Background and
TextColor the last edit mode patterns couldnt be selected
in some cases
7 years ago
Michail Vourlakos 7050d7ba1f fix #886 use svg for settings Latte trademark
--remove the Plasma Label that was used to set
the Latte trademark based on Tangerine font that
was distributed from app source code
--remove the Tangarine font from source code
7 years ago
Michail Vourlakos 052a8519ce fix entry index for plasma taskmanagers
--in plasma taskmanagers the index passed starts
from 0 and for latte taskmanager from 1.
7 years ago
Michail Vourlakos 9f03e10b3d delay execution of activating entrys when hidden
--entries execution is delayed in order to give the
time to the dock to show itself first
--improve a bit the code complexity for globalshortcuts.
7 years ago
Michail Vourlakos f2b80b7b52 update strings for global shortcuts 7 years ago
Michail Vourlakos 1ff161a030 updates and improvements at applets glob.shortcuts 7 years ago
Michail Vourlakos db28c6bcaf use globalshortcuts with containment also
--we are trying to expose an applets calling
mechanism that is combined with the latte plasmoids
one with a nice beautiful way
7 years ago
Michail Vourlakos 1e57260c5f asynchronous calls for quiting application
--this gives the time for docks to close and also
to not create any rare crashes because qml settings
window calls this code path from its Quit button.
7 years ago
Michail Vourlakos 32c4ef1d5b Myltiple:improve Activities switching
--improve Activities switching and activation
for orphaned layouts (that is layouts that do
not belong in any specific Activity)
7 years ago
l10n daemon script 10cd514fe0 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos d2495b3350 apply layout's activities on config showing 7 years ago
Michail Vourlakos 7954ce5d52 update Activites correctly for orphaned layouts 7 years ago
l10n daemon script cb6d7bda74 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 1a3cb13094 use same font metrics for qml and c++ code 7 years ago
Michail Vourlakos f9b475cc8a dont handle latte containment as appler for menu 7 years ago
Michail Vourlakos 211399eaf5 support changing the textColor of editMode 7 years ago
Michail Vourlakos eb377767c8 hide textColor when no background is selected
--enable textColor dialog
7 years ago
Michail Vourlakos d21534d6c3 support user background in edit choice 7 years ago
Michail Vourlakos c6408564d0 make the containment background aware 7 years ago
Michail Vourlakos 30fa3e0b1a improvements for user backgrounds 7 years ago
Michail Vourlakos 3110986215 prepare setting background 7 years ago
Michail Vourlakos b00ec4fcee set background image for colorscombobox 7 years ago
Michail Vourlakos 41117e9290 add background and textColor to layout
-- auto-adjust the textShadow for Ruler based on
the textColor luminosity
7 years ago
Michail Vourlakos dd2751add9 center activities text in Layouts 7 years ago
Michail Vourlakos bf7032a9f4 add options for the user to set edit image
--and also text color of the edit mode
7 years ago
Michail Vourlakos c2e72b7f67 do not update struts during location change 7 years ago
Michail Vourlakos 61c28978e6 publish internal ediMode to dock
--use internal edit mode to wm's visibilitymanager.
More specific use it in AlwaysVisible mode in order
to not publish the new struts because the animations
have ended.
7 years ago
Michail Vourlakos 73229c5fbc give some more space in editingVisual for ruler 7 years ago
Michail Vourlakos f20da16854 update license in new files 7 years ago
Michail Vourlakos a1c672a864 create independent secondary config window 7 years ago
Michail Vourlakos 3bddb99881 remove ghost containments on loading
--ghost containments such as when a user
deletes a dock without notification confirmation
can be removed afterwards when that layout is
loading either at Single or Multiple mode.
7 years ago
l10n daemon script 73940eff3b 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 5b0bcda3c4 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos e07f6e207e expose contextMenu data through dbus 7 years ago
Michail Vourlakos 028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
7 years ago
Michail Vourlakos dfdf07404c dont show info window when no adding layout
--and the user hasnt chosen it
7 years ago
Michail Vourlakos ba149a65e3 update applyButtons when checkboxes change state 7 years ago
Michail Vourlakos cbfc7da27b dont show two configuration windows(systrays) 7 years ago
Michail Vourlakos 43cc5da6fa complete containmentactions support
--this way the Layouts menu in now accesible
even from plasma taskmanagers. The codebase is also
the same for every component that is showing its
menus.
7 years ago
Michail Vourlakos f9afa1bc1f move completely to containmentactions 7 years ago
Michail Vourlakos 5660e0ec9c preparing layouts menu in containmentactions 7 years ago
Michail Vourlakos 82e77f7b23 more improvements to containmentactions 7 years ago
Michail Vourlakos d3756e0ce1 add containmentactions 7 years ago
Michail Vourlakos 35643ac5f3 include translations of the dock folder 7 years ago
Michail Vourlakos 474c7a3970 slide-out docks on closing 7 years ago
Michail Vourlakos 4b07ae7457 move dock contextmenu to dockmenumanager 7 years ago
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog 7 years ago
Michail Vourlakos e4153271ef fix dependencies and references 7 years ago
Michail Vourlakos acb77c6cd4 update header files and move files around 7 years ago
l10n daemon script 811bdd7111 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 bd3a120c58 remove deprecated code 7 years ago
Michail Vourlakos 973cf1bd58 fixes for import/export of MultipleLayouts etc... 7 years ago
Michail Vourlakos f22e26fef3 dont update lastUsedActivity for FakeMultiLayout 7 years ago
Michail Vourlakos c436d4f201 move docksCount from corona to layout 7 years ago
Michail Vourlakos c95169ff67 remove freeEdge(s) from corona
--use only the layout versions
7 years ago
Michail Vourlakos d501f05ade remove deprecated noOfDocks of corona 7 years ago
Michail Vourlakos f7f7d3da6c move explicitDockOccupyEdge to layout 7 years ago
Michail Vourlakos 6a1c8173e2 remove noDocksWithTasks from corona 7 years ago
Michail Vourlakos a0d1d4ccf6 MultipleLayouts:fixes/improvements in multi-screen 7 years ago
Michail Vourlakos 3d471ee884 update syncDockViews to per layout 7 years ago
Michail Vourlakos 5e2d786729 add freeEdges in layout 7 years ago
Michail Vourlakos 7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
7 years ago
Michail Vourlakos ff5f91e3cb hide debugging parser options 7 years ago
Michail Vourlakos 0a84aa3d20 remove old layouts before adding new ones 7 years ago
Michail Vourlakos 22a844395b update layoutsView when runningActivities changed 7 years ago
Michail Vourlakos 8aad360916 add lastUsedActivity in the layout file
--lastUsedActivity is also used when we are opening
an assigned0-activities layout in order to choose in which
activity to swith on starting.
7 years ago
Michail Vourlakos de794cf8fe show running Activities in bold in config window 7 years ago
Michail Vourlakos c62106969a fixes for Pause layout in config window 7 years ago
Michail Vourlakos 2327965c24 support pausing activities from main config window 7 years ago
Michail Vourlakos e3b398bee7 dont close config window when an activity closes 7 years ago
Michail Vourlakos ba17f39940 MultipleLayouts:add Pause button
--add a pause button in order to pause Activities
assigned in an active layout from the central
configuration window
7 years ago
Michail Vourlakos 1e22d997e9 MultipleLayouts:activate them properly
--When switching from Single to MultipleLayouts
and the user has chosen a different layout, then
activate that specific Activity also..
7 years ago
Michail Vourlakos ad35aa9a6e enable ok/apply only when there are changes
--The config window now is more intelligent. It remembers
the original settings and enables ok/apply only where there
are really changes
7 years ago
Michail Vourlakos 723abbf0f9 clear unneeded component cache on leave event 7 years ago
Michail Vourlakos 4b0a134187 fix #839,support inline settings
--when the secondary config window isnt created
(e.g. when the screen resolution is very small),
in such cases the relevant options are added in
the main config window
7 years ago
Michail Vourlakos b68151e9fc dont show secondary config window,small resolutions 7 years ago
Michail Vourlakos 26808429d4 fix rename orphaned active Layout 7 years ago
l10n daemon script d69048cf2f 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 4212d57ca7 enable global shortcuts for universal settings 7 years ago
Michail Vourlakos d97a819bc1 enable mouse sensitivity for parabolic effect 7 years ago
Michail Vourlakos 22ef2280d2 enable universal settings in Latte Settings Window 7 years ago
Michail Vourlakos 7b3892de7f update latteconfig to use corona 7 years ago
Michail Vourlakos 1ab273753e add menu/about in Latte Settings window 7 years ago
Michail Vourlakos fb3764e432 trigger Latte Config Window from L symbol 7 years ago