Commit Graph

1511 Commits (556ecae3e2067c2ec7ef6ccbaff6c26c04fe0a67)

Author SHA1 Message Date
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder 6 years ago
Michail Vourlakos d426ecb50f refactor:launcherssignals moved to "layouts" folder 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos d307ac626b update UI elements in LayoutsEditor when needed
--toggling between Single/Multiple mode now shows/hides
all the SharedLayouts ui elements accordingly
6 years ago
Michail Vourlakos f43d1b56c7 fix crash concerning WORKAROUND for KWIN
--KWin hides some Views without reason when
Activities are closed under Multiple mode.
This crash fixes these kind of crashes.
6 years ago
Michail Vourlakos 84e8da60f8 improve column widths loading for LayoutsEditor 6 years ago
Michail Vourlakos 08ef9c10b9 add the Shared button behavior 6 years ago
Michail Vourlakos 0c4bbd9529 unload Central(active)layouts to become Shared 6 years ago
Michail Vourlakos c37f605257 SharedLayouts, active layouts at LayoutsEditor 6 years ago
Michail Vourlakos e51dbeab42 update strings for Background at LayoutsEditor 6 years ago
Michail Vourlakos 3aeabcd885 fix for LayoutsEditor cells coloring
--when the LayoutsEditor is losing focus the
colors chosen should respect that change
and be drawn correctly
6 years ago
Michail Vourlakos f5b36b0230 fix typos 6 years ago
Michail Vourlakos b33f29bc42 Activate Shared Layout if it is not loaded yet 6 years ago
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals 6 years ago
Michail Vourlakos 971d207d86 update Shared button state 6 years ago
Michail Vourlakos 05161a1ab8 fix layout lock/unlock from settings 6 years ago
Michail Vourlakos 55671ae31c improve layout names renames from LayoutsEditor 6 years ago
Michail Vourlakos 78d212ce8e SharedLayouts saving their settings from Layouts 6 years ago
Michail Vourlakos 25a29111e7 update Actitivies Delegate to new ButtonMenu ui 6 years ago
Michail Vourlakos 715e8b58c1 sharedtocolumn use only #settingid for layouts
--this way we can keep track of layout names changes
and work flawlessly in updating Shares names etc.
6 years ago
Michail Vourlakos 93ede645b8 introduce new menu for SharedToLayout 6 years ago
Michail Vourlakos 1090e6a22d add Shared button in LayoutsEditor 6 years ago
Michail Vourlakos 14d7079198 improve disabled cells layout for shareds 6 years ago
Michail Vourlakos cff6436a74 add shared icon for layouts to be identified 6 years ago
Michail Vourlakos 4c0a3f5523 update shared layouts cell states
--enable/disable shared layouts cells
accordingly
6 years ago
Michail Vourlakos 61621277d3 set icons for layouts columns 6 years ago
Michail Vourlakos d813a15b57 publish Shared to relevant ComboBox 6 years ago
Michail Vourlakos c27de681d1 LayoutsEditor:load shares for SharedLayouts 6 years ago
Michail Vourlakos 1b21e26dfa introduce sharedcmbboxdelegate at settings ui 6 years ago
Michail Vourlakos a52144cc3a remove SharedLayouts from Layouts ContextMenu 6 years ago
Michail Vourlakos f2eb0b6b3a REFACTOR:DONT load MultipleLayouts in Central(s)
--no reason to load Mutiple layouts linked file
as a Pseudo Central layout. This way no needed
checks can be removed and things are still working
as before.
6 years ago
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 6 years ago
l10n daemon script e8d79632bd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 1085d4b4e4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos d945c89713 update struts when needed after their removal
--improve also when struts are applied under a
Multiple Mode and Multiple Activities
6 years ago
Michail Vourlakos be36b7cfaf unload SharedLayout when does not activeLayouts
--this code path is also used on Latte exit
6 years ago
Michail Vourlakos 004a284711 dont load sharedlayout when is already active 6 years ago
Michail Vourlakos 01f7f17aa5 remove deprecated code from layoutmanager 6 years ago
Michail Vourlakos bd3950a601 dont assign shared layouts to activities 6 years ago
Michail Vourlakos fe995bb4f5 layoutmanager track storedsharedlayouts 6 years ago
Michail Vourlakos 9f338f38a4 dont set sharedLayout var if the layout not exist 6 years ago
Michail Vourlakos 913c35523f move views between Active/SharedLayouts
--the move to layout option under View Settings
window now can enable the user to move view
between Active and Shared Layouts
6 years ago
Michail Vourlakos e417a8d4ba add type() to layouts 6 years ago
Michail Vourlakos c38e3016de update hidden state after slide-in
BUG: 406415
6 years ago
Michail Vourlakos 5cf047dcc5 clear publishedStruts for visibility modes changes 6 years ago
Michail Vourlakos 06b92024ba remove no needed debug message 6 years ago
Michail Vourlakos 04e7f333c5 dont compute innershadow for available screen area 6 years ago
Michail Vourlakos bb3e82024e simplify valid struts calculations 6 years ago
Michail Vourlakos a472ef34f3 fix ident in visibilitymanager
--AlwaysVisible signals to update struts
are always enabled independent of Single/Multiple
mode but for Single mode they are just ignored
6 years ago
Michail Vourlakos d8cc85dd4a fix assert for visibilitymanager
BUG: 407131
6 years ago
Michail Vourlakos cf0f22b44d fix crash,protect connector() calls
--connector calls must be done only when we
are sure that a screen id has already been
assigned

