Commit Graph

2303 Commits (da3fbca4771feb18aa395728cf2dd4a284d722bd)

Author SHA1 Message Date
Michail Vourlakos e1c38213b9 introduce viewsettingsfactory
--is going to be responsible to hold only
one instance of view config windows
5 years ago
Michail Vourlakos a90bf4b75b update Apply for meta option in Preferences 5 years ago
Michail Vourlakos 5bd1fe955d dont initialize global launchers group from config 5 years ago
l10n daemon script 16ccd123dd 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"
5 years ago
l10n daemon script e7f398edfe GIT_SILENT made messages (after extraction) 5 years ago
l10n daemon script 300b8025f1 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"
5 years ago
l10n daemon script 83a5543005 GIT_SILENT made messages (after extraction) 5 years ago
l10n daemon script d953d7bf98 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"
5 years ago
l10n daemon script f419b20e47 GIT_SILENT made messages (after extraction) 5 years ago
l10n daemon script c5072f98de 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"
5 years ago
l10n daemon script 456746b16d GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 2236fb331d blacklist more qt 5.15 debug messages
--qt 5.15 keeps the non sense for continuously informing
the user for qt 6.0 changes. Problem is that as long an
application supports qt < 5.14 these deprecated functions
can not be fixed yet.
5 years ago
Michail Vourlakos 0c577d68da fix active window maximized in wm tracking
--consider also the maximized window is touching
view edge case
5 years ago
l10n daemon script a1904bf849 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos c7f530fb7a block deleting Layout with Del in Editor 5 years ago
Michail Vourlakos e6e68d86c3 update FrameExtends for View::typeChanged
--during startup a panel type may become a dock type
and vice versa. We make sure that frameExtents
are updated accordingly when that happens.
5 years ago
Michail Vourlakos edb943db6b fixes for spacers and positioning of behaveAsPanel
--fix positioning for Right/Bottom alignments when
View behavesAsPlasmaPanel
5 years ago
Michail Vourlakos 84a5eecf79 update struts in Single layout mode earlier 5 years ago
Michail Vourlakos 631837e199 Tasks fixes for disableAllWindowsFunctionality 5 years ago
Michail Vourlakos fa4ffbf521 use PositionShortuts Ability for activate/new 5 years ago
Michail Vourlakos dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
5 years ago
Michail Vourlakos f32937ca6d first commit for multi on position shortcuts 5 years ago
Michail Vourlakos cb368c504d drop old Tasks identification code paths 5 years ago
Michail Vourlakos 3cadc32fc4 improvements for Tasks applets usage 5 years ago
Michail Vourlakos 2fae4a87ba ContainmentInt is now resposible for all Tasks 5 years ago
Michail Vourlakos 99db4d54f2 support plasma tasks model for tracking 5 years ago
Michail Vourlakos 76781094af rename ExtInterface::model to LatteTasksModel 5 years ago
Michail Vourlakos fe4704e355 block par.effect for applet popups 5 years ago
Michail Vourlakos b264854a98 Dodge visibility mode now ignores edge touches
--The new implementation for snapping needed to remove
the touching view edge from touching algorithm. The
windows trakers now provide two separate values for each
touching.
----First value is for regular window touches for which
their window geometry intersects with view published
absoluteGeometry
----Second value is for windows that are touching
view edge without intersecting with view geometry
5 years ago
Michail Vourlakos b4de1e3cad update Positioner::syncGeometry in specific case
--when a behaveAsPlasmaPanel is sliding-in and View
is in editMode, it is a good idea to calle
Positioner::syncGeometry() in order to validate
the View window geometry in edit mode. The problematic
case example was a right SideBar Panel that when
was hidden and the user was using Meta+A to
show its settings, the View did not change its
geometry properly in the end.
5 years ago
Michail Vourlakos 236dd2c3b9 update frameExtents for View::locationChanged 5 years ago
Michail Vourlakos 6f3367225d new Effects API for config windows subtract region 5 years ago
Michail Vourlakos 741eedfc3c improve Primary Config view syncGeometry
--fix also a crash when updateInlineProperties
was called
5 years ago
Michail Vourlakos 614bb7014f new Effects API for mask United/Subtracted regions
--View::Effects now provides in API in order for
elements to publish regions that need to be added
or removed from View::mask(). A good example for this
is View Config windows that must remove a rectangle
for their bottom edge in order for users to have
fully access to their action buttons at the bottom.
5 years ago
Michail Vourlakos 54ea58c215 remove deprecated Effects subtracted implementatio 5 years ago
Michail Vourlakos 46760a04de cycle properly config views with Meta+A 5 years ago
Michail Vourlakos d6fc66a7a3 user option for hiddenConfigWindowsAreDeleted
--when hidden configuration windows are deleted memory
consumption is improved and provides much lower values
--when hidden configuration windows are not deleted
memory consumption increases but their responsiveness
for hiding/showing is instantly
5 years ago
Michail Vourlakos 1dcf799d42 a way to not delete hidden config windows 5 years ago
Michail Vourlakos 66f8cce6d9 introduce Layouter Debug mode
--really handy and beautiful in order to confirm the
calculations that are valid. Already a bug was found
for ParabolicEffect. There is 1px difference between
hovering Tasks and Applets
5 years ago
Michail Vourlakos afb4279e09 fix View::Settings::updateEffects() area
--update effects area should be consistent with
settings dialog backgroud. Currently that has
changed to more apporpriate "dialogs/background"
5 years ago
Michail Vourlakos 3ad89c10a4 fix crash from indicator config ui creation 5 years ago
Michail Vourlakos ec949948b6 fix View recraetion and frameExtents freezes
--View recreation path was broken from new implementation
for Latte::Interfaces that pass objects to containment
interface. This is now fixed and Interfaces::View object is updated
and broadcasted correctly when changed
--when GtkFrameExtents are zeroed for behaveAsPlasmaPanels
then it is better to recreate the view to avoid freezes and
hidings of the view because of compositor strange behavior
5 years ago
Michail Vourlakos b6183c526c update frameExtents at View::forcedWorkaroundShown 5 years ago
Michail Vourlakos a91f6a8a8e make Effects updateEffect(),GtkFrameExtents aware 5 years ago
Michail Vourlakos e16ca1f87b release indicator config ui when window closes 5 years ago
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
5 years ago
Michail Vourlakos e83f7e551e redraw panel shadows after !visible workarounds
--use a single slot when View triggers its workarounds
for the kwin issue that kwin hides panels when an activity
stops. In such case the view shadows are also redrawn.
5 years ago
Michail Vourlakos 7f2dc14880 fix Blur calculations during workaround
--there are cases that the Blurred area svg returns
a NULL mask() even though it should not. In such
cases the workaround takes place and for the workaround
the calculations have already taken place and we
do not need to reapply them because in that case
the blurred area moves out of the window.
5 years ago
Michail Vourlakos 114828ad88 reduce GtkFrameExtents calls/triggers 5 years ago
Michail Vourlakos 3e17f718ee dont block hiding for #debugwindow#(s) 5 years ago
Michail Vourlakos 8b32be15b9 support GtkFrameExtents under X11
--this way to dock windows can now snap beautifully
with windows around them, very beautiful behavior!
That was pretty annoying in the past.
5 years ago
Michail Vourlakos 383e365f82 update availableScreenRegionWithCriteria
--the new implementation is much simpler and takes into
account all alignment types and view dock/panel modes
5 years ago
Michail Vourlakos 4501c940f1 fix hide screen gap animation for behaveAsPanels 5 years ago
Michail Vourlakos dd4e4fb79d rename all Background.MultiLayer values
--much better and understandable names are now used
5 years ago
Michail Vourlakos 1e144fc3e7 solution for Unity style layouts top view shadow
--when a vertical view that acts as a unity-style one
is activated, it sends a signal to top view to update
their visibility in order to stay on top
5 years ago
Michail Vourlakos 5113674f18 color warning messages to not take attention 5 years ago
Michail Vourlakos 78dfd9bd6b fix debug output and take full control
--dont print warnings from qt 5.14 bindings
--provide a filter debug text property
--colorize a bit the debug output
5 years ago
l10n daemon script 51a302de63 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"
5 years ago
Michail Vourlakos 1e48d053f7 fix crash when switching layouts
-- the faulter was containmentinterface that was
calling containment()->applets() during view
destroying phase
5 years ago
Michail Vourlakos 0bb838d90e fix triggering for contextMenuIsShown
--it should not be triggered in every view press
event but only when there is or not a context
menu any more
5 years ago
l10n daemon script 69267e493a GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos b3ec491863 protect from crashes of application interfaces 5 years ago
Michail Vourlakos b43e864e8a fix crash by releasing Interface *view properly
--when Latte::View is destroyed the Interfaces exposed
to qml should be informed also in order to not create
crashes
5 years ago
Michail Vourlakos 9be7822b98 upgrade to LatteApp.Interfaces containment access 5 years ago
Michail Vourlakos e8c15905d6 position properly alignments for real panels
--provide calculations to position properly real
panels that use Left/Right/Top/Bottom alignments
5 years ago
Michail Vourlakos 441fbdf635 plenty of improvements to position Latte panels
--used a video demonstrating multiple panels at the
bottom edge with padding between them
--max/minLength and offset are changed to float values
--max/minLength and offset can now be adjusted with
Ctrl+Wheel over their label in Appearance tab page. Clicking
the previous mentioned label will round the values
--introduce an autoSizeEnabled value in order to block
auto size mechanism when it becomes annoying. Such issue
appears more often to Latte panels
--block MenuZ from Latte icon heuristics
5 years ago
Michail Vourlakos 97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
5 years ago
Michail Vourlakos b509589a1c improve strings in settings layouts tab 5 years ago
Michail Vourlakos deb9c244ff improve/support BackgroundTracker in app
--the new implementation is much improved and easy
to support. No workaround and direct use of the
libraries
5 years ago
Michail Vourlakos 63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
5 years ago
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
5 years ago
Michail Vourlakos 9c57f9db4b introduce AppTypes.MouseSensitivity 5 years ago
Michail Vourlakos 9919952239 bring back Settings::inAdvancedMode
--ViewSettings::complexityLevel is not needed
any more... View::Settings will keep only two
states, Basic and Advanced mode
5 years ago
Michail Vourlakos 0a4fd31f32 support Latte::ImportExportState 5 years ago
Michail Vourlakos 552216d4d3 support Layout::BackgroundStyle 5 years ago
Michail Vourlakos beeb1445ff remove deprecated types directory 5 years ago
Michail Vourlakos 6e4779e6ab require new official Latte library 5 years ago
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library 5 years ago
Michail Vourlakos 1ad1dd2982 fixes for globalshortcuts highest view identify
--always find the highest view that is going to be
used for global shortcuts based on position activation
--adjust the code a bit for SideBars in order to show
when a SideBar is called for global shortcuts based
on position activation and hide correctly when the
global shortcut is not triggered any more.

