Commit Graph

901 Commits (5803366cb3627e8d8dd6b9e66bdac220534516e9)

Author SHA1 Message Date
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