BUG: 407128
6 years ago
Michail Vourlakos 5fbdf19b78 fixes for edit mode 6 years ago
l10n daemon script 064b1178e6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 536949840e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 3598639740 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 854840b8fc fixes for style and naming
--for visibilitymanager class
6 years ago
Michail Vourlakos 417f992831 move intersect function to WindowsTracker 6 years ago
Michail Vourlakos dab796e253 improvements for visibilitymanager code 6 years ago
Michail Vourlakos a2566d1414 move dodgeAllWindows to windowtracker 6 years ago
Michail Vourlakos e1d44bc157 simplify code in windowstracker 6 years ago
l10n daemon script 32904be361 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script dfa9e28f52 GIT_SILENT made messages (after extraction) 6 years ago
l10n daemon script 02673f346a GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos 9ce7ba35bb simplify mouse signals from Latte::Views 6 years ago
Michail Vourlakos 8a99a9249b improvements for !compositing mode
--fixed struts gap for !compositing mode in order
to handle the strange kwin behavior. Kwin under
!compositing removes 1px. from the struts specified
by windows
--plenty of fixes concerning automatic coloring
under !compositing mode
6 years ago
Michail Vourlakos 499c4eb1d1 update !compositing panelbackground used until now
--following plasma approach and use always
even for !compositing mode the widgets/panel-background
svg file. This way when Latte and Plasma panels are
combined there is uniformity between them.

BUG: 406597
6 years ago
Michail Vourlakos ce55c632c6 reduce crashes for view config windows in wayland 6 years ago
l10n daemon script 09147cdead SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 6505e8797f send mouse signals from View to containment
--this is side-way path for mouse events and
more specific the mouse pressed, released
events to be sent from parent window to its
qml containment part. This way it is possible
to keep the original plasma applet behavior
such as original plasma tooltips and provide
Latte specific functionality such as animated
clicks from indicators.