BUG:420356
5 years ago
Michail Vourlakos e368d03222 fix crash from configwindow when switching layouts 5 years ago
l10n daemon script d0bf13aa72 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"
5 years ago
Michail Vourlakos 0d0b0413bb activate appletquickitem if it is not expandable
--when the user requests to activate an applet that
it is not expandable such as DashBoard then only
thing that it is possible, it is to forcefully
activate it

BUG:420275
5 years ago
Michail Vourlakos dbee0a81df fix typo in availableScreenRectWithCriteria 5 years ago
Michail Vourlakos e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
5 years ago
Michail Vourlakos 5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
5 years ago
Michail Vourlakos 5fdcef81af TASKS:Migrate to multiple Tasks architecture
--First steps in order to support mulitple Tasks
applets in the same dock and panel.
--Step1: migrate values from Containment to Task
applet.
--Step2: deprecate Task applet options that are
found in containment
--Step3: provide multiple dynamic Tasks tabs in
settings
5 years ago
Michail Vourlakos 0da74fb3ce Tasks:track multiple Tasks applets
--create an infrastructure in order to be able
to adjust and configure multiple Tasks plasmoids
5 years ago
Michail Vourlakos da2d4c2b35 DetailsWin:sort combobox layouts based on name 5 years ago
Michail Vourlakos f4fa185246 fix details window first showing layout 5 years ago
Michail Vourlakos 5a1237fb6a first connections,Details window and Layouts Model 5 years ago
Michail Vourlakos c067764013 add details window functionality 5 years ago
Michail Vourlakos c8c0871754 fix crash for Esc in Settings window 5 years ago
Michail Vourlakos bde33f98a9 remove blockHidingEvent on SideBar startup 5 years ago
Michail Vourlakos a1b8e4518a update details window info when changing layouts 5 years ago
Michail Vourlakos b296437288 do not reload views for default indicators
--when default indicators are reinstalled then
views do not have to be reload its sources. The user
is expected in such cases to restart Latte. At the
same time installing Latte multiple times does not
create too many views recreations with no real
reason
5 years ago
Michail Vourlakos 92f1b1fe30 details window improvements 5 years ago
Michail Vourlakos 0e7420037e settings:same infrastructure for information
--add GenericDialog class in order to provide
same implementation for all settings::dialogs.
As a first step GenericDialog provides a common
showInlineMessage api
5 years ago
Michail Vourlakos 3447e44f25 details:background shadow fixes 5 years ago
Michail Vourlakos 14e739b395 details:provided layout backgrounds 5 years ago
Michail Vourlakos 423df425ee improve detail items alignment 5 years ago
Michail Vourlakos cbc5ff5d40 introduce details dialog ui 5 years ago
Michail Vourlakos f9c024095c ignore View real panel movements for desktop space
--when real panel views are slided out either for auto
hiding, dodge case or dynamically removing their screen
margin the desktop available space should not be
changed; it should stay the same.
5 years ago
Michail Vourlakos 1af553fa13 improve applets context menu placement 5 years ago
l10n daemon script 92f717dc06 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"
5 years ago
Michail Vourlakos 72ebfe1aae improve contextmenu placement for containments 5 years ago
Michail Vourlakos 87b5dff9b5 dont switch layout with Enter in settings 5 years ago
Michail Vourlakos 8b41314b2f enable scrolling activation only for expandable
--systrays/internal containments are blocked from
this
5 years ago
Michail Vourlakos 6fafa83b15 improve applets context menu placement 5 years ago
Michail Vourlakos 0046c904d1 View:Move expanded applets code to View::Interface 5 years ago
Michail Vourlakos fa65462dea move View::deactivateApplets to extendedInterface 5 years ago
Michail Vourlakos 50c136b56f provide View::ExtendedInterface to qml parts 5 years ago
Michail Vourlakos ce245ab253 ignore some windows in LastActiveWindow
--LastActiveWindow is providing information to
applets thus special windows that contain
the following flags:
skipTaskBar AND (skipPager OR skipSwitcher)
these windows can be totally ignored.
In such window case the LastActiveWindow used
are provided.

