Commit Graph

2116 Commits (d97fe4c59c425b0573fe392ddd78323d972b1522)

Author SHA1 Message Date
Michail Vourlakos 059b78ebc0 add missing header 5 years ago
Michail Vourlakos 2db4ffb479 improve plasma theme roundness discovery
--the new approach is first tracking panel-background
shadows if they are available and shown in order to
identify the plasma theme panel background roundness
5 years ago
Michail Vourlakos 3c0060ba1d update panel background paddings calculations
--Plasma::FrameSvgItem margins are not consintent
in order to provide helpful hints how plasma theme
panel-background svg is drawn properly. The new
approach calculates paddings based on top,left,bottom,right
svg elements and in that way a consistent a properly
background.minimumThickness is discovered.
5 years ago
Michail Vourlakos dedb8a0153 remove deprecated code 5 years ago
Michail Vourlakos e00ec530c9 update primary config advanced mode properly
--each View has its own advanced level identification.
5 years ago
Michail Vourlakos 5e78a0a3c7 provide all background corners option
--provide an option to force showing of all background
corners
5 years ago
Michail Vourlakos af37c31f36 support theme length paddings
--update layouter, background and layoutscontainer
in order to take into account the background length
paddings
5 years ago
Michail Vourlakos 24696fcf06 check plasmashell windows always to track desktops 5 years ago
Michail Vourlakos 22acd85d9c struts calculations at screen_edge coordinates
--as it appears in wayland the struts calculations must be
applied for exact screen_edge coordinates and use only the
view shown thickness. During the process floating panels
struts were not accurate at all cases and as such they
were fixed also for x11.
5 years ago
Michail Vourlakos 6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
5 years ago
Michail Vourlakos cf1cb1ca8e always now Views when needed
--when View::Visibility::mustBeShown signal is
triggered then the Views should always be shown
even when KWin has hide it with no real reason
--force appling activities to ALL View related windows
when changing current Activity. This way we make
sure that when KWin makes faulty assignments,
Latte is coming to the rescue.
5 years ago
Michail Vourlakos 81bc74f49d dont recreate view unnecessary
--FrameExtents are working fine with margins 0,0,0,0
and Plasma 5.19.3
5 years ago
Michail Vourlakos 79d95371d7 fix #9,panel/dock buttons
--fix panel/dock mode buttons from configuration
windows.
5 years ago
Michail Vourlakos e4437b7f66 abilities:introduce UserRequests 5 years ago
Michail Vourlakos 02e1e87d59 smoothen anim for hide length screen gaps 5 years ago
Michail Vourlakos ca0e065441 improvements for calculations 5 years ago
Michail Vourlakos ff01f266e4 fix panels positioning when sliding out 5 years ago
Michail Vourlakos 0b8fa321bc dont crash when panels change location 5 years ago
Michail Vourlakos ea7940dffe hide length screen gaps after slide in 5 years ago
Michail Vourlakos 1698afc2e8 add missing header 5 years ago
Michail Vourlakos ac996f1721 fixes for View:layout activities windows updates 5 years ago
Michail Vourlakos a0a2c4b265 fix binding loops 5 years ago
Michail Vourlakos 19eb9f9ff5 fix edge margin adjustment 5 years ago
Michail Vourlakos 166ee1899a multiple fixes to PrimaryConfig geom calcs
--provide also instant layout switching when
View changes a layout between central and shared
layout in the same view port
5 years ago
Michail Vourlakos d30143f7f1 update only when needed PrimaryCV availScreenGeom 5 years ago
Michail Vourlakos 6a4aeb16f0 fix Canvas context menu issues
--fix a crash when using left click in Canvas window
--fix blocking View when switching for editMode to
inConfigureApplets mode and vice versa
5 years ago
Michail Vourlakos a4445a3e9a provide context menu for Canvas config window 5 years ago
Michail Vourlakos 7084953672 wayland:fix multi-config views behavior 5 years ago
Michail Vourlakos f7e89a6d6e update some config views wayland code 5 years ago
Michail Vourlakos 2b7d663950 wayland:fix view config windows positioning 5 years ago
Michail Vourlakos c2df25649e update Canvas geometry when editThickness altered 5 years ago
Michail Vourlakos 673882f966 provide live editing for !compositing 5 years ago
Michail Vourlakos 334a40fff1 improve View config windows focusOut codepath 5 years ago
Michail Vourlakos 1740c0be91 orchestrate View config windows showing properly 5 years ago
Michail Vourlakos ba87b3b32b remove View config windows deprecated code 5 years ago
Michail Vourlakos ed226761f9 fix crash from reloading View sources 5 years ago
Michail Vourlakos b22a184337 improve positioning for primary/secconfigviews 5 years ago
Michail Vourlakos 2b06debfa4 draw Canvas on top of surrounding panels docks 5 years ago
Michail Vourlakos a51eb8578e support most of CanvasConfigView functionality
--move the relevant qml files from containment into
shell configuration files
5 years ago
Michail Vourlakos e74e013f43 provide CanvasGeometry from View::Positioner
--View::Positioner is now responsible to provide
the proper Canvas config window geometry
5 years ago
Michail Vourlakos fa83db7825 provide consistent Canvas SubConfigWindow behavior
--CanvasSubConfigWindow is now ready to provide the
same Header editing controls and behavior that previous
implementation was already doing so
5 years ago
Michail Vourlakos b5df821eb2 introduce new Canvas subconfig view window 5 years ago
Michail Vourlakos e720f1a3c0 fix #16,comparison for keyboard key
--fix double typo by previous mistake in order for
both Super keys to be evaluated as Super_L
5 years ago
Michail Vourlakos bf2c7ebbd9 expose Colorizer to itw own View c++ class 5 years ago
Michail Vourlakos 7fd56aebfb compute editThickness in View c++ level 5 years ago
Michail Vourlakos 37248789f6 improvements to view config windows abstraction 5 years ago
Michail Vourlakos 5cba3c3259 upgrade PrimaryConfigView at SubConfigView base 5 years ago
Michail Vourlakos 7aee0fbca1 upgrade secconfigview to subconfigview class 5 years ago
Michail Vourlakos 622acc27b9 introduce View:SubConfig base view 5 years ago
Michail Vourlakos 5d4da93b68 from Latte trademark properly
--use the original Latte trademark at all
times in Primary config view setttings. In
the past there were icon themes that was
changing Latte icon to something alientic
and that approach was breaking the Latte
trademark visual appearance.
5 years ago
Michail Vourlakos 03dca23ce6 improve semantics for primary config view 5 years ago
Michail Vourlakos 91449e06f0 remove option delete hidden config windows
--it is not needed any more because config windows
are now using a singleton design in order to be
created only one time.

BUG:423268
5 years ago
Michail Vourlakos 6652cb9a15 update indicators to primary config singleton 5 years ago
Michail Vourlakos fcde318d7a hide view config windows in layout switching 5 years ago
Michail Vourlakos 7906c8788a update primary config window to isReady 5 years ago
Michail Vourlakos ca87504535 fix crash 5 years ago
Michail Vourlakos 038b649804 delete PrimConfigView only on app exit 5 years ago
Michail Vourlakos e6ab9385d8 fix crash when destoying config window 5 years ago
Michail Vourlakos dea32cb37a update SecConfigView to new design
--SecConfigView is created only once and
use afterwards for all Views
5 years ago
Michail Vourlakos 75d14b4af8 apply activities to config windows when shown 5 years ago
Michail Vourlakos d01d1f60a4 use primary config single instance for all views 5 years ago
Michail Vourlakos 5c22b8f8ed update View:: config views creators 5 years ago
Michail Vourlakos 6c2dcfbab8 drop Plasma::ConfigView for View primary window
--this is a step forward in order for all Views to
use the same Config Windows which is more memory
efficient.
5 years ago
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