NOTE: An investigation - testing took place in
order to check if this approach could be also used
for mouseMove events to be used for applets parabolic
effect. The result was that this was not possible because
there were too many signals and too much calculations
too identify for which applet the signal belonged to.
The parabolic effect was not fluid in that case and
could not catch up.
6 years ago
Michail Vourlakos 2be8ba0b06 position correctly vertical views
--use the way horizontal views are positioned
in order to fix vertical views positioning both
for docks and panels
6 years ago
l10n daemon script 210674d67b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 2963a1fc2f apply all colors from applyTheme
--infrastructure is now ready to expose to
applets the full color paletter and not
make compromises by choosing only from
original plasma theme for some of the
exposed colors
--dont reverse colors for selection group.
It creates a much nicer effect from user point
of view to keep the highlighting colors the
same for both the normal and reversed plasma
themes.
6 years ago
Michail Vourlakos 67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
6 years ago
Michail Vourlakos 710c527cb7 update Latte indicator
--introduce its own reversed option
--support flexible layout for its
config ui
6 years ago
Michail Vourlakos d95d861b64 add new options to indicators interface
--providesHoveredAnimation, in order to disable
the Latte one
--providesClickedAnimation, in order to disable
the Latte one
--needsMouseEventCoordinates, in order to know
when the mouse pressed e.g. creating animations
like the android way
6 years ago
Michail Vourlakos 20a57f3c15 improve edge changing animation 6 years ago
Michail Vourlakos b35fa94307 reduce availableScreenGeometry calls 6 years ago
l10n daemon script 80fbb074b4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos db6a4e9d0d make struts and Always Visible lighter
--support them also in Live Editing
6 years ago
Michail Vourlakos 7e9064eb5e track last active window properly at per view 6 years ago
Michail Vourlakos f33cd25ff5 update mask when secconfigwindow is destroyed 6 years ago
Michail Vourlakos 7ec1f6b928 support kde_frameworks<=47 for settings windows
BUG: 406436
6 years ago
Michail Vourlakos d5b294b88e improve vastly Justify Live Editing experience
--the entire Justify to Another alignment experience
has been improved a lot and made much smoother than
in the past
6 years ago
Michail Vourlakos 0b07b58abc support kdeclarative both <5.45 and >=5.45 6 years ago
Michail Vourlakos 86a7eddba5 restore translations for settings window
BUG: 406114
6 years ago
Michail Vourlakos 4048edc7f9 Option to set Settings size at per screen level
--the Latte Settings window tries its best in order
to provide a nice experience concerning its width/height
ratio and a width size that is best for its contents.
There are cases that this fails so the user in the
best to set it right. Latte now provides two shortcuts
Meta+Scroll, that changes the width scale ratio and
Ctrl+Scroll, that changes the height scale ratio when
settings are in Basic mode.
The previous shortcuts must be applied when the mouse
is over the empty areas in the Settings View window.
6 years ago
Michail Vourlakos e2ccad62d9 RENAME TopLayout to SharedLayout
--Shared is a better term to describe these
layouts that can be Shared and be OnTop of
other layouts in Multiple Mode
6 years ago
Michail Vourlakos 1c6ddcad10 Improve addView for ActiveLayouts
--take into account the TopLayout views before
adding a new View either on startup loading
or when the user adds it
6 years ago
Michail Vourlakos 7240134ec2 add comments 6 years ago
Michail Vourlakos 0cb2bb38af plenty of fixes for TopLayouts and multi-screen(s) 6 years ago
Michail Vourlakos 6620cf54bd plenty fixes updates for MultipleTopLayouts 6 years ago
Michail Vourlakos b7cb41e322 ui improvements for Layouts editor
--lock icon takes into account the selected state
in order to draw itself
--focus dotted lines for tableview cells were disabled
until something less noisy is introduced
6 years ago
Michail Vourlakos 70640ae2e5 override functions for Active and TopLayouts 6 years ago
Michail Vourlakos 71435d4938 identify Touching windows for Multiple mode
--improve how the available screen geometry is
calculated because in MultipleLayouts mode we can
have different layouts that provide different
available screen geometries
6 years ago
Michail Vourlakos 385b0e0b20 update struts properly for TopLayouts 6 years ago
Michail Vourlakos caedf9842e ActiveLayout override GeneralLayout::latteViews() 6 years ago
Michail Vourlakos bdca8f58e8 simplify GenericLayout::latteViews call 6 years ago
Michail Vourlakos 69af8d0e0c fix updating lastUsedActivity properly 6 years ago
Michail Vourlakos dc9553b3ca fix crashes from loading/unloading layouts 6 years ago
Michail Vourlakos 9236f18c4e add TopLayout and use combined with ActiveLayout 6 years ago
Michail Vourlakos 1ec19d6627 update syncLatteViewsToScreens
--update function to use new validViewsMap() function
in order to identify which views must be presented
and where. The validViewsMap function can be used also
from subclasses in order to indetify the Layout occupied
edges without applying the final map state to actual
views.
6 years ago
l10n daemon script d9217065fe SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos d07956cbb4 multiple layouts import properly 6 years ago
l10n daemon script bfb96b0f67 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos fb4508c6a7 simplify CMakeLists 6 years ago
Michail Vourlakos 2c8a0a83c1 update secondary config window position properly 6 years ago
Michail Vourlakos 861fced797 REFACTOR:move storaging to own class
--GenericLayout moves out all the storaging
mechanism to its dedicated Layout::Storage
class
6 years ago
Michail Vourlakos bbddfd3d48 REFACTOR:move code from Active to GeneralLayout
--huge refactor in order to split the logic of the
Layout file. One of small steps in order to end at
the following logic:
AbstractLayout->GeneralLayout->InterfacedLayout