BUG:419384
5 years ago
Michail Vourlakos f90e86fa88 introduce hasSkipPager/Switcher for window infos 5 years ago
Michail Vourlakos 1f92045873 update windowinfowrap code style
--make its code style like the one
used in other data classes
5 years ago
Michail Vourlakos c333e11cdb update applets expanded tracking on every startup
--even when the views is recreated
5 years ago
Michail Vourlakos 4defd31669 fix compatibility with frameworks 5.38
--FrameSvgItem::mask() was introduced after
frameworks 5.58. Restore a bit the old
implementation

FIXED-IN:0.9.11
BUG:419678
5 years ago
Michail Vourlakos f63a467b1e improvements for applet isExpanded tracking 5 years ago
Michail Vourlakos 8c3ed88a2f disable some debug messages 5 years ago
Michail Vourlakos 1adcbdb863 improve identify applets expanded state 5 years ago
Michail Vourlakos aa3aba50d9 make blockHiding multiple state
--blockHiding now tracks down which event has
requested it and it can work flawlessly with
multiple events

BUG:419034
5 years ago
Michail Vourlakos 778dcc3e5a fix 5.38 compatibility for wayland case 5 years ago
Michail Vourlakos 688a45289a make SHARETOINEDITROLE proxy model capable 5 years ago
l10n daemon script a8cd465917 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"
5 years ago
Michail Vourlakos b4847e1a79 choose which layouts must be saved in settings
--through the Layouts model we know which layouts
have been saved and which of them do not need to
be touched because they do not have any changes
5 years ago
Michail Vourlakos e4670dace2 new implementation to update layout ids in settings 5 years ago
Michail Vourlakos 6bc4409b0b move settings dialogs in their own directory 5 years ago
Michail Vourlakos ef2650e711 systray,support context menus for SNI items
--SNI items are handling the context menu by their
own, so Latte code should not interfere

BUG:419263
FIXED-IN:0.9.11
5 years ago
Michail Vourlakos 0d29114664 whitelist krunner and yakuake windows 5 years ago
Michail Vourlakos 1e9785dc0b introduce details button in settings window 5 years ago
Michail Vourlakos 41f945d4e1 move layout icons handling in the model
--this way it will be easier the layout icons
list to be used by other widgets also
5 years ago
l10n daemon script 6dac4e4065 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"
5 years ago
Michail Vourlakos 4d3b5e86e8 major refrest for wm(s), remove consts
--introduce also windows whitelist that can
be used in order to force tracking in some
windows
5 years ago
Michail Vourlakos a651d9f731 wayland:ignore all popups 5 years ago
Michail Vourlakos efaaf70297 x11: do not track popups at all cases 5 years ago
Michail Vourlakos 6ab4c61d5a protect layout toggle sharing
--do not assign a share will it is already used
from other layout
5 years ago
Michail Vourlakos 15fd0f1059 sort layouts model based on groups 5 years ago
Michail Vourlakos 72fdf4563b improve AbstractLayout background infrastructure
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
5 years ago
Michail Vourlakos a613bb49ba small improvements 5 years ago
Michail Vourlakos 90d1cedc1e fix context menu for applet if group plasmoid
--the new code can understand ALL applets that are
inside an internal containment style applets such
as plasma, nomad systrays and group plasmoid

FIXED-IN:0.9.10
5 years ago
Michail Vourlakos 705e3d2d1e notforce reshow view when really removing from user
--the workaround to reshow views when the activities are
pausing from the kwin_x11 bug interfer with user REMOVING
a dock or panel. We now protect the workaround to not
interfere with REALREMOVING
5 years ago
Michail Vourlakos 25cfd25477 fix plasma geometries publish in multi-screen
--when a screen becomes inactive then its last values
for available rect and reqions should also be removed
from the recorded values.
5 years ago
Michail Vourlakos e951aa67b2 protect updating LastActiveWindow appData
--LastActiveWindow application data should be updated
only when the last active window id is equal with
the sent application data. Otherwise we may show
Application name and icon for totally irrelevant
window.

Bug was first reported at:
https://github.com/psifidotos/applet-window-title/issues/89/