InterfacedLayout->NormalLayout
InterfacedLayout->OnTopLayout

PresentedLayout, that will contain references for
one ActiveLayout and one OnTopLayout and will
act as a class to provide useful information to
layoutManager and all other classes that want
to work with Views.

GeneralLayout will gain a storage object
for all STORAGE properties that require
a CORONA to work
6 years ago
Michail Vourlakos 89b86a3c12 REFACTOR:move code from ActiveLayout to Abstract 6 years ago
Michail Vourlakos 7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
6 years ago
Michail Vourlakos 2767c0f4a0 remove deprecated class from layout 6 years ago
l10n daemon script 42b236e8a9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos ae69884e04 ignore PlasmaDesktop for windows tracking flags
BUG: 406235
6 years ago
Michail Vourlakos 4c4b41d378 remove deprecated code 6 years ago
Michail Vourlakos ae3c4d3cf0 update SecondConfigView when availableGeometryChanged 6 years ago
Michail Vourlakos bb3ef16dea fix RTL positioning for View::Settings windows 6 years ago
Michail Vourlakos 8b3920ef64 fix indicators warnings when removing a view 6 years ago
Michail Vourlakos 6e1dfe9670 comment deprecated code in view settings windows 6 years ago
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements 6 years ago
Michail Vourlakos d48d2da2cd add comment 6 years ago
l10n daemon script c06423b443 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 3e19e553f1 add IndicatorInfo to have a global reference 6 years ago
Michail Vourlakos 915bb1bd39 provide visual limits for margins/padding
--based on the current indicator there minimum
thickness and indicator padding can be altered.
Providing some visual feedback for the user to
understand these limits is a good practice.
6 years ago
Michail Vourlakos e7eb06a63e optimize subtracked masking for wayland case
--under wayland masking does not break the visual
result of a window. For that reason under wayland
the editShadow can be masked out totally and not
only for its windows underlying parts.
6 years ago
Michail Vourlakos 92584e638c consider vertical views to position viewconfigs 6 years ago
Michail Vourlakos 8b6f250733 dont subtract sec.config win for vertical views 6 years ago
Michail Vourlakos 1210e708c9 support automatic roundness to !compositing 6 years ago
Michail Vourlakos a5c7148168 improve icon references in Latte Layouts UI 6 years ago
Michail Vourlakos c060f0449c fix wrong calculations for roundness 6 years ago
Michail Vourlakos ff53a23cac drop manual roundness setting from code
--as the new automatic mechanism works nice
the old manual setting of plasma theme roundness
is not needed
6 years ago
Michail Vourlakos b6c272d6a9 add heuristic to identify theme roundness automatic 6 years ago
l10n daemon script 1a17ffb683 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 73745f2f53 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 555fc966b0 activate config windows under wayland environment
--add heuristic method in wayland interface in order to
return the internal id of a window by using its appId
and its geometry
6 years ago
Michail Vourlakos 9f1b284f64 init earlier translation domain, indicatorconfigui 6 years ago
l10n daemon script 5c09168968 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos d280b6e4aa button to remove locally installed indicators 6 years ago
l10n daemon script 348b617b49 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script 91fbcf19b7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 9b1841e9e3 watch app paths for indicators changes 6 years ago
Michail Vourlakos de170d42d8 remove unneeded warning 6 years ago
Michail Vourlakos 83ab266cd8 improvements in installing standalone indicators 6 years ago
Michail Vourlakos ba08038bc0 add Latte/Indicator type and improve metadata 6 years ago
l10n daemon script 7b5c2a0980 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 3d2d399072 add functionality to custom indicators 6 years ago
Michail Vourlakos 81204e3519 support importing indicators from compressed files 6 years ago
Michail Vourlakos fd74397bae support file dialog for indicators 6 years ago
Michail Vourlakos 4c613a1d47 support last used custom type 6 years ago
Michail Vourlakos 06c965248c support customIndicators interface under settings
--a new element is introduced for CustomIndicators
which is going to be responsible to choose between
them and download also online for new indicators
6 years ago
Michail Vourlakos 14c3508aa1 dont disable Ok button at Latte Preferences window 6 years ago
Michail Vourlakos 28ef36a774 simplify indicators names 6 years ago
Michail Vourlakos 9a464226bd improve loading for indigator config ui
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
6 years ago
Michail Vourlakos 0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
6 years ago
Michail Vourlakos e9599218a2 remove deprecated bug address 6 years ago
Michail Vourlakos b93588756a fix crash from Close button in config window
BUG: 405772
6 years ago
Michail Vourlakos d8c04e805c multi-screen: find view::screen id in better way
--when monitor from an explicit screen was closed there
were cases that docks were moved at another monitor from
the window manager and that was preventing them to be
delete properly. This patch fixes this by considering
as valid explicit screen only the one provided by the
view

BUG: 405687
6 years ago
Michail Vourlakos f22bb738c2 multi-screen:improve syncLatteViews() function
--onPrimary flag is considered from layout file directly
only for containments that are not already loaded to
latte views
--location flag is accessed directly from containment object
6 years ago
Michail Vourlakos 0c95180fde identify better active maximized windows
--more specific do not mess maximized windows all
together. Active maximized windows have higher
priority than all the rest normal maximized
windows.
6 years ago
Michail Vourlakos 9afafcc7c2 disable panel shadows only when active maximized 6 years ago
Michail Vourlakos aaee132951 add outline width option in Preferences 6 years ago
Michail Vourlakos 661f3cad1b update panel backgrounds implementation
--there is now an always shown underlying layer that
provides full solidness for 100% panel transparency
--Colorizer.CustomBackground was updated in order to
support Borders drawing
6 years ago
Michail Vourlakos d5ef4c8acf discover standard paths independent of distro 6 years ago
Michail Vourlakos 6e132ab001 discover plasma background opacity 6 years ago
Michail Vourlakos 15d5ac59ec improve calculations for vertical settings windows 6 years ago
Michail Vourlakos a9e4afa336 add debug message for windows default color scheme 6 years ago
Michail Vourlakos 48a5a4690e decrease edge ghost window sensitivity for mouse
--this patch fixes the show timer delayer in combination
with KWin edges activation even more. The experience
now looks almost identical to NONE-KWin edge activation
6 years ago
Michail Vourlakos f2b2121003 add option to clear qml cachec from command line
--add comments in order to distinguish parameters sections