FIXED-IN:0.9.10
5 years ago
Michail Vourlakos 5bdb8a683d update sorting in layouts model
--the new priorities take into account
the layout name to be ordered as a last
criteria
5 years ago
Michail Vourlakos 4832042b0f add message for dropping layout files 5 years ago
Michail Vourlakos 2e79a5df30 mv layouts headerview to settings/views folder 5 years ago
Michail Vourlakos 100e3d4884 update knsrc installation path
--since kde frameworks >= 57 there is a specified path
for which knsrc files should be present
5 years ago
Michail Vourlakos df635fb88b improve Layouts sorting behavior 5 years ago
Michail Vourlakos 38f7df72fb get userfeedback for saving and switching tabs 5 years ago
Michail Vourlakos f51126eae2 prevent switch tabs when there are unsaved changes 5 years ago
Michail Vourlakos 1690ace196 store layoutsView user sorting preferences 5 years ago
Michail Vourlakos a21874b29b move LayoutsTab storage to view LayoutsContrailer 5 years ago
Michail Vourlakos b63c7bfbc7 enabled antialiasing for Layouts::HeaderView 5 years ago
Michail Vourlakos 7613396708 remove deprecated code from layoutscontroller 5 years ago
Michail Vourlakos 27aebc9304 insert Settings::Layout menu at correct position 5 years ago
Michail Vourlakos 5285aee716 TabLayouts dataChanged when removing layouts 5 years ago
Michail Vourlakos d87663413e move properties at Settings window code
--no reason for Settings Window properties to
be present at UniversalSettings. They are moved
to their SettingsDialog best match classes.
5 years ago
Michail Vourlakos 5d52083968 rename for consistency 5 years ago
Michail Vourlakos 0d79c2ed15 update code to TabLayoutsHandler
--all ui code from settings dialog for Layouts Tab
in now moved to its handler.
5 years ago
Michail Vourlakos f7b8bd6619 introduce the TabLayoutsHandler 5 years ago
Michail Vourlakos 0cae6f0ec3 define interface for Settings::Handler(s) 5 years ago
Michail Vourlakos 4f92222863 user Layouts::Manager for currentLayoutName 5 years ago
Michail Vourlakos 92c0a68a19 update active states differently for singlelayout 5 years ago
Michail Vourlakos 0534c33ff8 reduce publish geometries interval to 1000ms 5 years ago
Michail Vourlakos 6188888840 update infoview to be ignored properly 5 years ago
Michail Vourlakos 70359602b8 apply activities at views andcurrentActivitychanges 5 years ago
Michail Vourlakos 93d7422059 dont use too often, costly kwinrc tracking 5 years ago
Michail Vourlakos 0ff8f2b74f force plasmageometries updates for activitieschange 5 years ago
Michail Vourlakos 850b058ecd fix layouts data broadcasting when applying 5 years ago
Michail Vourlakos ad8723ce4f fix, save temporary layouts when user applied 5 years ago
Michail Vourlakos f954999b12 drag n' drop layout files in layouts editor 5 years ago
Michail Vourlakos 252ebcaa19 refactor preferences settings handling
--we introduce handlers that are going to be
responsible for the ui parts of settings windows.
So having data structures, MVC for models/tables that
are used and Handlers for any ui interaction
simplify the implementation and make it more
structured in order to be maintained and grow
safely.
5 years ago
Michail Vourlakos fe7f35b9bf remove boldness from preferences settings 5 years ago
Michail Vourlakos 2256a8b855 update last-1 column width properly 5 years ago
Michail Vourlakos 1113f942b1 provide feedback to the user in layouts view
--provide feedback to the user for which layout
options have been altered. This is achievable
by providing italicness to these options.
5 years ago
Michail Vourlakos 9faa3cac86 meaning sortings for layouts model 5 years ago
Michail Vourlakos c62ff66ffd validate layouts data to follow userrole
--all layouts table cell user Qt::UserRole as
the first role to user for their data and any
subdata should use an explicitly-set
LAYOUTUSERROLE
5 years ago
Michail Vourlakos f6aeea9980 move original data into layouts model
--this way the model items can become aware
of all data changes and become visual
responsive accordingly. All changed data
should use the italic paradigm... If a
value is changed from its original value
can become italic in order for the user
to know which values have changed.
5 years ago
Johnny Jazeix ebaf3aebee fix build for Qt < 5.14 5 years ago
Michail Vourlakos 4ad3880579 update PLASMAPANEL geometry immediate after hiding
--behaveAsPlasmaPanel can now slide in/out as real windows
but after they hide there is a chance that their geometry
should be updated. This patch makes sure that this will
happen exactly before the BEHAVEASPLASMAPANEL starts
sliding-in.
5 years ago
Michail Vourlakos 466129c1d0 update shared layouts activities icons 5 years ago
Michail Vourlakos 7dacde2d3a update Preferences settings to follow KDE HIG 5 years ago
Michail Vourlakos 87f6330816 slide in/out nicely when hideThickScreenGap
--when the user has chosen to hide the screen gap
when there is a maximized window in the screen and
at the same time the View behaves as plasma panel,
it now slides in/out nicely
5 years ago
Michail Vourlakos 338159c01f calculate better the screen edge margin 5 years ago
Michail Vourlakos c9c61818a4 force kwinedge for behaveAsPlasmaPanels
--this way we make sure that the user will be
able to trigger showing with mouse at the screen
edge. Using the window mask to succeed in this
in not an option.
5 years ago
Michail Vourlakos 43d91c9b63 drop QRect::setX/Y from all classes
--they can change the QRect width and height
and this is not the desired behavior.
moveLeft/Top are much better replacements.
5 years ago
Michail Vourlakos 73b3fb234f drop QRect::setX/Y from View
--change them with moveTop/Left which provide
the exact math calculations that are needed
for geometries. Functions setX/Y must be
avoided because they may change the width
and height values.
5 years ago
Michail Vourlakos f4c255952f disable some debug messages 5 years ago
Michail Vourlakos e0c04a9c6f import:dont update view:local_geometry when hidden
--if this does not apply then local geometry are not valid
when views become hidden
5 years ago
Michail Vourlakos 3246ce2447 update free activities flag from external changes
--when the user has altered the free_activities from
its context menu then settings window it must better
update its record concerning the layout that will
be responsible for free activities
5 years ago
Michail Vourlakos b960a8579e use all cell height for free activities icon 5 years ago
Michail Vourlakos 2bc4e63431 fix a case to autoupdate free_activities_id
--when free_activities layout becomes shared
then another layout should become responsible
for FREE_ACTIVITIES
5 years ago
Michail Vourlakos 97e5345f40 update shareto line settings indicator
--improve its appearance in general and its
behavior also
5 years ago
Michail Vourlakos 20602acbfb provide nice icons for layouts from activities 5 years ago
Michail Vourlakos df844ed171 drop double reference in corona 5 years ago
Michail Vourlakos c59dc52e1e move activities logic out of activity delegate
--all activities information/data for activities
and layouts are now handled properly from the
layoutsmodel in settings
5 years ago
Michail Vourlakos 11798211a9 multiple fixes for imports/exports
--import/export full configurations are now
moved to File menu and move out their
implementation from Import/Export layouts
5 years ago
Yuri Chornoivan e61445d5cc Fix minor typos: <i/> -> <i> 5 years ago
Michail Vourlakos 652cbb0041 add layout actions to Layout menu
--improve vastly how actions in the layout menu
and Layout push buttons use the same code and
shortcuts in order to work correctly
5 years ago
Michail Vourlakos e9ec4ea266 add shortcuts for layouts editor 5 years ago
Michail Vourlakos 7a11aa93c0 improve settings window Esc key handling 5 years ago
Michail Vourlakos b6b34b06de validate layout name icons colors 5 years ago
Michail Vourlakos 5323e7832c internal messages intervals 5 years ago
Michail Vourlakos 07df968fde update layouts states after reseting layouts data 5 years ago
Michail Vourlakos 6e09bb5601 drop KNotifications from settings window
--introduce a new dependency for KIO, it works
really nice in order to open files in filemanager
and selecting them
5 years ago
Michail Vourlakos 01bab50d67 add more inline message for adding layouts 5 years ago
Michail Vourlakos 3e3b455a53 introduce kmessagewidget in settings window
--use the nicely look kmessagewidget in order to
show inline internal messages to the user
5 years ago
Michail Vourlakos 300f4a364f add alignment for backgroundcolumn 5 years ago
Michail Vourlakos 22a9416583 fixes for assigned layouts handling 5 years ago
Michail Vourlakos ba94546cb4 multiple fixes for single layout case 5 years ago
Michail Vourlakos 748ca87bb8 simplify code for switch button-single layout 5 years ago
Michail Vourlakos 0724124f63 set settings on all activities
--simplify pause button and switch button
codes
5 years ago
Michail Vourlakos 68f2ab9c47 improve switch button enablement 5 years ago
Michail Vourlakos 8c97dcecc5 update shared visual properly 5 years ago
Michail Vourlakos 2ad1a040b4 introduce custom headerview for layouts 5 years ago
Michail Vourlakos 92f37eef8c improve alignments for layouts delegates 5 years ago
Michail Vourlakos 9a3918763b settings,improve layouts header visual 5 years ago
Michail Vourlakos 79936a662d improve background circle visual 5 years ago
Michail Vourlakos 4deaa3bc0b make Shared button proxy model aware 5 years ago
Michail Vourlakos a7ecd549b0 drop dataAreAccepted in settings window
--this is not needed any more, data should
always be valid
5 years ago
Michail Vourlakos 94e5a04de2 make copy layout function proxy aware 5 years ago
Michail Vourlakos 37cac2ca81 reject duplicate layout names in settings 5 years ago
Michail Vourlakos 880ed9638e introduce proxy model for layouts in settings 5 years ago
Michail Vourlakos bddc04d371 inform controller for inserted rows 5 years ago
Michail Vourlakos 00f4e4cd22 fix crash from layouts reset functionality 5 years ago
Michail Vourlakos 00e6fbba5b update synchronizer semantics to freeactivities 5 years ago
Michail Vourlakos 0d39ee6f55 settings:always a layout is set for freeactivities 5 years ago
Michail Vourlakos 93a8ae3ff2 improvements for Layouts Editor 5 years ago
Michail Vourlakos 3b85867c56 introduce setLayoutForFreeActivities 5 years ago
Michail Vourlakos abc4ca4308 layouts settings tab improvements 5 years ago
Michail Vourlakos 8be38bf7dc apply current names after layouts saving 5 years ago
Michail Vourlakos 671f413a3e introduce Reset button 5 years ago
Michail Vourlakos 7acde8be5d update SharedTo column visibility properly 5 years ago
Michail Vourlakos c0d8116e7b visual improvements for settings delegates 5 years ago
Michail Vourlakos 7dbfb1184b settings window improvements 5 years ago
Michail Vourlakos 3122103f6c save column widths properly in settings window 5 years ago
Michail Vourlakos 1e855f2472 dont crash when saving a new layout 5 years ago
Michail Vourlakos d418abbeb4 remove deprecated code from settings dialog 5 years ago
Michail Vourlakos 45e3531ad3 move logic out of settings dialog
--layouts controller in settings window
should take ownership for all logic
related to layouts model/view
5 years ago
Michail Vourlakos 01bb785999 rename editedName to currentName for layout data
--improve semantics for layout data in settings
window
5 years ago
Michail Vourlakos 4437472fa9 simplify shares map create/sync in settings window 5 years ago
Michail Vourlakos 4de91c535c remove deprecated code 5 years ago
Michail Vourlakos e29b5a3e38 update layout removing in settings window 5 years ago
Michail Vourlakos 60d24144b5 update layouts settings data classes 5 years ago
Michail Vourlakos 264b2b7568 remove deprecated settings window functions 5 years ago
Michail Vourlakos 828bacce33 update share_id automatic when layout_id changed 5 years ago
Michail Vourlakos c6e8f6f032 introduce layouts controller for MVC approach
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
5 years ago
Michail Vourlakos 6ff1102e1f update qt5 deprecated code 5 years ago
Michail Vourlakos 2db252b769 fix warnings 5 years ago
Michail Vourlakos 154000345d fix some warnings for shareddelegate 5 years ago
Michail Vourlakos aa4a6061cd improve semantics for settings 5 years ago
Michail Vourlakos 9a104340bb simplify code for background cmbbox 5 years ago
Michail Vourlakos c39a50f253 rename colorscmb to backgroundcmb
--improve delegate name
5 years ago
Michail Vourlakos 5f3007ed93 simplify colors combobox in layouts editor 5 years ago
Michail Vourlakos 49e203de86 fixes for shared column delegate behavior 5 years ago
Michail Vourlakos 46e44606bc update editor shared delegate to new model 5 years ago
Michail Vourlakos 44c1abcf73 update settings activities delegate
--drop totally deprecated activities delegate
code
5 years ago
Michail Vourlakos d4ed1aa609 update settings Activites delegate 5 years ago
Michail Vourlakos 6e66907957 update settings Layout name delegate 5 years ago
Michail Vourlakos e5baecfb9f visual for layout name was edited 5 years ago
Michail Vourlakos a9bc5aa19f introduce original/edited Named in layout data 5 years ago
Michail Vourlakos 4428d4b083 support setData function for layouts model
--initial support for this
5 years ago
Michail Vourlakos 4874b254dd fix sharedcolumn and introduce some editable items 5 years ago
Michail Vourlakos bab5564d0a remove deprecated settings window code 5 years ago
Michail Vourlakos 70c8841646 update layouts headers 5 years ago
Michail Vourlakos b55447764a update layouts checkdelegates for new model 5 years ago
Michail Vourlakos 401a56a8a4 support loading in the new model 5 years ago
Michail Vourlakos 5e75b889e0 introduce initial LayoutsModel 5 years ago
Michail Vourlakos be4e088f5e use QList for layoutsdata
--add isActive flag for Data::Layout
5 years ago
Michail Vourlakos f81d535468 drop old originalLayoutNames list 5 years ago
Michail Vourlakos 09c599a2d7 update how layouts settings are stored in editor 5 years ago
Michail Vourlakos 7bb01f150a support new layouts data for settings 5 years ago
Michail Vourlakos 1ee24adbbd update "FreeActivities" during apply 5 years ago
Michail Vourlakos fca4db5962 support font style for FreeActivities record 5 years ago
Michail Vourlakos 5f7bcf565d remove old code for activities in settings window
--remove relevant deprecated code that is not needed
in the new implementation
5 years ago
Michail Vourlakos 43de9b509b update activities combobox implementation
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
5 years ago
Michail Vourlakos 1d8fe4541c Important:fix localGeometry calculations
--and add also new visual debug mode for
localGeometry calculations
5 years ago
Michail Vourlakos 38d7ec5c2e prevent user from switching to shared layouts 5 years ago
Michail Vourlakos 5464018135 fix crashes and update share ids runtime in model 5 years ago
Michail Vourlakos d164f06354 fix wrong mis-assignment of Shared layouts
--when an active central layout was changing
from one shared layout to another the new
shared layout was not loaded properly
5 years ago
Michail Vourlakos ab09e56d56 dont close settings dialog with Enter key 5 years ago
Michail Vourlakos d3a07b5371 improvements for multips views and sidebars 5 years ago
Michail Vourlakos d1faaedc59 improve availableScreen..WithCriteria api
--improve its semantics in order to be more
understandable
5 years ago
Michail Vourlakos e6ba47daab add more ignore visibility modes for calculations
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
5 years ago
Michail Vourlakos 0b2be421eb IMPORTANT:Multiple docks/panels in same edge
--Latte can now support multiple Views in the same screen
edge. Views as separated in THREE Layers of priorities.
1. Views from Shared Layouts have highest priority and they
are first to occupy a screen edge
2. Views that are set OnPrimary screen occupy a screen edge only
if there is NO other View from a Shared Layout applied already
3. Views that are Explicit to specific screens occupy a screen
edge only if there is NO PRIMARY view already loaded
5 years ago
Michail Vourlakos 719c852c8c update availableScree...WithCriteria functions
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
5 years ago
Michail Vourlakos f31cc660b4 send QRegion through dbus as QList<QRect>
BUG:418559
5 years ago
Michail Vourlakos 9f4d961f32 Revert "change QRegion to QList for dbus plasma call"
This reverts commit a7f786d87f.
5 years ago
Michail Vourlakos a7f786d87f change QRegion to QList for dbus plasma call
--change how dbus arguments are sent to Plasma
and a QList arguments for this