BUG: 405337
6 years ago
Michail Vourlakos cab2055279 adjust secondary config win to new design
--secondary config window now follows the primary
config window design. Config windows now are just
simple windows !AboveAll and are activated from
Latte::View on demand. This way we can now have
demonstration of the parabolic effect during
editMode at all times
6 years ago
Michail Vourlakos 1dba8d1841 block requestActivate() for wayland
--requestActivate is not supported under wayland
6 years ago
Michail Vourlakos e9e0c04198 fix wayland crash when hiding config window 6 years ago
Michail Vourlakos c35849c9d8 take care config windows for X11 environment
--make the config windows to not show in pager,
switcher or taskbar under X11 environment
6 years ago
Michail Vourlakos 0816e2b8aa fix top masking during editMode
--improve also identifying when subtracting
edit mode mask is needed
6 years ago
Michail Vourlakos c3b3788fec calculate availableScreenGeometry properly
--use View::normalThickness in order to consider the
proper availableScreenGeometry
6 years ago
Michail Vourlakos 11226428c6 update config window availScreenGeometry properly 6 years ago
Michail Vourlakos fabf6f44d2 show configuration windows only for one view
-- for each layout only one dock should show its configuration windows
otherwise we could reach a point that because a settings window
is below another Latte View its options are not reachable
6 years ago
Michail Vourlakos 94415e24b4 improve config windows calculated geometries 6 years ago
Michail Vourlakos 89fd411dab improve how config window size is calculated 6 years ago
Michail Vourlakos 83b5b2323a fix calculations for left subtracked mask 6 years ago
Michail Vourlakos 002d683dd9 fix calculations for left subtracked mask 6 years ago
Michail Vourlakos 736d068a44 improve masking for config windows
--now config windows are masked properly in order to
accessible to all of their areas. By design the config
windows are trying to be below the main view, this is
why masking is needed in order to work properly and not
having areas that can not be clicked/accessed because
of the top Latte View
6 years ago
Michail Vourlakos 0bb2c14017 set keepAbove for all Latte windows under wayland 6 years ago
Michail Vourlakos 37ca5f1663 restore config windows behavior to previous state
--approach the problem of showing parabolic effect properly
during edit mode in a different way. The Latte View now
on Enter event raises itself
6 years ago
Michail Vourlakos 3ac5ebffeb fix focusOut behavior for config windows 6 years ago
Michail Vourlakos 366f2783f2 improve config windows activation
--when the mouse enters the main latte view,
the primary and secondary config windows should
be activated. This patch improves how this is
handled in order to not mess up the focusOut
even handling from config windows. The config
windows do not race now in order to identify
if all the config windows has lost focus.
6 years ago
Michail Vourlakos e4254ed8c7 activate config windows whenever mouse enters view 6 years ago
Michail Vourlakos b2184579ad remove StaysOnTop hint for settings windows 6 years ago
Michail Vourlakos 542174f296 make edit visual totally dynamic
--meaning that edit Visual can contain more
elements than just the usual ones and as such
we can now add a "Rearrangement" option to make
things easier to switch between live/static editing
6 years ago
Michail Vourlakos 71bb4ca921 introduce new editAppletsMode
--in this mode all aplets can be adjusted and
repositioned properly
6 years ago
Michail Vourlakos b15df34cc4 livemode:enable parabolic effect for editMode
--first commit to restructure editMode in order to
support livemode under editing. Live mode means
that all options changes during editMode will be
available to be tested directly
6 years ago
Michail Vourlakos cec96aaf19 fix !compositing masking for views 6 years ago
Alexander Potashev 423f4b8bc9 i18n: Do not refer to parent directory from Messages.sh
Summary:
This will make file references in .po/.pot files clearer for
translators.

Test Plan: none

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19274
6 years ago
Michail Vourlakos 9bdd58ee3f restore Show Timer behavior for KWin Edges 6 years ago
Michail Vourlakos 5a0948591e create latte dir if missing when loading presets
--this is critical because it does not open Latte at
first run. The fix is just to make sure that "latte"
directory will be created in case there isnt already

BUG: 404762
6 years ago
Michail Vourlakos 35c9550963 make sure maximized window is touching the view
--Disable the hack for kwin effects because it has many
false results. e.g. when a window is maximized and
Latte or Plasma are showing their View settings
6 years ago
Michail Vourlakos 903988ff71 identify correctly touching flags with kwin effects
-- KWin Effects such as ShowDesktop have no way to be identified and as such
create issues with identifying properly touching and maximized windows. BUT when
they are enabled then NO ACTIVE window is found. This is a way to identify these
effects trigerring and disable the touch flags.

BUG: 404483
6 years ago
Michail Vourlakos f040cc8828 plenty improvements for touching/active state flags
--fixes and improvements to identify windows that are
touching or are active and how all of them are used
in order to color properly the view
6 years ago
Michail Vourlakos 17c602347b use touching windows scheme at all cases
BUG: 404745
6 years ago
Michail Vourlakos 8a0c0740b3 improve how default scheme file is identified
--add also some improvements for color schemes

BUG: 404668
6 years ago
Michail Vourlakos 362d50a1fd support wallpaper slideshows 6 years ago
l10n daemon script bd688bd2dc GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos dd4ae1865b improvements for color schemes under wayland 6 years ago
Michail Vourlakos 507e7ffde8 expose existsActiveWindow from windowstracker 6 years ago
Michail Vourlakos d2ea33e236 sniff latte view id through contextData
--the menu is sending the containment id to
Latte::Corona and afterwards calls for the menu
data. These data now are including also the view
type, memory usage, active layout name and of
course the full layouts list shown to menu.
This is improvement from D18918.
6 years ago
Michail Vourlakos a375902442 support to send the viewType through dbus 6 years ago
Michail Vourlakos 7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926
6 years ago
Michail Vourlakos 14afda3dc1 under wayland recognize plasma shell better
--the plasma desktop is now identified as the
org.kde.plasmashell window that has the size
of a QScreen->geometry()
6 years ago
Michail Vourlakos 68805c4a98 ignore latte windows from wm tracking 6 years ago
Michail Vourlakos c8b58d5acf x11:ignore latte related window from tracking 6 years ago
Michail Vourlakos 20b76a182c add/enable option for MetaPressAndHold action
--user can now enable/disable the Meta pressAndHold
behavior that shows shortcuts badges. The new option
is located at Latte preferences.

BUG: 403840
6 years ago
Michail Vourlakos 7a95408c06 update Actions for Meta key in Preferences 6 years ago
Michail Vourlakos 6072741374 do not erase userBackgroundRoundness == -1 6 years ago
Michail Vourlakos dfd115f380 Move Meta key option to new Actions section 6 years ago
Michail Vourlakos e780184d0c update option for Plasma Background Roundness
--that option now supports also Automatic in order
for Latte background parts to use the Latte heuristics
in order to identify the proper roundness
6 years ago
Michail Vourlakos 031e19a8ab expose activeWindowScheme through windowTracker 6 years ago
Michail Vourlakos 9263b3e890 improvements for window tracker 6 years ago
Michail Vourlakos 1e65211277 DodgeAllWindows now uses WindowsTracker
--this way we use the same code for Dynamic
Background and DodgeAllWindows
6 years ago
Michail Vourlakos 9b9072d8f6 update qml code to follow windowTracker 6 years ago
Michail Vourlakos 78096b4181 refactor:move window functions to its own class
--all windows related functions present at visibility
manager are moved at their own class WindowsTracker
6 years ago
Michail Vourlakos 5db22022c1 refactor:cleanup globalshortcuts
--move out from globalshortcuts functions that were
related to latte views functions such as sorting,
highest priority etc. All these were moved to their
appropriate places in layout manager or layout classes
6 years ago
Michail Vourlakos 0be2048d16 improve code style 6 years ago
Tranter Madi fede9feb2d improvements for global shortcuts
Summary: BUG: 403880

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18717
6 years ago
Michail Vourlakos 499ae015c1 fix publishing launchersSignals in qml
--fix headers in order to work correctly
6 years ago
Michail Vourlakos c1bcd5c5ca improvements for global shortcuts based on position
BUG: 403880
6 years ago
Michail Vourlakos cf93b7516d improve global shortcuts options
--the user can disable "global shortcuts based
on position" by disabling the global shortcuts
for the first two latte items
--improve texts readability

BUG: 403880
6 years ago
Michail Vourlakos 50dc45c61f fix headers references for classes 6 years ago
Michail Vourlakos d53c2cbea3 fix indents / text appearance 6 years ago
Michail Vourlakos 668c2ff139 dont close view settings when Alternatives shown
--this way the user can also choose different Alternatives
without having false applets replacements or Latte failing