BUG:418559
5 years ago
Michail Vourlakos d3b5e2c4eb remove gtk_frame_extents from window geometries
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment

BUG:417856
5 years ago
Michail Vourlakos ab83bc5b2e fixes for BLUR in live editMode
--add also missing signal in Effects to updateEffects
when enabledBorders are changed
5 years ago
Michail Vourlakos b82d9dfdbe x11:validate windows added before accepting them
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
5 years ago
Michail Vourlakos 57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
5 years ago
Michail Vourlakos e2596b905c fix topbottom borders check in editmode 5 years ago
Michail Vourlakos dd1a7b72c7 validate top/bottom borders for vertical panels
--make the top/bottom borders identification much
smarter in order to identify in they must be drawn.
There are many corner cases that these borders should
be drawn, for example when a vertical top aligned
panel is half shown its top border because of a
top panel
5 years ago
Michail Vourlakos 4df139f34f ignore ksmserver fullscreen windows
--this way fullscreen windows from ksmserver
such as LogOut are totally ignored from Latte
for coloring,placement etc.
5 years ago
Michail Vourlakos 67d0ca76dd new wayland id discovery for helper windows 5 years ago
Michail Vourlakos 6bc604feca new wayland id discovery for settings windows 5 years ago
Michail Vourlakos d5033d1bed improve latte wayland ids discovery
--introduce new waylad ids discovery implementation
for View::Positioner
5 years ago
Michail Vourlakos 47f79db2ec improve show/hide functions of visibilitymanager
--test the new code both for x11 and wayland and check
out that it does not create crashes or any other new
bugs
5 years ago
Michail Vourlakos 90df4f4f61 support new visibility mode for SideBars
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
5 years ago
Michail Vourlakos eb2d9a0190 fix blur for behaveAsPlasmaPanels 5 years ago
Michail Vourlakos f689fc64e5 drop deprecated code
--no real reason to force shadows for
vertical real panels any more
5 years ago
Michail Vourlakos 72992b8bf5 fix missing calculation for behavingAsPlasmaPanel 5 years ago
Michail Vourlakos 9d30eb6257 support stick options for vertical views
--the user can now choose for vertical views to
stick their edges at the top or bottom screen edge
and ignore any top or bottom views accordingly. These
options are available in the Transparent Settings
area for vertical views and in advanced settings
mode.
5 years ago
Michail Vourlakos 5363433b00 ignore fullscreen windows from Plasma and Latte
--drop isPlasmaDesktop flag for windows and use the
new wm approach for plasmaIgnoredWindows
5 years ago
l10n daemon script 417152bf89 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos ad58783ae5 dont load orphaned-central layout when shared
--the orphaned-central layout should NOT be loaded
when it has already been loaded as SHARED layout for
other CENTRAL layouts in a MULTIPLE LAYOUTS environment

BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos af712c6ac4 IMPORTANT:fix first run initialization
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.

BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos d071e3be33 publish available screen geometries to Plasma
--Plasma 5.18 introduced a new dbus interface in order
for external apps to be able to publish to Plasma how
much they occupy from screen space. This is a much
requested feature from users, Latte is now publishing
both its availableScreenRect and availableScreenRegions
and this is also Multiple Layouts aware at runtime.

BUG:391073
5 years ago
l10n daemon script 430b910403 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"
5 years ago
l10n daemon script 41a861cd0f GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 3220bfefbd dont add meta view in hiding views
--when the user is triggering an application
launcher that is a popup in a hidden view
it is not needed to enforced hidden afterwards.
The blockHiding will be released automatically
when the application launcher popup is closed.

BUG:417239
5 years ago
Michail Vourlakos 1162b1e302 fix blur regions calculations
--do not send faulty blurred regions to KWin

BUG:417254
5 years ago
Michail Vourlakos 9cfdd253a8 second fix for Qt API WheelEvent breakage 5 years ago
Michail Vourlakos 5df6935c3c fix Qt API breakage from QWheelEvent 5 years ago
Michail Vourlakos 8e614468bc imrove applets scroll wheel activation
--the new implementation works at all cases even
when the ParabolicEffect MouseArea is not really
enabled (e.g. real panels)
5 years ago
Yuri Chornoivan 734c191578 Use safe hardcoded value for ProvidersUrl
https://marc.info/?l=kde-core-devel&m=158043297319851&w=2
5 years ago
Michail Vourlakos 8ab5779bcb compute blur area correctly on startup
--improve calculations for Effects area during startup
and at the same time when the dock is totally hidden
so it should not paint any effects area at all.