BUG: 403658
6 years ago
Michail Vourlakos 69b49d42dd the user must enable shortcuts based on position
--the option is now present to Behavior page in order
for the user to enable global shortcuts based on position.
6 years ago
Michail Vourlakos b15bd24218 refactor:move shortcutsEngine to its own class
--in that way all environment related shortcuts
management (e.g. plasma related shortcuts) is moved
in its own class
6 years ago
Michail Vourlakos 9cd851faea show only one Meta badge
--more fixes for globalshortcuts
6 years ago
Michail Vourlakos 66b2e4bd9c fixes and improvements for globalshortcuts 6 years ago
Michail Vourlakos 7740649c85 show all views that contain shortcuts 6 years ago
Michail Vourlakos 43acc40ac3 improve names in global shortcuts 6 years ago
Michail Vourlakos fef791d8e1 improve names for globalshortcuts qml calls 6 years ago
Michail Vourlakos aa2b607fb8 refactor:improve naming in globalshortcuts 6 years ago
Michail Vourlakos 898ab9f9e0 improve hideViewsSlot for globalshortcuts 6 years ago
Michail Vourlakos aae2ecc78b refactor:update names in globalshortcuts
--use Latte View as a reference instead of the
deprecated Latte Dock
6 years ago
Michail Vourlakos 608275cc6b refactor:move modifiers code at its own class 6 years ago
Michail Vourlakos f2f8f0eb8b improvements for Meta behavior
--global shortcuts now tracks modifiers changes
and trys to do the best for the user.
1. When Meta is pressed and holded latte views are
shown
2. When Meta is clicked but without been holded then
the Application Launcher code path is preferred
3. Activating Latte entries does not follow the
Meta pressedAndHolded code path
4. Pressing any other modifier except Meta cancels the
Meta pressed code path

BUG: 403734
6 years ago
Michail Vourlakos 6008f080bd remove x11 hack for global shortcuts
--enhance modifiers tracking at globalshortcuts
class
6 years ago
Michail Vourlakos 6f1c66f7d2 Display shortcut badges while holding Super
Summary:
Use `KModifierKeyInfo` to display shortcut badges while holding Super

BUG: 401768

Test Plan:
Just playing with it.
I still don't understand the `GlobalShortcut` class very well, correct me if I make any mistake.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18620
6 years ago
Michail Vourlakos f31df4ee71 show plasma shortcuts for applets
--when shortcuts badges are shown then the
plasma assigned shortcuts are preferred to
be presented to the user
6 years ago
Michail Vourlakos a2569664b3 Latte is now informed for applets shortcuts
--meaning that Latte now has provide information
for applets when these applets have shortcuts been set
by plasma infrastructure.
6 years ago
Michail Vourlakos e45ab91d65 heal layout file from deprecated applets
--there are deprecated applets that are not
used, I dont know under which circumstances
this ghost applet configurations are created,
they are shown more commonly under plasma
systrays
6 years ago
Michail Vourlakos 46dd59b65a cleanup applet shortcuts on startup
--when Latte crashes the global shortcuts from applets
remain untouched in kglobalshortcutsrc file. That fact
based on the Latte architecture that can alter applet
ids during layout loading can break the global shortcuts
experience by creating multiple global shortcuts records
for the same applet and by disabling some shortcuts because
these shortcuts are already enabled for ghost applets of
the crashed layout. This patch fixes this by removing all
applet global shortcuts during startup. Applet global shortcuts
are already saved in the layout file based on the current
plasma architecture, that fact simplifies things a lot.

BUG: 401184
6 years ago
Michail Vourlakos 62f396e86f add shortcuts for layout 6 years ago
Pino Toscano 72341142a2 fix project_license in appstream file
use the right SPDX tag
6 years ago
Michail Vourlakos 62033157f6 unblock View after AppLaucher shortcut trigger
--the Application Launcher triggering through global
shortcuts (codepath) was missing a release for
visibilitymanager in order to work correctly after
the applet trigerring.

BUG: 403471
6 years ago
Michail Vourlakos 5416b1c0ef REFACTOR:move layout to its own folder 6 years ago