BUG:416928
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos 0458d53ec9 Left/RightEdge calculations for availableScrRegion
--preparing the infrastructure calculations in order
to publish to Plasma 5.18 and greater the
availableScreenRectagle and availableScreenRegion
that Latte leaves free in current running
screens.
5 years ago
Michail Vourlakos 4b1580c0bd move View::HelperWindows in their own directory
--at the same time create a base SubWindow class for
all window helpers used by Views. Now ScreenEdgeGhostWindow
and FloatingGapWindow use the same window implementation
5 years ago
Michail Vourlakos a0582ac409 improve FloatingGapWindow creation/deletion
--create FloatingGapWindow the first time needed
from VisibilityManager if it is not already created.
--remove FloatingGapWindow when View::screenEdgeMarginEnabled
is disabled
5 years ago
Michail Vourlakos ad61f897af improve semantics 5 years ago
Michail Vourlakos b681836232 expose WindowAbilities from LastActiveWindow API
--expose isClosable,isMinimizable, isMaximizable etc..
through the LastActiveWindow API for applets or containments
to use
5 years ago
Michail Vourlakos 3f68665300 introduce floating gap window
--this window responsibility is to check
if the mouse is still inside the real floating
gap and in such case to prevent the dock from
hiding
5 years ago
Michail Vourlakos 35ce0496ec periodically checking containmouse after slidein 5 years ago
Michail Vourlakos b32171fe21 Revert "hide timer for floating views"
This reverts commit 706a80cae3.
5 years ago
l10n daemon script 3593ed48c6 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"
5 years ago
l10n daemon script 2b8978c2b4 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 87f2f7e644 dont update dock settings mask for compositing
--follow PlasmaQuick::Dialog:Popup window approach
and dont apply any mask when compositing is active
5 years ago
Michail Vourlakos 670c0cf405 remove debug message 5 years ago
Laurent Montel fc5c5c0b0c It alreadys adds by kaboutdata 5 years ago
Michail Vourlakos b7e1f6b142 introduce new PlasmaTabStyle indicator
--this indicator is used only internally from Latte
in order to draw default plasma applets tab style
indicators when the user has chosen to not draw
latte specific indicators. A good example of its
usage is when the plasma theme contains tabbar
indicator which is used in applets and the Latte
overlayed icon applets need to use the same visual
with the regular plasma applets.
5 years ago
Michail Vourlakos 4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
5 years ago
Michail Vourlakos 266499a485 support dialogs/background for dock settings wins
--use a different shadows manager for dialogs such as
dock settings window through the Latte::Corona class.
The new shadow manager is responsible to draw
"dialogs/background" shadows for windows instead of
the PanelShadows original class which is responsible
to draw "widgets/background" shadows
5 years ago
Michail Vourlakos 8b1526bc0d Revert "apply proper shadows for dock settings window"
This reverts commit 9e78fab4ce.
5 years ago
Michail Vourlakos 16a04684df blur dock settings window properly
--the new approach is always using the background
mask of the window from the FrameSvgItem background
applied.

BUG:416177
FIXED-IN:0.9.8
5 years ago
Michail Vourlakos 9e78fab4ce apply proper shadows for dock settings window
--copy and use plasmaquick/dialogshadow class from
plasma framework library

BUG:416175
FIXED-IN:0.9.8
5 years ago
Michail Vourlakos 80ceea98e2 respect plasma theme color palette always
--identify better what is the plasma theme color
palette the creator has chosen and use ALWAYS
the same color palette that Plasma is also using.
In the past, Latte was trying to protect the
color palette because Latte REVERSED colors mode
did not work fine for all plasma themes. That
approach is abandoned, Latte will use the same
colors group with plasma themes and it is on
the creators responsibility to provide enough
contrast
5 years ago
Michail Vourlakos 34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
5 years ago
Michail Vourlakos 411017c0f6 [wayland,crash]-fix showing advanced dock settings
--fix showing advanced settings window in order to update
the window geometry ONLY WHEN there are availableScreenGeometry
changes from Latte::View(s).
--As a side effect changing docks/panels location under wayland
when they have enabled their background blur has reduced crashes
during location changes.
5 years ago
Michail Vourlakos 706a80cae3 hide timer for floating views
--for floating views the hide timer can do
the trick about when to make the checks
that the view must become hidden. In floating
views should support different default and
current value because it should be greater
that the normal use cases.
5 years ago
Michail Vourlakos 87f86ebc75 trying to support masking for floating 5 years ago
Michail Vourlakos f539512c8c improve View workarounds for kwin activities
--improve the new worksarounds in order to always
apply the activities that a view and its windows are
present when the workarounds were triggered from
kwin faulty behavior. The kwin faulty behavior is
that when any activity is paused then all Latte::Views
become hidden and lose their activities references.
The workarounds are timers that when they trace
a faulty visible state !visible are restoring the
normal behavior to views.
5 years ago
Michail Vourlakos 3b1676fb93 update caller for availablescreenrectwithcriteria 5 years ago
Michail Vourlakos 620cc32c47 restore signal registering that was lost 5 years ago
Michail Vourlakos 8946ded107 improve availableScreenR*WithCriteria functions 5 years ago
Michail Vourlakos 9d6e350a85 New ScreenEdge triggering behavior for RealFloats
--trying an alternative approach concerning real floating
Views and screen edge triggering. In such case the user
has triggered to show a REAL FLOATING VIEW, it is considered
normal from user point of view for the view to remain shown
until there is windows changed state or the mouse has
escaped the View main window area
5 years ago
Michail Vourlakos a9d4f91c05 add inSlideAnimation flag for ViewPart::Positioner
--it can be used in order to enable/disable some codepaths
5 years ago
Michail Vourlakos 1dc154f932 track inLocationAnimation of View:Positioner 5 years ago
Michail Vourlakos b129a8d880 improve real floating views screen edge activation
-- when the user hovers the screen edge there is a chance that
screenedgeghostwindow has become underneath the view. In such
case when the real floating window slides in the screenghostwindow
becomes unhovered faulty and it is destroyed afterwards. It is
much better if the screenedgeghostwindow in such case remains shown
until the mouse is not contained neither in the view or the screen
ghost window
-- expose screen edge ghost window thickness
5 years ago
Michail Vourlakos e0e6f5f6b3 improve semantics for WM::setActiveEdge 5 years ago
Michail Vourlakos efbd2a8276 floating:staying mouse on edge and not hiding
--when the floating view is a real panel window and
slides out-in with real animation if the user keeps
its mouse on the screen edge the view can remain
shown without sliding out
5 years ago
Michail Vourlakos 103de33c92 trying to implement real panels sliding in/ou 5 years ago
Johnny Jazeix d2170f13c0 revert previous commit, add KDECompilerSettings back 5 years ago
Johnny Jazeix e705eed415 Don't run qmllint if ECM_ENABLE_SANITIZERS is defined 5 years ago
Michail Vourlakos d0aa28a60d dock settings window not overlap plasma panels
--when dock settings window is shown it is good to
NOT overlap with plasma panels. Under X11 this is
possible because the real availableScreenGeometry
is exposed through QScreen.
5 years ago
Michail Vourlakos 0bea257086 add hidden debug option "kwinedges"
--a way to debug kwin edges behavior for
hidden Latte::View(s) screen edges windows
5 years ago
Michail Vourlakos fdf798b49f add KDE official Help menu
--in that way Latte gains easily language
switching from user
--exposure of how/where to report bugs
5 years ago
Michail Vourlakos ada7be1a52 remove debug message 5 years ago
Michail Vourlakos 91b345e615 make indicators infrastructure smarter
--indicators are now tracked only based on their
installation path, that means that are updated
more precise when changes are applied and
at the same time views are recreated only when
the show the specific indicator that was changed
5 years ago
Michail Vourlakos 3108a73533 fixed compile with qt 5.9
FIXED-IN:0.9.7
BUG:415715
5 years ago
Michail Vourlakos 79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
5 years ago
Michail Vourlakos f6b8ed139d update PanelShadows to upstream code 5 years ago
Michail Vourlakos 0853d78101 remove QFontMetrics deprecated code 5 years ago
Michail Vourlakos 70cb2f7fde new View::availableScreenRectChangedFrom triggers
--following the new design applied first at
View:availableScreenRegionChangedFrom instead of different
View parts to trigger directly m_corona relevant signal,
all View parts are triggering the View relevant signal
and as such the can be disabled all together
easily.
5 years ago
Michail Vourlakos e5cab93fdb set minimumLength for ScreenEdgeGhostWindow
--set a minimumLength in order to avoid the indicator
to become TOO SMALL and not noticable. The minimum
length has been set to be 25% of the screen edge length
that the view as attached.
5 years ago
Michail Vourlakos ccbf2c88fd crash fix:from unloading views
--when as Always Visible view was unloaded from
a CentralLayout because its Activity was closing
it was creating a crash. This patch fixes the
situation by releasing sensitive view signals
earlier.
5 years ago
Tranter Madi fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
5 years ago
Michail Vourlakos f93bec8893 fixes for WindowsCanCover
--show immediately when view contains mouse
--hide only if view does not contain mouse
--never apply ByPassWM hint for WindowsCanCover
5 years ago
Michail Vourlakos 4cf929ea81 support containsMouse behavior for WindowsCanCover 5 years ago
Michail Vourlakos a0f9758350 wayland fix crash from visibility mode flag
--app is crashing if we set for Latte::Views
KWin visibility mode to WindowsCanCover because
Latte is hiding its Views at some animations.
In such case only the KWin AutoHide mode allows
that, otherwise it is crashing.
5 years ago
Michail Vourlakos dfd8bcdeca wayland improvements for WindowsAlwaysCover 5 years ago
Michail Vourlakos 7dd6696dfa wayland:fix crash from not found window 5 years ago
Michail Vourlakos c88329d278 x11:improve experience for Windows Always Cover
--simplify also some parts from windows calling window
manager values
5 years ago
Michail Vourlakos d9e18794c8 simplify keepabove/below calling
--start a bit to work with "Windows Always Cover"
visibility mode
5 years ago
Michail Vourlakos 3554c4a006 improve some functionality used 5 years ago
Michail Vourlakos 72777d18c1 add functionality to latte window manager
--the Latte window manager has gained now
functions in order to set the window flags
properly and to update KeepAbove/KeepBelow
flags for windows
5 years ago
Michail Vourlakos 896afcc068 support screen edge margin for behaveAsPlasmaPanel 5 years ago
Michail Vourlakos 0ebef42513 add screenEdgeMargin and update border accordingly 5 years ago
Michail Vourlakos 945a034a8c remove deprecated SignalMapper at waylandinterface 5 years ago
Michail Vourlakos d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 111254e509 refactor:move qml handling from globalshortcuts
--all the qml handling code from globalshortcuts is
now moved to Latte::View::ContaimentInterface. This
way the code is cleaner and can be expanded easier.
5 years ago
Michail Vourlakos 9dd798477e improve criteria for side panels dyamic touching
--Latte panels when they touch each other are informing
each other in order to provide consistent appearance. For
example the Unity mode where a top panel and a left panel
exist at the same time. In such case if the left panel is
INBUSY background state then the top panel is informed and
because inBusy state also. This way the top border of left dock
background does not look out of place. ON THE OTHER hand if
the left dock is hidden because the use has chosen auto-hide
visibility mode or any of the dodge(s) choices then the top
panel does not have to stay in isBusy state. The patch fixes
this by applying this behavior only when the left dock is shown
e.g. the mouse has entered the dock or the dodge mode is not
activated

BUG:415347
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 2bd037f79a fix wrong criteria for isMaximized state 5 years ago
Michail Vourlakos 7c77270f0b consider as isMaximized state only full screen case
--window manager provides two more states isMaxHorizontally,
isMaxVertically. These states can be ignored and be
considered as isMaximized only when both of these states
are valid

FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 2501c6169d fix compatibility with qt>=5.14
--fix qml register type for deprecated
code reference
5 years ago
Michail Vourlakos e05c5e2515 ignore plasma side-style panels/windows
--all plasma windows that are touching a screen edge
and their thickness based on the edge they are touching is
below 96px. are NOT consider as plasma panels and are
treated like normal windows for all Latte codepaths
5 years ago
Michail Vourlakos 61016444fb dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
5 years ago
Michail Vourlakos 6b5f4a952a dont drag/maximize windows from different desktops
--the last active window codepath provides a way to
drag and maximize/restore the last active window. This
should not occur when the last active window is not
in the current desktop and activity.

BUG:414089
FIXED-IN:0.9.5
5 years ago
l10n daemon script a3e747188f 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"
5 years ago
l10n daemon script d649e74bc9 GIT_SILENT made messages (after extraction) 5 years ago
Michail Vourlakos 702b53493b Merge branch 'v0.9' into fix 5 years ago
Michail Vourlakos f63200988e ignore Plasma panels in Latte heuristics 5 years ago
Michail Vourlakos a946e485e0 indent fixes 5 years ago
Michail Vourlakos 7215d30ff6 fix typo that was creating an error build
BUG:413735
5 years ago
Michail Vourlakos 36f7834cff fix typo that was creating an error build
BUG:413735
5 years ago
Michail Vourlakos c1a6cfc325 optimize delayed application data updating
--the previous code was updating the delayed application
data for each instance of lastactivewindow separately.
The new code is implementing this at the central
WM::WindowsTracker and just informs last active windows
to update their values
5 years ago
Michail Vourlakos 4ff84b4bde optimize delayed application data updating
--the previous code was updating the delayed application
data for each instance of lastactivewindow separately.
The new code is implementing this at the central
WM::WindowsTracker and just informs last active windows
to update their values
5 years ago
Michail Vourlakos 189fb00426 update application data after 1500ms from startup
--when an application is tracked from the lastactivewindow
infrastructure it is updating the application name/icon
1500 ms after its first startup in order to fix apps cases
where they update their StartupWMClass a bit delayed

BUG:413671
5 years ago
Michail Vourlakos 8d4e96ed44 drop ksysguard dependency for kf5>=5.62
--following plasma updates for tasktools in order
to drop the ksysguard dependency which is also
costly
5 years ago