Commit Graph

2621 Commits (2f4fd746303bdf679d603592ff19871ca392dfd5)

Author SHA1 Message Date
Michail Vourlakos 7b094d7007 dont drag last active window when is minimized 6 years ago
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 6 years ago
Michail Vourlakos a6b8fbcaff consider view::hidden state after slide-out 6 years ago
Michail Vourlakos bea8247b84 refactor:move syncActiveShares to Synchronizer 6 years ago
Michail Vourlakos c4b226def5 REFACTOR:Add Synchronizer for Layouts::Manager
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
6 years ago
Michail Vourlakos d08f1f9dbb add bold presentation for Shares in menu 6 years ago
Michail Vourlakos 46bf0c1229 update activities/shares from cell QMenu(s) 6 years ago
Michail Vourlakos 24e25944db Shared Views have highest priority
--Shared views can be positioned to all free edges
including those occupied by Central layouts and the
Central layouts update their views accordingly
6 years ago
Michail Vourlakos c6cd3f4685 move layout connections in the view
--any view and view::containment() signals that
are related to layout are now moved in the
View::setLayout() in order to be reinitialized
properly when the view changes to another
layout
6 years ago
Michail Vourlakos 6248a0ccae refactor:move schemecolors under "wm" folder 6 years ago
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
Michail Vourlakos 130bb32c8e move view config window for advanced mode
--there were cases for small screen resolutions
that because the view settings windows did not
change its height, it was not changing its placement
to the side of the screen
6 years ago
Michail Vourlakos 990b8868cd guard m_parent caller at secconfigview
BUG: 403406
6 years ago
Michail Vourlakos ad3b5abeaf enhance background solidness when touching window
--When the user has chosen a solid background when
there are windows touching the Latte panel then in
such case windows that are touching the panel not
just at the edge but at the at any point of the latte
panel are also considered as touching windows
--The "snapped" term that was used before in the
visibilitymanager was changed to "touching"
6 years ago
Michail Vourlakos 42f6bef738 dont close settings windows with no reason
--there were cases that the focusOutEvent from
secondary config window was sent before the
primary config window has become active. In that
case all config windows were closing with no
reason

BUG: 402776
6 years ago
Michail Vourlakos 582b59dae2 enable/disable colorizing from user
--when the user has enabled the monochrome colorizing
in that case in applet options there is now a new option
in order for the user to choose if wants or not that
applet to be colorized. Such an example are colorful
applets that lose their proper appearance through
monochrome option.
6 years ago
Michail Vourlakos 5c28b2194a Wait forever until the lock file can be locked
Summary:
- `timeout = 3000` is a bit short on some computer. Use `timeout = -1` will work for any case.

BUG: 401041

Test Plan: BUG: 401041 is fixed on my computer.

Reviewers: mvourlakos, #latte_dock

Reviewed By: mvourlakos

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18258
6 years ago
Steffen Coenen 56cfb42734 Fix autohide behaviour after dragging a panel
Summary:
Currently, when dragging a window from the panel to move it, it breaks the autohide behaviour of active docks/panels. This change imitates a release event on X11 to circumvent these problems.

BUG: 403104

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18194
6 years ago
Michail Vourlakos cf6641a089 dont unblock for !editMode
--when containment changes status it was
unblocking the visibility manager. This patch
fixes that situation and the blocker remains
under editMode. This way the dock can not be
hidden when it is in editMode.
6 years ago
Michail Vourlakos daa4d0f003 recreate view only when is really needed
--recreate view only when the window
ByPass flag must be really changed
6 years ago
Michail Vourlakos 8c21ca9072 create local autostart folder if is missing
BUG: 402934
6 years ago
Yuri Chornoivan 8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
6 years ago
Michail Vourlakos 63e9fbc99f dont block mouse events with no reason
BUG: 402572
6 years ago
Michail Vourlakos e19cbd46f6 delete secondary window when no needed
BUG: 402627
6 years ago
Michail Vourlakos ca5ea55816 disable debug message 6 years ago
l10n daemon script 5b5aec055d GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos 5c8a2bb380 reorganize settings in view settings window 6 years ago
Michail Vourlakos aeb7877546 improve ExpertSettings location 6 years ago
Michail Vourlakos 5d6d1730f2 improve syncGeometry at settings windows 6 years ago
Michail Vourlakos 79ccc37e31 delay latte view showing for Meta global shortcut 6 years ago
Michail Vourlakos 32a34d7c47 show latte view for all cases of Meta+A 6 years ago
Michail Vourlakos 40bd5a83e2 update settings to new complexity level 6 years ago
Michail Vourlakos 7d66434244 introduce complexity for view settings 6 years ago
Michail Vourlakos 5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
6 years ago
Michail Vourlakos b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
6 years ago
Michail Vourlakos 418799ed30 fix crashes from latteView recreation code
--in order to update window manager flags properly
in some cases a dock recreation is needed. But that
dock recreation when takes place when the user choses
to move its panel between different screens (that recreation
shouldnt be needed) in such case it creates crashes
6 years ago
Michail Vourlakos 095048223a refactor:move backgroundtracker under liblatte 6 years ago
Michail Vourlakos e81ef199b3 refactor:drop visibilitymanager private class 6 years ago
Michail Vourlakos 3b8c52cc59 refactor:move lattepackage to simpler directory 6 years ago
Michail Vourlakos 0497c2c960 add PlasmaScreenPool to help with screen ids
-- Latte screen ids are different from plasma
screen ids. This class helps in order to help
translating the different screen ids between
Latte and Plasma.
6 years ago
Michail Vourlakos 2244cae8bc refactor:move PlasmaThemeExtended to better path 6 years ago
Michail Vourlakos efb9414ef9 refactor:move plasmaquick headers to better place 6 years ago
Michail Vourlakos 653f0a22fb small commenting and backgrounds qhash 6 years ago
Michail Vourlakos 74238dba6f improve color schemes handling for default values
--when color schemes from themes are used there are
cases that the WM records do not correspond to the
colors that the plasma theme will use. In such cases
the color scheme file that is passed to applets can
create colors inconsistencies. For this reason we
update the default color scheme in order for its
WM values to be consistent with the plasma theme.
For the record plasma theme is using Colors:View
group for its main colors.

BUG: 401431
6 years ago
Michail Vourlakos c81e97f24d improve scheme file assignment from themeExtended 6 years ago
Michail Vourlakos a3107b7f1c dont call syncGeometry if not needed in some case 6 years ago
Michail Vourlakos fbe07f5ec1 add debug message for syncGeometry() 6 years ago
Michail Vourlakos b05c7d94ae refactor:add visibilitymanager to ViewPart:: 6 years ago
Michail Vourlakos 57ab5f3b3f refactor:move screenedgewindow to ViewPart:: 6 years ago
Michail Vourlakos 0510293c21 REFACTOR:Move confiView(s) to ViewPart:: namespace 6 years ago
Michail Vourlakos b2fbb2a7ae REFACTOR:change dock->latteView in settings windows 6 years ago
Michail Vourlakos f84043d28e REFACTOR:change dock in containment to latteView 6 years ago
Michail Vourlakos 1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types 6 years ago
Michail Vourlakos 9447a8f748 REFACTOR:replace liblattedock with new liblatte2 6 years ago
Michail Vourlakos 462a849ac4 refactor:rename dock terms to view 6 years ago
Michail Vourlakos f2a90aafe6 refactor:rename dock term to view term 6 years ago
Michail Vourlakos 185dd39e5c refactor:rename dock terms to view terms 6 years ago
Michail Vourlakos fd23fd83c1 refactor:rename dockWinBehavior to byPassWM flag 6 years ago
Michail Vourlakos 25d9d4ed17 refactor:rename DockCorona to Latte::Corona 6 years ago
Michail Vourlakos 7a3fcc7773 refactor:rename dockpackage to Latte::Package 6 years ago
Michail Vourlakos f74b3a4da0 REFACTOR:drop DockView term,in favour of LatteView 6 years ago
Michail Vourlakos 39368a41de REFACTOR:rename DockView to Latte::View
--move all classes related to Latte::View
from dock/ folder to view/ folder
6 years ago
Michail Vourlakos 856f26a7ed refactor:rename View:: namespace to ViewPart:: 6 years ago
Michail Vourlakos 6a0438155b fix missing dependency
BUG: 401641
6 years ago
Michail Vourlakos 05bef49d5a move activitiesmodel to settings 6 years ago
Michail Vourlakos 2099b8ed36 add headers comments for all c++ files 6 years ago
Michail Vourlakos deefa6f32e REFACTOR:move wm related classes to wm folder 6 years ago
Michail Vourlakos d8f748b512 REFACTOR:move setting* to relevant folder 6 years ago
Michail Vourlakos f81b800c6f improve code in view config windows 6 years ago
Michail Vourlakos 7a55ac9922 position secconfigwindow properly in multi-screen 6 years ago
Michail Vourlakos 90a2bb3bc1 refactor:rename MenuManager to View::ContextMenu 6 years ago
Michail Vourlakos 85009494e7 rename dock functions to views 6 years ago
Michail Vourlakos 390478f6d4 remove old commented syncDockViews 6 years ago
Michail Vourlakos 9931c38a8b refactor:addNewDock to Layout 6 years ago
Michail Vourlakos 8261217837 refactor:move docksWithTasks to Layout 6 years ago
Michail Vourlakos 5e47a2f483 fix crash from wrong FrameSvgItem initialization
--enable shadows by default on startup otherwise
the FrameSvgItem sets is imagepath to "" and that
can create a crash during loading/unloading a
layout
6 years ago
Michail Vourlakos 24c52b45f4 improve code signals in Layout 6 years ago
Michail Vourlakos 323ffbe3af refactor:move viewsCount to Layout 6 years ago
Michail Vourlakos bf097f3f62 refactor:add viewsCount to Layout 6 years ago
Michail Vourlakos 3098812679 simplify code 6 years ago
Michail Vourlakos ab2dc47fd9 refactor:move dock freeEdges to Layout 6 years ago
Michail Vourlakos 8fadd31020 refactor:remove no needed library headers 6 years ago
Michail Vourlakos 24c383d98a refactor:screens from dock to universalSettings 6 years ago
Michail Vourlakos 642b524cc7 refactor:move currentScreen to View::Positioner
--rename also currentScreen to currentScreenName
for better semantic representation
6 years ago
Michail Vourlakos 186a641444 fix crash under wayland 6 years ago
Michail Vourlakos 3e9071f5f5 refactor: move shadows handling to View::Effects 6 years ago
Michail Vourlakos f13e83ffb7 refactor:move theme handling to extendedtheme class 6 years ago
Michail Vourlakos 0794c0e84f refactor:blockAnimations moved to View::Effects
--rename blockAnimations to animationsBlocked
6 years ago
Michail Vourlakos 44006f2fe6 refactor:move dockTransparency to View::Effects
--rename dockTransparency to backgroundOpacity
6 years ago
Michail Vourlakos 885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
6 years ago
Michail Vourlakos 3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
6 years ago
Michail Vourlakos 3a0a95e6a9 refactor: rename properties in View::Effects
--effectsArea became "rect"
--maskArea became "mask"
6 years ago
Michail Vourlakos 825144a92e refactor:move Positioner to View:: namespace 6 years ago
Michail Vourlakos 47c3d6fb41 refactor:move effects and mask at own dock class 6 years ago
Michail Vourlakos 71d648437f move dock positioning code into its own class 6 years ago
Michail Vourlakos 8294bd892c support plasmoid.screenGeometry properly
BUG: 401333
6 years ago
Michail Vourlakos 6c58115f9b add launchers validator for syncing launchers
--moving a task now is not synced immediately to
other docks. Syncing takes place only in the end.
The dock in which the user changed the launchers
order sends a signal to other docks to update
theirs launchers order.

BUG: 401232
6 years ago
Michail Vourlakos 6e2c645008 Revert "Revert "No need to search i18n() in the same folder twice""
This reverts commit 1888fb7c80.

the commiter was right this isnt needed, find returns the
in question files in app/dock folder
6 years ago
Michail Vourlakos 1888fb7c80 Revert "No need to search i18n() in the same folder twice"
This reverts commit 85fea53760.

this is needed because it takes translation strings from app/dock
folder also
6 years ago
Yuri Chornoivan 85fea53760 No need to search i18n() in the same folder twice 6 years ago
Michail Vourlakos 99cb6b7983 dont reverse colors for Button
--it looks better if the Button(s) keep
their color instead to reverse it for the
reversed plasmaextended color scheme
6 years ago
Michail Vourlakos a6a291d2c5 expose all latte colors to applets 6 years ago
Michail Vourlakos 05c85dcd6d improvements for containsMouse code style 6 years ago
Michail Vourlakos b2abb99f2c fix layout integrity check
--this check was returning false results
in some cases
6 years ago
Michail Vourlakos 620c45a5b9 improve schemecolors name handling 6 years ago
Michail Vourlakos 3155a8173a update colorscheme values based on plasmaTheme 6 years ago
l10n daemon script f243961f95 GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos d295d88249 expose disabled colors for text/background 6 years ago
Michail Vourlakos 24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
6 years ago
Michail Vourlakos e63a43afe5 enable requestMove through the visibilitymanager 6 years ago
Michail Vourlakos 578623836b make dock settings window smarter for secwindow
--the secondary configuration window can be shown
either inline or at its own window. In order to
be shown at its own window, that window must not
overlap with the main window. The new implementation
validates this at all cases.
6 years ago
Michail Vourlakos b8ad6fceeb drag a maximized window from panel 6 years ago
Michail Vourlakos 722d656bfa enhance colorschemes and colorizer to new arch 6 years ago
Michail Vourlakos ebb5759dc4 expose to qml ligth/dark themes,schemes 6 years ago
Michail Vourlakos 7c484afa91 create reversed color scheme for plasma theme 6 years ago
Michail Vourlakos a011333bf8 update KDirWatch implementations
--make sure that KDirWatch signals are taken into
consideration only when are triggered from the
questioned files
6 years ago
Michail Vourlakos 7d9c5cf593 rename colortools to commontools
--this way more shared functions could be
added
6 years ago
Michail Vourlakos 836bc38778 discover plasma theme path 6 years ago
Michail Vourlakos 3553415c59 load roundness theme info properly 6 years ago
Michail Vourlakos 0cea7e8622 use roundness from extenededTheme in settings win 6 years ago
Michail Vourlakos 92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
6 years ago
Michail Vourlakos 0179bc6395 add colortools for luminas and plasmathemeextended
--plasmathemeextended is going to provide all the
functionality that current plasma theme infrastructure
does not. Such as roundness and dark/light color schemes
6 years ago
Michail Vourlakos 8d014c9e6e active windows that touch panel have higher priority 6 years ago
Yuri Chornoivan 4b55cdce52 Fix minor typo 6 years ago
Michail Vourlakos b1ad7f2a18 send window change signale for color scheme 6 years ago
Michail Vourlakos f2d088a297 add theme roundness option at preferences page 6 years ago
Michail Vourlakos 59f66233f2 track files for schemes changes
--track changes for wm default scheme
--track changes for colors in specific scheme
6 years ago
Michail Vourlakos e1712dded4 add more colors to SchemeColors 6 years ago
Michail Vourlakos f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
6 years ago
l10n daemon script 7fd9cb1952 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
Michail Vourlakos 37dbab99bf remove no needed public api from visibilitymanager 6 years ago
Michail Vourlakos 0bab344682 fixes for multi-screen behavior
--fix wrong placement at multi-screen environment
during startup. freeEdges function was not sufficient for
reconsiderScreen() because there was a chance to
exclude edges that even though they were available
it returned fault results. Such case is when
a view request available edges for specific screen
and the edge of that specific view is also exluded
because that view has not finished its movement
to the new assigned screen.

--fix re-adding an explicit dock when its screen
is activated. A check was missing in order to
confirm that a primary dock is occuping that
edge but we must check also that the primary
screen is the same with the explicit one.

--add/improve debug messages
6 years ago
l10n daemon script cfec678f68 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
6 years ago
l10n daemon script b7a1bbfdfc GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos be7bbfe848 dont call syncGeometry when some cases
--dont call costly syncGeometry when drawShadows
externally is called. In such case only updating
shadows/borders is needed.
6 years ago
Michail Vourlakos f955c6a40c improve reconsiderScreens code for multi-screens
--try to make screens assignment and window geometry
more consistent. There are three variables in a dock
window for its screen and positioning to be accurate,
screen(), m_screenToFollow, m_screenToFollowId

BUG: 399456
6 years ago
Michail Vourlakos 135ddc479d dont break BorderlessMaximized window default
--dont update the BorderlessMaximized value if
the user hasnt explicitly enabled it from Latte
options.
6 years ago
Michail Vourlakos 1638449997 imrove windowChanged signal under X11
--the new code contains more comments and except
blacklisting all NET::Properties2 signals that are
not accompanied with NET::Properties it also
whitelists specific states for NET::WMState.
This should lower a lot the calculations needed
in order to support the dodge visibility modes.
At the same time apps that are abusing X11 signals
should be ignored totally because the whitelisted
states and NET::Properties are only set by the
user or the window manager.

BUG: 399149
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos 64a40429a4 option/define who will be used at global shortcuts
--add an option in Tweaks page in order for the user
to define which dock/panel will have the highest priority
for global shortcuts activation. This option can be
used is per layout basis. Each layout can have its own
high priority dock/panel for Latte unified shortcuts.

BUG: 398914
6 years ago
Michail Vourlakos 4732f7f1b1 activate entries for docks containing only applets
--when a dock/panel does not contain any taskmanager
should also be able to activate its applets through
Latte's unified global shortcuts

BUG: 398913
6 years ago
Michail Vourlakos 09fe5e385b on startup explicit dock faulty moving onPrimary
--multi-screen fix for explicit docks. There were
cases that explicit docks during startup were
moving to onprimary screen even though they shouldnt
based on the new multi-screens implementation.
Bug was tracked down at a faulty series of signals
that were overwriting dockView config values
to default values and that was creating the fault.
-- one more fix for multi-screens, a missing return
statement in case an explicit dock is called and its
edge at that specific screen is occuppied by an
onPrimary one.

BUG: 398219
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 203c740980 IMPORTANT FIX:show dodged dock at corner cases
When there was only one latte dock and the last
active window was closed, the dock wasnt showing
afterwards. The dodge logic now has been improved
in order to not lose any window manager signals
that could help indicate when to show/hide a
dodge capable dock

BUG: 398052
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos cc0e0e7c47 simplify dodge(s) code and comment it 7 years ago
Michail Vourlakos 66817695fe raise docks when there isnt any active window
--there are cases that the window manager doesnt
return any active window at all. In such cases
we can assume that our docks/panels dont have to
be hidden.

BUG: 398052
FIXED-IN: 0.8.1
7 years ago
Tobias C. Berner 156accc34f Fix build on FreeBSD by including <array>.
Summary:
latte-dock-0.8.0/app/dock/dockview.h:367:44:
    error: implicit instantiation of undefined template 'std::__1::array<QMetaObject::Connection, 4>'
    std::array<QMetaObject::Connection, 4> connectionsManagedLayout;
                                           ^

Reviewers: #freebsd, mvourlakos, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14534
7 years ago
Michail Vourlakos 9e53fa727b update to latest panel shadows 7 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos 87094a6fe7 dont draw panel shadows when theme doesnot provide
when the plasma theme was not supporting shadows then
Latte was double drawing the panel background when
the user has chosen that wanted shadows

BUG: 397980
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 285a2f8764 ignore systrays at multi-screen considerations
--if a dock/panel was containing a systray there
was a chance that the systray was messing the
calculations for adding/removing docks based on
the screen and edges changes
7 years ago
Michail Vourlakos b2f1f98b57 remove deprecated code from old multi-screens arch
--Latte will no longer try to be too smart concerning
the multi-screens behavior. At the old implementation
Latte wouldnt let you reach at a state that you dont
have a tasks plasmoid available. Such a case could be
when the user moves a dock from primary to explicit
screen and disables the screen afterwards. That case
should be thought better in the future in order to be
identified and handled properly without making the
code unnecessary complex. Such an example could be by
identifing the case and asking the user for actions.
7 years ago
Michail Vourlakos bb8835f156 identify maximized window screen differently
--there are cases that the window geometry isnt consistent
for maximized windows. That was breaking the previous
implementation of dynamic background because of:
https://bugs.kde.org/show_bug.cgi?id=397700
the new implementation is using only the window center in
order to identify the screen in which a window is
present

BUG: 397344
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 78b41eff91 use current transparency to update effects
--the background contrast effect should be applied
only when the dock/panel is visually solid otherwise
it may block the transparency settings

BUG: 397431
FIXED-IN: v0.8.1
7 years ago
l10n daemon script 7a693bdcda GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script cdc0cdcd7d GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 46fa568350 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 8062a76605 improve activation badges visual indicators
--when an activation shortcut follows Meta+"Character"
scheme it is shown lowerCase and at all other cases
it is shown upperCase

CCBUG: 397128
7 years ago
Michail Vourlakos 9a69323293 smarter badges identifier for activation shortcuts
--with this commit now Latte is able to identify what are
the global shortcuts used for each activation entry and
also to not show at all any badge for activation entries
that are disabled from the user

BUG: 397128
7 years ago
l10n daemon script ec9ad19c36 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 41f9e43e7e GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 84de238181 missing apostrophe
BUG: 396676
7 years ago
Michail Vourlakos 7bceb7e4b7 Identify snapped windows independent of screen
--the old code wasnt screen independent for identifying
windows that touch the panel edge. There were cases
that when a window was touching a panel edge at
screen A to faulty identify that is touching
screen B also. The code now is more robust and it
can also handle cases that window is touching two or
more different panels in different screens.

BUG: 397076
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 30c90d2a41 More predictable copy function for multi-screen
--Improve the series of events in order for CopyDock
to work better in multi-screen environments. Copy Dock
should create the same dock in the same free edge at
different explicit screen when that edge is already
occupied in the origin screen

BUG: 397081
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 03b469eff5 IMPORTANT: Update multi-screen codepage!!!
--after v0.8 release many issues with multi-architecture
were identified. An alternative approach was needed
in order for Latte to get a more user-predictable state.
In new approach:
--onPrimary docks have always higher value
and should be shown, this is also like how plasma is
moving its panels.
--explicit docks are removed if their edge in their screen
is occupied by an onPrimary dock
--be stupid smart in order to check if docks contain
tasks and try to not remove them based on screen-changes
is removed! Over-Complicated code that doesnt help
in maintainability...

one of the issues was reported at following bug report...

BUG: 396806
7 years ago
Michail Vourlakos 9cb58d0d43 dont block shortcuts execution
--when trying to activate an entry through
global shortcuts we should take into
account the docks that we have already
access but that should not block the action
code.
7 years ago
Michail Vourlakos 973090906d more improvements in global shortcuts memory usage 7 years ago
Michail Vourlakos c9d61e1637 improve memory usage for globalshortcuts 7 years ago
Michail Vourlakos f3bc0b4c0b disable badges numbers for plasma taskmanagers 7 years ago
Michail Vourlakos 6cff0be9c1 enable Meta forward from KWin to Latte
In Latte Preferences the user can now enable/disable
the Meta key forwarding for showing the
Application Launcher

BUG: 396754
7 years ago
Michail Vourlakos d4cb4e2410 setup unified global shortcuts per dock
--in multiple layouts environment the user
may prefer different settings for its global
shortcuts, in some may wants to use global
shortcuts for its applets and in another
layout may not.
7 years ago
Michail Vourlakos 6708510213 support a meta badge visual from global shortcuts
--when an application launcher exists, Latte can show
a "Meta" badge for that applet instead of the global
shortcut action number. With this patch we take also
into account when the assigned application launcher is
in different dock/panel and show it accordingly

BUG: 396753
7 years ago
Michail Vourlakos 265383ce34 missing global shortcuts new instance record 9
Summary:
In Latte global shortcuts is missing one record
for New Instance of ninth record

BUG: 396751
FIXED-IN: 0.8.1

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14273
7 years ago
Michail Vourlakos 00d15a7906 support no-unified global shortcuts
--v0.8 introduced unified global shortcuts for all
cases, that means that applets are also taken into
account for Latte activation/new instance global
shortcuts. A new parameter is introduced with
the patch at Latte global settings file called
"unifiedGlobalShortcuts", the user can set that
parameter to false before Latte startup in order
to use only global shortcuts relevant to the
Latte plasmoid.
7 years ago
Michail Vourlakos 5728cb954b fix to update contents correctly between sessions
--when changing Single mode to Multiple mode the latest
changes from user didnt get into because the kde cache
from KFileConfigPtr hadnt been updated yet. This
patch fixes this by using a temp file that contains
the layout in question.
7 years ago
Michail Vourlakos 73e9bfae5e open background dialog at better path
--use the background image path in order to open
the Background dialog at that path
7 years ago
Michail Vourlakos a85555f52c FIX creating and copying docks
--there were cases that during creating
or copying docks the applets ids were
created inconsistent by creating applets
with ids already reserved. This patch
fixes this by using the applet ids found
in the layout file and not the one loaded
in memory.
7 years ago
l10n daemon script abeadb5794 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 63f6d6fd56 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 91a1736b14 add debug flag for overloaded applets
--a visual indicator in order to show which plasma
applets have been overloaded from Latte. The overloaded
mechanism is a way in order to make these applets work
properly with Latte parabolic effect
7 years ago
Michail Vourlakos 393342ad9e revert one fix for blur effect
--limiting the qregion returned for blur effect
it created in some cases broken visuals concerning
the bluring of the background
7 years ago
Michail Vourlakos 7a9c0504db improve effects area calculations
--blur effect is costly this way we limit effects area
to respect the windows boundaries and at cases that
the QRegion returns too main QRects to just use the main
effects rectangle
--this fix possibly fixes the crash related to Blur effect and
moving the dock to another edge bug:396040
7 years ago
Michail Vourlakos 6efeaa7d51 update code to new astyle conditions 7 years ago
l10n daemon script bc93683d25 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script bf23b71a11 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos a69ce0abdb remove credits tab
--v0.8 is officialy KDE project, so its
existence owes a lot of credits to many
KDE members (for translations, bug reporting
etc.). Being officially a KDE project
responds to the previous credits.
7 years ago
l10n daemon script f6097cd2dc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 972a56bd69 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 7df0c544e3 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 8bb20ae988 fix #1043,fix warning 7 years ago
Michail Vourlakos 2e2a255936 fix #1029 delay application launcher showing
--when the dock was hidden and the user was triggering
the Meta shortcut the app launcher was misplaced.
By using the same technique used when triggering applets
shortcuts this is fixed.
7 years ago
Yuri Chornoivan e6bff1fac9 Fix minor typo 7 years ago
Michail Vourlakos 568ccd6e26 localization strings improvements 7 years ago
l10n daemon script e1c0af70cf GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos cfce12d6ed fix #1005,add timer to fix freeze
--make less intrusive the repositioning
of the screen edge ghost windows
7 years ago
l10n daemon script 3f4fa6699c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script b944916c51 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos be845b5ba2 missing return statement 7 years ago
Michail Vourlakos c7b66d2732 fix #1023, build error
--missing translation function with two
arguments
7 years ago
Yuri Chornoivan 64d5bc07d0 Fix minor typo 7 years ago
Michail Vourlakos 8214bd090c improve translation strings 7 years ago
Michail Vourlakos 591ce6c4d5 fix #1021,add borders option in layouts window
--the user can now enable/disable borderless maximized
windows per layout through Latte settings window
7 years ago
Michail Vourlakos cf51d10158 add option to (de)activate borderless maxim.window 7 years ago
Michail Vourlakos a5837fff09 add enabler/disabler for borderless maximized wins 7 years ago
Michail Vourlakos eb7b0ec497 fix a crash from ghostscreenedges
--when recreating the dock/panel because of
visibility mode changes sometimes there was
a crash because of the timers for the workaround
of isVisible() changes
7 years ago
l10n daemon script 8927f4d7ac GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 92a7239550 fix #1001,disable maximized borders per layout
--give the user an option in layout file in order
to enable/disable borders for maximized windows.
the option is called "disableBordersForMaximizedWindows"
and must be put in LayoutSettings section
7 years ago
l10n daemon script 680032c222 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 7c3aab9b98 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 64f036dadd improve layouts elements interaction in config
--use DoubleClick to change ShowInMenu
--dont change Activities when Activities combobox
loses focus, only when the user has really clicked
an element
--select user-set backgrounds properly when showing
the combobox backgrounds popup
7 years ago
Michail Vourlakos 55c373a9e1 RTL fixes in settings windows 7 years ago
l10n daemon script 8356c6ba68 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 78ebe6e258 dont apply containment changes when locked
--if the layout is locked then dont apply any
containment config changes
7 years ago
Michail Vourlakos a87d094986 fix crash from ghostedge in X11
--when unloading a layout under X11
when MultipleLayouts are used sometimes
a crash was occuring.
7 years ago
Michail Vourlakos dd296cdf9c fix #980,support locked/unlocked layouts
--layouts can be read-only and in such case
any settings changes arent saved.
7 years ago
Michail Vourlakos 20c38f6f22 improvements in layouts editor painting 7 years ago
Michail Vourlakos ece4d55f1c add lock layout button in settings 7 years ago
Michail Vourlakos 136a0f322b add missing license headers 7 years ago
Michail Vourlakos 675bfe284d fix #980,support lock icon in layouts editor
-- when a layout is read-only then a lock icon
appears in its layout record.
7 years ago
l10n daemon script 403117e044 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos 1e2b996a9e support lock/unlock in layout
--identify if a layout is locked and
support lock/unlock for that layout
7 years ago
Michail Vourlakos b02628de3f update file permissions in more places 7 years ago
Michail Vourlakos 75ab4e9cf0 fix #980,update layouts permissions after importing
--in some systems that layouts are readonly when
copied to user "latte" directory were still
read-only. We are fixing these permissions with
this patch.
7 years ago
Michail Vourlakos 745b9ea075 dont apply too early blur effect
dont delay the corona destruction under wayland
because that creates a crash with kwin effects

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

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

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

BUG: 390017
7 years ago
Michail Vourlakos 4da2576ccb remember layouts settings columns width
--layouts columns widths are restored at its
previous values when the settings window is
shown and are saved when the settings window
closes
7 years ago
Michail Vourlakos c8b06b6561 dont show debug message 7 years ago
Michail Vourlakos 6bb7f0ab51 improve context menus for wayland 7 years ago
Michail Vourlakos cb88d134f4 fix #889,dont crash on applcation exit
--the wayland interface couldnt orchestrate correctly
with the corona and the application exit. The whole
architecture changed and the window manager now is
provided by corona and corona is also responsible to
keep only one instance of it and close on exit.
7 years ago
Michail Vourlakos b4b68e5bb1 add wayland debug messages 7 years ago
Michail Vourlakos 0a1488b643 update wayland code based on plasma 7 years ago
Michail Vourlakos d6740bb378 fixes for wayland 7 years ago
Michail Vourlakos 2403fbabe1 update brown textColor 7 years ago
Michail Vourlakos 47054c3380 update layouts color based on new palette 7 years ago
Michail Vourlakos bcce41d064 always update background for colors/backs
--because the comboBox includes Select Background and
TextColor the last edit mode patterns couldnt be selected
in some cases
7 years ago
Michail Vourlakos 7050d7ba1f fix #886 use svg for settings Latte trademark
--remove the Plasma Label that was used to set
the Latte trademark based on Tangerine font that
was distributed from app source code
--remove the Tangarine font from source code
7 years ago
Michail Vourlakos 052a8519ce fix entry index for plasma taskmanagers
--in plasma taskmanagers the index passed starts
from 0 and for latte taskmanager from 1.
7 years ago
Michail Vourlakos 9f03e10b3d delay execution of activating entrys when hidden
--entries execution is delayed in order to give the
time to the dock to show itself first
--improve a bit the code complexity for globalshortcuts.
7 years ago
Michail Vourlakos f2b80b7b52 update strings for global shortcuts 7 years ago
Michail Vourlakos 1ff161a030 updates and improvements at applets glob.shortcuts 7 years ago
Michail Vourlakos db28c6bcaf use globalshortcuts with containment also
--we are trying to expose an applets calling
mechanism that is combined with the latte plasmoids
one with a nice beautiful way
7 years ago
Michail Vourlakos 1e57260c5f asynchronous calls for quiting application
--this gives the time for docks to close and also
to not create any rare crashes because qml settings
window calls this code path from its Quit button.
7 years ago
Michail Vourlakos 32c4ef1d5b Myltiple:improve Activities switching
--improve Activities switching and activation
for orphaned layouts (that is layouts that do
not belong in any specific Activity)
7 years ago
l10n daemon script 10cd514fe0 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos d2495b3350 apply layout's activities on config showing 7 years ago
Michail Vourlakos 7954ce5d52 update Activites correctly for orphaned layouts 7 years ago
l10n daemon script cb6d7bda74 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos 1a3cb13094 use same font metrics for qml and c++ code 7 years ago
Michail Vourlakos f9b475cc8a dont handle latte containment as appler for menu 7 years ago
Michail Vourlakos 211399eaf5 support changing the textColor of editMode 7 years ago
Michail Vourlakos eb377767c8 hide textColor when no background is selected
--enable textColor dialog
7 years ago
Michail Vourlakos d21534d6c3 support user background in edit choice 7 years ago
Michail Vourlakos c6408564d0 make the containment background aware 7 years ago
Michail Vourlakos 30fa3e0b1a improvements for user backgrounds 7 years ago
Michail Vourlakos 3110986215 prepare setting background 7 years ago
Michail Vourlakos b00ec4fcee set background image for colorscombobox 7 years ago
Michail Vourlakos 41117e9290 add background and textColor to layout
-- auto-adjust the textShadow for Ruler based on
the textColor luminosity
7 years ago
Michail Vourlakos dd2751add9 center activities text in Layouts 7 years ago
Michail Vourlakos bf7032a9f4 add options for the user to set edit image
--and also text color of the edit mode
7 years ago
Michail Vourlakos c2e72b7f67 do not update struts during location change 7 years ago
Michail Vourlakos 61c28978e6 publish internal ediMode to dock
--use internal edit mode to wm's visibilitymanager.
More specific use it in AlwaysVisible mode in order
to not publish the new struts because the animations
have ended.
7 years ago
Michail Vourlakos 73229c5fbc give some more space in editingVisual for ruler 7 years ago
Michail Vourlakos f20da16854 update license in new files 7 years ago
Michail Vourlakos a1c672a864 create independent secondary config window 7 years ago
Michail Vourlakos 3bddb99881 remove ghost containments on loading
--ghost containments such as when a user
deletes a dock without notification confirmation
can be removed afterwards when that layout is
loading either at Single or Multiple mode.
7 years ago
l10n daemon script 73940eff3b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 5b0bcda3c4 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos e07f6e207e expose contextMenu data through dbus 7 years ago
Michail Vourlakos 028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
7 years ago
Michail Vourlakos dfdf07404c dont show info window when no adding layout
--and the user hasnt chosen it
7 years ago
Michail Vourlakos ba149a65e3 update applyButtons when checkboxes change state 7 years ago
Michail Vourlakos cbfc7da27b dont show two configuration windows(systrays) 7 years ago
Michail Vourlakos 43cc5da6fa complete containmentactions support
--this way the Layouts menu in now accesible
even from plasma taskmanagers. The codebase is also
the same for every component that is showing its
menus.
7 years ago
Michail Vourlakos f9afa1bc1f move completely to containmentactions 7 years ago
Michail Vourlakos 5660e0ec9c preparing layouts menu in containmentactions 7 years ago
Michail Vourlakos 82e77f7b23 more improvements to containmentactions 7 years ago
Michail Vourlakos d3756e0ce1 add containmentactions 7 years ago
Michail Vourlakos 35643ac5f3 include translations of the dock folder 7 years ago
Michail Vourlakos 474c7a3970 slide-out docks on closing 7 years ago
Michail Vourlakos 4b07ae7457 move dock contextmenu to dockmenumanager 7 years ago
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog 7 years ago
Michail Vourlakos e4153271ef fix dependencies and references 7 years ago
Michail Vourlakos acb77c6cd4 update header files and move files around 7 years ago
l10n daemon script 811bdd7111 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos bd3a120c58 remove deprecated code 7 years ago
Michail Vourlakos 973cf1bd58 fixes for import/export of MultipleLayouts etc... 7 years ago
Michail Vourlakos f22e26fef3 dont update lastUsedActivity for FakeMultiLayout 7 years ago
Michail Vourlakos c436d4f201 move docksCount from corona to layout 7 years ago
Michail Vourlakos c95169ff67 remove freeEdge(s) from corona
--use only the layout versions
7 years ago
Michail Vourlakos d501f05ade remove deprecated noOfDocks of corona 7 years ago
Michail Vourlakos f7f7d3da6c move explicitDockOccupyEdge to layout 7 years ago
Michail Vourlakos 6a1c8173e2 remove noDocksWithTasks from corona 7 years ago
Michail Vourlakos a0d1d4ccf6 MultipleLayouts:fixes/improvements in multi-screen 7 years ago
Michail Vourlakos 3d471ee884 update syncDockViews to per layout 7 years ago
Michail Vourlakos 5e2d786729 add freeEdges in layout 7 years ago
Michail Vourlakos 7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
7 years ago
Michail Vourlakos ff5f91e3cb hide debugging parser options 7 years ago
Michail Vourlakos 0a84aa3d20 remove old layouts before adding new ones 7 years ago
Michail Vourlakos 22a844395b update layoutsView when runningActivities changed 7 years ago
Michail Vourlakos 8aad360916 add lastUsedActivity in the layout file
--lastUsedActivity is also used when we are opening
an assigned0-activities layout in order to choose in which
activity to swith on starting.
7 years ago
Michail Vourlakos de794cf8fe show running Activities in bold in config window 7 years ago
Michail Vourlakos c62106969a fixes for Pause layout in config window 7 years ago
Michail Vourlakos 2327965c24 support pausing activities from main config window 7 years ago
Michail Vourlakos e3b398bee7 dont close config window when an activity closes 7 years ago
Michail Vourlakos ba17f39940 MultipleLayouts:add Pause button
--add a pause button in order to pause Activities
assigned in an active layout from the central
configuration window
7 years ago
Michail Vourlakos 1e22d997e9 MultipleLayouts:activate them properly
--When switching from Single to MultipleLayouts
and the user has chosen a different layout, then
activate that specific Activity also..
7 years ago
Michail Vourlakos ad35aa9a6e enable ok/apply only when there are changes
--The config window now is more intelligent. It remembers
the original settings and enables ok/apply only where there
are really changes
7 years ago
Michail Vourlakos 723abbf0f9 clear unneeded component cache on leave event 7 years ago
Michail Vourlakos 4b0a134187 fix #839,support inline settings
--when the secondary config window isnt created
(e.g. when the screen resolution is very small),
in such cases the relevant options are added in
the main config window
7 years ago
Michail Vourlakos b68151e9fc dont show secondary config window,small resolutions 7 years ago
Michail Vourlakos 26808429d4 fix rename orphaned active Layout 7 years ago
l10n daemon script d69048cf2f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos 4212d57ca7 enable global shortcuts for universal settings 7 years ago
Michail Vourlakos d97a819bc1 enable mouse sensitivity for parabolic effect 7 years ago
Michail Vourlakos 22ef2280d2 enable universal settings in Latte Settings Window 7 years ago
Michail Vourlakos 7b3892de7f update latteconfig to use corona 7 years ago
Michail Vourlakos 1ab273753e add menu/about in Latte Settings window 7 years ago
Michail Vourlakos fb3764e432 trigger Latte Config Window from L symbol 7 years ago
Michail Vourlakos 8fb12bdbcf improvements to new Latte config window 7 years ago
Michail Vourlakos 4da703fa9d auto translate .ui files
--add global Latte settings into new configuration
window
7 years ago
l10n daemon script 6f084726a9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 6583617380 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos a2fc2edc30 publish internal separators indexes after dragging 7 years ago
Michail Vourlakos 67ce3441a4 MultipleLayouts:launchers signals made layout aware 7 years ago
Michail Vourlakos be0f9dc0ba remember the last used activity per layout 7 years ago
Michail Vourlakos 9cdb75ec49 assign/unassign signals at needed containments 7 years ago
Michail Vourlakos 11190e9de7 update borders for Main Configuration window 7 years ago
Michail Vourlakos c51fc7d59d appy Activities also to configuration windows 7 years ago
Michail Vourlakos b5ccba44b1 Move Dock from Layout to Layout
-- In the configuration window at the "New Dock"
ComboBox were added options in order for a dock
to move to another running Layout.
7 years ago
l10n daemon script 27fbeafcae GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 67b1311f6f record managedLayout connectios and release them 7 years ago
Michail Vourlakos 0120d8635b fix two crashes
--when deleting a copied dockView, unbind the sensitive signals
from dockView
--when deleting a copied dockView and the config windows syncGeometry
is called then it should first check in the dockView has a
layout
7 years ago
Michail Vourlakos 1bffaf8b3b change secondary config layout to always vertical 7 years ago
Michail Vourlakos 71281174be create a separate Types Window 7 years ago
l10n daemon script 03a73a1bb0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 83e4eccb27 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 3c0101b9ad reorganize layout buttons in layouts editor 7 years ago
Michail Vourlakos 7e2fc0f895 check active layouts also for broken state 7 years ago
Michail Vourlakos 4fae38ff8e MultipleLayouts:fix crash from Copy button 7 years ago
Michail Vourlakos 5c98015e8e fix #808,Multiple Layouts in Layouts Editor
-- the user is able to change from Multiple Layouts
to Single Layout runtime through Layouts Editor
7 years ago
Michail Vourlakos f1d5b3c705 add inMemory choices in Layouts Editor 7 years ago
Michail Vourlakos e4cd47ca3e MultipleLayouts:update Layouts menu 7 years ago
Michail Vourlakos 60cc89d595 MultipleLayouts:restore isSwitching signal
--this creates a nice animation when switching
layouts for orphaned Activities at a Multiple
Layouts state
7 years ago
Michail Vourlakos 1275da22d7 MultipleLayouts:dont check active layouts as broke
--add also more debug messages for broken layouts
7 years ago
Michail Vourlakos 2f44a2603b remove layouts as first action
--this way we can avoid any problems with
layouts ids in layout config dialog in the
following steps.
7 years ago
Yuri Chornoivan de5bc5eb91 Fix minor typos 7 years ago
Michail Vourlakos aa451a05ff LayoutsEditor:sync active layouts to original file
--this is used in order to check for broken layouts
during showing the Layouts Editor for active layouts
also, not only the inactive ones during MultipleLayouts.
7 years ago
Michail Vourlakos 7ad76937b7 Layout:update locked applets ids
--these ids werent updated at MultipleLayouts
and Copy function
7 years ago
Michail Vourlakos 308d99e215 MultipleLayouts:Rename layout name runtime
--In MultipleLayouts we dont need to close the
active layout to rename it. We can do it without
need to close it and reopen that layout.
7 years ago
Michail Vourlakos 1e97609067 MultipleLayouts:support Export 7 years ago
Michail Vourlakos a905138810 MultipleLayouts:support Remove,Menus,Copy 7 years ago
Michail Vourlakos fa379144e9 fix Switch behavior for Multiple Layouts 7 years ago
Michail Vourlakos 18b94c795b restore autostart functionality after crash 7 years ago
Michail Vourlakos d8c66f6174 fix translation string 7 years ago
Michail Vourlakos 94914ee578 warning message for broken MultipleLayouts startup
--if the app crashed and the user trys to reopen Latte
then the Containments must first return to their Original
Layouts. This code provides that and informs also the user
during the startup.
7 years ago
Michail Vourlakos 333afc75bc improve currentLayoutName for Multiple Layouts
--improve layout manager header appearance
7 years ago
Michail Vourlakos 4325ca4bb6 fix a crash when stopping Activities very fast 7 years ago
Michail Vourlakos a37036b6eb support Activities setting for InfoView 7 years ago
Michail Vourlakos b7d1b86a65 IMPORTANT:Fix uniqueness of IDs during importing
--These fixes any issues concerning Multiple Layouts
Loading/Unloading and keeping the Original Layout files
consistent.
7 years ago
Michail Vourlakos 3cf6d8ef9d multiple fixes for Multiple Layouts 7 years ago
Michail Vourlakos dc4a223f27 fix currentActivitiId issues on startup 7 years ago
Michail Vourlakos 896e46dcd9 dont write updated ids if they didnt change 7 years ago
Michail Vourlakos 667a451499 Multiple Layouts:Fixes for storage synchronization
--fix also a crash when removing a dock
7 years ago
Michail Vourlakos 7dd6345d4a MultipleLayouts:Load/Unload on Activities changes
--workaround an upstream issue, when closing an Activity
all dock/panel windows in MultipleLayouts where become
hidden.
7 years ago
Michail Vourlakos 132410d848 MultipleLayouts availableScreenRegion
--it is used to position correctly the separate dock/panels
in different activities
7 years ago
Michail Vourlakos 19cd67627d more improvements for MultipleLayouts case
--fix the strut setting between multiple running
layouts. When the activity is changing then each dock/panel
removes or adds its struts accordingly
7 years ago
Michail Vourlakos 4280c14acd many improvements for MultipleLayouts case 7 years ago
Michail Vourlakos 7d4989e983 add code for MultipleLayouts and Activities
--prepare dockViews and rest classes in order to
be able to change between different Activities in
a MultipleLayouts environment.
7 years ago
Michail Vourlakos bc91aefd89 add more MultipleLayouts code
--move code from dockCorona to layoutManager
--add more code related to MultipleLayouts
7 years ago
Michail Vourlakos e3a3cb5a52 re-use copyDock code to make it more generic
--fix crash from containments deletion when closing corona
--reuse copyDock code in order to prepare it for
loading multiple layouts at the same time
7 years ago
Michail Vourlakos 4ac3efd0b5 add filePtr for layout 7 years ago
Michail Vourlakos 47566c27c3 add variable layoutsMemoryUsage for layoutManager 7 years ago
Michail Vourlakos 822f3630ac fix crashes: wrong containment deletion/signals
--we fix two crashes, one from availableScreenRectChanged
signaling when we unload a layout
--one from deleting containments in random order,
we must first delete systrays and then the rest containments
7 years ago
Michail Vourlakos f617a9178e support multiple active layouts in layoutmanager 7 years ago
Michail Vourlakos 274c6a653d add managedLayout to dockView
--this way a dock can belong to specific Layout
and this could be changed runtime in a multi-layout
runtime environment
7 years ago
Michail Vourlakos f81433be8b try to link containments to layouts 7 years ago
l10n daemon script 8202d420f5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script ff2d6245f9 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos dd8c8271b6 IMPORTANT: move logic from corona to layout
--refactoring code for #808...
Latte gets prepared for multiple layouts running
at the same time.
7 years ago
l10n daemon script c4a8881da1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos a01b7f100b move copyDock from corona to Layout 7 years ago
Michail Vourlakos 92127577d1 improve semantics for layout class 7 years ago
Michail Vourlakos ef48a70bd9 improve semantics 7 years ago
l10n daemon script 4ae1c98e55 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos 2d16bcd976 draw panel background correctly after themeChange 7 years ago
Michail Vourlakos 18d78cfd37 stretch layouts editor contents to fit on startup 7 years ago
l10n daemon script 2390acf71f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
Michail Vourlakos cb69a9c7c6 slide out/in also in user screen change 7 years ago
Michail Vourlakos f7b8cedb3c improve semantics for location change slide out/in 7 years ago
Michail Vourlakos bc29bc2863 improve windows garbage collector 7 years ago
Michail Vourlakos 1d5d4406ef slide-out docks in manual layout change 7 years ago
Michail Vourlakos 2a911d34b8 improve semantics for availableScreenRect
--improve the function to calculate the availableScreenRect
of a specific screen. Now the function accepts two arguments
specifing which visibility modes and locations(edges) are
going to be taken into account to calculate the
availableScreenRect.
7 years ago
Michail Vourlakos f7aac48599 fix #807,download window for Latte Layouts
--adds a Download option in layouts editor in order
to download layouts from store.kde.org
7 years ago
Michail Vourlakos afcdd1b726 hide docks animation when changing layouts 7 years ago
Michail Vourlakos 1d6c5f074f fix #816,add more task shortcuts
--added shortcuts for tasks 10-19
7 years ago
Michail Vourlakos da612fd8d9 ignore not used X11 changed events
--some windows are sending plenty windowChanged
events without Latte using them. We block them in
order to not trigger any Latte updates.
7 years ago
Michail Vourlakos d86fdfd2ff fix #810,support smart/dynamic background
the dynamic background feature is enhanced and
becomes smarter. It understands snapped windows, windows
that touch the panel edge etc. The criteria in
order for the background to become solid are:
   - any active window that is touching the panel
edge (that includes krunner)
   - any inactive window that is snapped and touches
the panel edge (concerning its geometry: quarter-snapped or half-snapped)
   - maximized windows
   - an inactive window but keepAbove is touching
the panel edge (this catches also the yakuake case)
   - panel popups
7 years ago
Michail Vourlakos 9dbee82a4a dont confuse lock files between different users 7 years ago
l10n daemon script cba49d22de GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos f1e4d455e6 import and load a layout from command line 7 years ago
Michail Vourlakos 9f16ef5d4e load specific layout on startup from command line 7 years ago
Michail Vourlakos d85138ebe4 exit from main when quiting 7 years ago
Michail Vourlakos a2948bf942 print available layouts from command line 7 years ago
Michail Vourlakos 2640a7e948 reload layouts if needed after default import 7 years ago
Michail Vourlakos 8d54dfd365 improve semantics/update translation string 7 years ago
Michail Vourlakos 0615dcf084 add --default-layout option for command line
--this option enables the user to load the default
layout from start.
7 years ago
Michail Vourlakos 3679c1c0cf load the default layout when cant find previous
--load the default layout when cant find the previous
layout for some reason. This means that something went
really wrong actually and the previous stored layout
doesnt exist anymore, at least with the same name
ised.
7 years ago
Michail Vourlakos 00032f9198 add shortcut to open layouts editor
--use Meta+E to open the layouts editor
7 years ago
Michail Vourlakos a31940a6fe fix for calculating panel reqion in !compositing
the mask region wasnt calculated correctly in some cases
after location changes. I think it might be a plasma
upstream bug/change but either way this patch fixes
it.
7 years ago
Michail Vourlakos 1d8eea28bb slidingIn/Out during locationChange signal 7 years ago
Michail Vourlakos 91ff26882e fix #784,ignore top/bottom auto-hide panels
--a bottom or top auto-hide panel is not considered
in the calculations for the availableScreenRegion
7 years ago
Michail Vourlakos 1c5cebda99 use activate signal for (not)expand
--for all neutral areas (such as spacers or
activate indicator spacers) the activate signal
in sent in order to activate an applet or
expand it / hide it...
7 years ago
l10n daemon script 9124eeb372 GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 1289c64480 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 9714b4df79 GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 98091d59e8 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos e0a3bd9f80 support nomad systray in Latte 7 years ago
Michail Vourlakos 69d5c1afa2 update panelshadows to plasma version 7 years ago
l10n daemon script 2d89f1c84e GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 5b1d35d25b fix #735,support shortcut to open Latte settngs
--the default shortcut is Meta+A but the user can
change it to whatever wants to from plasma systemsettings.
--the settings windows are show bases on priority.
Primary screen docks have higher priority and for the
edges the priority is: Bottom,Left,Top,Right
7 years ago
l10n daemon script 26a9f2ce61 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script b4da66e59b GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos c904236847 disable dock settings action shortcut
--the shortcut Alt+S,Alt+D is not working
correctly because it is reserved by the plasma
desktop. At first we disable it in order to see
if we can substitute it with another solution
7 years ago
Michail Vourlakos f05be59ee3 fix #767,use developers name directly in appstream 7 years ago
Michail Vourlakos 147529dd72 fixes for tasks spacers for multiple separators 7 years ago
Michail Vourlakos 83cd059309 remove no needed fake separator desktop file 7 years ago
l10n daemon script 451512192c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script ac0fa4e2e4 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 88108ac524 add option to debug timers
--this is especially useful in order to be sure that
there are timers that create unending loops
7 years ago
l10n daemon script 1fc4cd25cf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 0ce78cbcfa GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 70ae1c646e added debug messages in dockconfigview 7 years ago
l10n daemon script fff71ab3df SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 4c92097865 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 2e3139239e fix clang warnings
--improve readability of the build process when
using clang by fixing small things to not show
some warnings
7 years ago
l10n daemon script 70e3da83fb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script a831bfced0 GIT_SILENT made messages (after extraction) 7 years ago
Michail Vourlakos 1ec42498bd update screenshots in appstream file 7 years ago
Michail Vourlakos 152d245016 add missing include 7 years ago
l10n daemon script 1b126efb83 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script 487906bfd8 GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 11ac28b99c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
7 years ago
l10n daemon script cd9e0ae575 GIT_SILENT made messages (after extraction) 7 years ago
l10n daemon script 040f314ccb 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"
8 years ago
l10n daemon script f0993f77e8 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"
8 years ago
l10n daemon script 60a8259435 GIT_SILENT made messages (after extraction) 8 years ago
l10n daemon script be779e2674 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"
8 years ago
l10n daemon script a0b241085e GIT_SILENT made messages (after extraction) 8 years ago
l10n daemon script aaf8cc1d1a 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"
8 years ago
l10n daemon script cc7d8c259f GIT_SILENT made messages (after extraction) 8 years ago
l10n daemon script fbaef27a64 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"
8 years ago
l10n daemon script 1049e7e9ba GIT_SILENT made messages (after extraction) 8 years ago
Yuri Chornoivan fd1ae873c4 Fix minor typos 8 years ago
l10n daemon script d83bd1a3ad 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"
8 years ago
l10n daemon script 885976bb19 GIT_SILENT made messages (after extraction) 8 years ago
Yuri Chornoivan dbbd01abdc Fix minor typos 8 years ago
Michail Vourlakos 72950dc678 use kde translations infrastructure 8 years ago
Michail Vourlakos 7aa4f8a4bd fix #699,protect setupWayland from crashes 8 years ago
Michail Vourlakos dc851023c7 fix #695,fix version tag in desktop file 8 years ago
Michail Vourlakos 9f01b5fbdf add "New" button translation 8 years ago
Michail Vourlakos f3378acf9e add a "New" button in layouts manager 8 years ago
Michail Vourlakos 6385bf1da3 debug broken layouts by adding messages 8 years ago
Michail Vourlakos 6e48583971 add StartupWMClass in desktop file 8 years ago
Michail Vourlakos 07eacda2c7 fix #674,show correct menu for plasma taskmanagers
--when the right click menu is triggered the event should
also push to the applet for the plasma taskmanagers
8 years ago
Michail Vourlakos e4826d0907 dont make no needed calculations for dodge modes
--dodge modes now check in start if the dock contains
the mouse and thus dont make any other calculations
or calls to kwin if the dock contains the mouse
8 years ago
Michail Vourlakos f588e74549 fix #665,block false raiseDock for containsMouse
--as an example Firefox 55 triggers a windowChanged
event in every mouse movement. Thus the dock wasnt
appearing because it was sent a raideDock(false)
signal. Adding a containsMouse check for all dodgeModes
fixes this. A raiseDock(false) is never sent if
the dock containsMouse
8 years ago
Michail Vourlakos 8da7f7d3c9 v0.7 initial second stable release 8 years ago
Michail Vourlakos e89afafab2 fix #662,fix typo and auto-hide break behavior
--the check to disable blockHiding takes into account
if the config window is shown or not
--a small typo when going to !editMode was fixed
8 years ago
Michail Vourlakos 9a72f394ee fix crash,when alternatives shown + change layouts 8 years ago
Michail Vourlakos 14d7ae5d55 use new block hiding for activate/deactivate applets 8 years ago
Michail Vourlakos b91bc6cda2 expose alternatives only in edit mode 8 years ago
Michail Vourlakos f2ab6cbc9c block hiding when alternatives is shown 8 years ago
Michail Vourlakos b5b2e56ae4 remove deprecated code 8 years ago
Michail Vourlakos 95eb835922 fix #592,drop bash restarting use KCrash instead
--update the code to use KCrash for autostart
and drop the bash script
8 years ago
Michail Vourlakos 2d675e5d58 fix #592,add a crash checker to autostart Latte 8 years ago
Michail Vourlakos b5c0a4d2d0 simplify code 8 years ago
Michail Vourlakos a537572d42 fix #643,protect enabledBorders for InfoView 8 years ago
Michail Vourlakos 46e54c2e81 update screenGeometry correctly for dockview 8 years ago
Michail Vourlakos 5dc595a2cb move task instantly and then send extSignal to group 8 years ago
Michail Vourlakos eefbc5e9ec fix #636,new approach for Layout,Global launchers
--changed the design totally and use only signals
between plasmoid in order to update their models. This
way the launcherList from their tasksmodel should be
updated only on the initialization phase of the Latte
plasmoid. Afterwards signaling between them takes
place, in order to inform each other for adding,
removing launchers, moving them and assigning them
to activities
8 years ago
Michail Vourlakos 25dee2ecb9 unminimize layout config win when called 8 years ago
Michail Vourlakos 7d4344637c fix #635,never add primary dock over an explicit
--the addDock code now checks if at the primary screen
in the specific edge there is already assigned an explicit
dock. In that case it doesnt add that primary dock
8 years ago
Michail Vourlakos c154eae4c7 fix #634,load the dockWin flag after copy 8 years ago
Michail Vourlakos 76cd844dce select previous row after layout removal 8 years ago
Michail Vourlakos faa830c592 fix layout name on copy method
--switch current layout after saveAllChanges only when
we rename the current layout
8 years ago
Michail Vourlakos 6893ef9287 fix #627,remove empty values from desktop file
--some empty values in strings was breaking the translation
chain through the update-metadata script
8 years ago
Michail Vourlakos 6237d52c3d update buttons state in layouts window 8 years ago
Michail Vourlakos db0d084ed2 include all tasks plasmoids in heurestics
--during startup Latte checks if a tasks plasmoid
is going to be present (because of multi-screen settings).
Now these checks are also considering the case of
plasma taskmanagers
8 years ago
Michail Vourlakos a1fac1a29c remove deprecated code 8 years ago
Michail Vourlakos 26516b8d8c check specific for Latte Tasks Plasmoid 8 years ago
Michail Vourlakos 1b0b2a24b8 consider all taskmanagers in algorithms
--in the past only the Latte plasmoid was considered are
Tasks plasmoid
8 years ago
Michail Vourlakos 9a4e6d8cf5 update applets metadata files 8 years ago
Michail Vourlakos 14a674cd61 fix #572,support latte spacer 8 years ago
Michail Vourlakos 9d1dd08191 add a layout broken file check
--there are cases that a layout file can be broken because
there are containments having same applet ids. This
check informs the user for such layouts when the
layout manager is appearing
8 years ago
Michail Vourlakos 933f075dc5 add configure in the layouts context menu 8 years ago
Michail Vourlakos 262b3bd238 dont restore zoom when applet context menu shown 8 years ago
Michail Vourlakos b2df416e1b fix crash from infoview in wayland 8 years ago
Michail Vourlakos 7b8bb2fc73 fix copy dock method loading part
-- copy dock method wasnt using correctly the signals
and the methods from containments during first loading
the new copied containments. That could create crashes
if the user was trying to remove a copied dock directly
after used the copy method
8 years ago
Michail Vourlakos cc94677817 remove deprecated code 8 years ago
Michail Vourlakos ae39271c9f update timer interval for dynamic switching 8 years ago
Michail Vourlakos 23733837e5 update the infoview for wayland and multi-screen 8 years ago
Michail Vourlakos 3028076db2 add a special Latte info window / view
--it is used mainly for presenting a Latte specific
info window when changing dynamically layouts
8 years ago
Michail Vourlakos 3f90c61d53 include plasma taskmanagers in startup identify
--Latte when loading a layout tries to identify if based
on the docks settings there will be at least one dock
containing a tasks plasmoid. This code was extended in order
to identify also the plasma taskmanagers. One more improvement
is that this code now is executed also when dynamically
changing layouts
8 years ago
Michail Vourlakos dfe0a8e18f update translation strings, add greek 8 years ago
Michail Vourlakos 6f7a44c450 the user can disable the Latte Info window
--which is mainly used to inform the user for
a dynamic layout switching
8 years ago
Michail Vourlakos aed9452330 remove deprecated code 8 years ago
Michail Vourlakos 2d4aeaaf51 add info window for showing latte infos
--its main purpose is to inform the user that Latte
is dynamically switching layout
8 years ago
Michail Vourlakos 096a1fa4c7 fix #617, add a missing return statement 8 years ago
Michail Vourlakos 68a5223b47 fix #616,use unique ids for applets and containme 8 years ago
Michail Vourlakos d3b6ce0ac6 keep compatibility with qt5.7 8 years ago
Michail Vourlakos d4b2f3d15b update launchers based on group correctly
--this isnt the plasmoid part but the c++ and configuration
window one
8 years ago
Michail Vourlakos 111d004e47 add launchers in universal group also 8 years ago
Michail Vourlakos 35336983ac cleanup deprecated code for launchers
--launchers will be able to be chosen per Latte
plasmoid in the form of: Unique,Layout,Global
8 years ago
Johan Smith Agudelo Rodriguez 50f5402620 Using Check mark character instead of CheckBox for the table 8 years ago
Michail Vourlakos 0a53646847 send a notification when switching layouts dynamic 8 years ago
Michail Vourlakos ecf67a2a9d dynamic changing to layouts based on activities 8 years ago
Johan Smith Agudelo Rodriguez 9ecc961017 fix checkbox alignment 8 years ago
Michail Vourlakos 50636fcc0c improve semantics for columns references 8 years ago
Michail Vourlakos 93deb7d3cc add presets on startup 8 years ago
Michail Vourlakos b39dc2b72a support import v0.2 config files from layout manager 8 years ago
Michail Vourlakos 9f16814780 remove deprecated globalsettings 8 years ago
Michail Vourlakos f89f78b964 support import configuration from command line 8 years ago
Michail Vourlakos 5ecc9b2281 support import/export configurations 8 years ago
Michail Vourlakos 49fd921c2c hide the id column in layouts manager 8 years ago
Michail Vourlakos cdc5478b7b import correctly old layouts from old config files 8 years ago
Michail Vourlakos 858d975ea5 support import version 2 layout files 8 years ago
Michail Vourlakos 03cd1f1c8c provide correct naming for copied layouts 8 years ago
Michail Vourlakos 3e3d180794 show column names properly in layout manager 8 years ago
Michail Vourlakos ed6ca64c1f support restore Presets in layouts manager 8 years ago
Michail Vourlakos 23391e53f5 support copy method in layout manager 8 years ago
Michail Vourlakos eb6071a4d2 support removing layouts from layout manager 8 years ago
Michail Vourlakos 2958fb3cf6 support exporting layout 8 years ago
Michail Vourlakos 9195dafbc9 support renaming of active layout 8 years ago
Michail Vourlakos db7da1221a support renaming for not running layouts 8 years ago
Michail Vourlakos b6352c587d update menu layouts from the layouts window 8 years ago
Michail Vourlakos 252ca89725 update layout settings(color,menu,activities 8 years ago
Michail Vourlakos 532936637c make check to not conflict the layouts names 8 years ago
Michail Vourlakos 6e0335d6f2 in start disable Ok and Apply button in manager 8 years ago
Michail Vourlakos 8e628904eb set the path of layout as id for layoutSettings 8 years ago
Michail Vourlakos 41291aac98 fix switch mechanism of the layouts manager 8 years ago
Michail Vourlakos 20fe472378 improve visual for layouts tableview 8 years ago
Michail Vourlakos 5ff0e7af5b save layout window size to improve usability 8 years ago
Michail Vourlakos 85bd62acc6 hide rows number in layout manager 8 years ago
Michail Vourlakos e11d804898 improve checkbox layout in manager 8 years ago
Michail Vourlakos 4fefc56b43 stretch layouts tableview to window size 8 years ago
Michail Vourlakos 78b4eb798a restore menu checkbox behavior 8 years ago
Michail Vourlakos f28edd6d03 make activities combobox work properly
--activitiescmbbox in layout manager now shows always only
the available activities
8 years ago
Michail Vourlakos d8716f18a8 improve the Activities combobox behavior 8 years ago
Michail Vourlakos b48d1eb4ac improve layout switching in plasmoid and manager 8 years ago
Michail Vourlakos 0dfdd75746 drop QMultiComboBox for activities selection
--QMultiComboBox couldnt cooperate nicely with the
TableView, a different approach is needed. Probably
it is easier to just add a text indicator for the selected
activities
8 years ago
Michail Vourlakos 747fe2fd02 expose a QMultiComboBox for activities in layouts 8 years ago
Michail Vourlakos 5b10280500 expose activities properties through corona 8 years ago
Michail Vourlakos 9e213bfa00 improve layout for menu checkbox 8 years ago
Michail Vourlakos 3bbfeced5f provide correct color combobox in layouts manager 8 years ago
Michail Vourlakos 0762e57bab add functionality for the color combobox
--add more needed functionality for the color combobox.
set the current color correctly for the combobox.
8 years ago
Michail Vourlakos ef8e587672 create colorcombobox for layouts
--create a new delegate for the combobox of layouts
color
8 years ago
Michail Vourlakos a247170c61 add icons to layouts window buttons 8 years ago
Michail Vourlakos 7ac0f13c49 improve layouts window visual when selecting row 8 years ago
Michail Vourlakos 86bc896fa0 center checkboxes in layouts window 8 years ago
Michail Vourlakos 049e539c99 increase layouts window size 8 years ago
Michail Vourlakos fc8475c74a set translatable layouts window title 8 years ago
Michail Vourlakos 922dfb92c1 select row for current layout in layouts window 8 years ago
Michail Vourlakos f7558bb686 enable Switch button in the layouts window 8 years ago
Michail Vourlakos 38e5fca05f make bold the current layout 8 years ago
Michail Vourlakos a9f3f74c2d use checkboxes for show in menu in layouts win 8 years ago
Michail Vourlakos 674a9f62bf load true colors in the layouts config window 8 years ago
Michail Vourlakos 56d1341663 load layouts in layout window
-- this first commit just load the texts corresponding
to the layouts values
8 years ago
Michail Vourlakos b56d92383f remove deprecated functionality of sessions 8 years ago
Michail Vourlakos 116d817754 use layouts menu from dockview
--remove the old functionality for switching sessions
8 years ago
Michail Vourlakos 37c86079c0 expose menuLayouts from layoutManager
--create a list of layouts that have enabled
to be shown in menus
8 years ago
Michail Vourlakos 291288c765 add showInMenu and activities in layout 8 years ago
Michail Vourlakos eac9e649aa add Swich button, update text for configure layouts 8 years ago
Johan Smith Agudelo Rodriguez e069c0e71a Fix connections 8 years ago
Johan Smith Agudelo Rodriguez 0e87cb8907 LayoutConfigDialog moved into LayoutManager class 8 years ago
Johan Smith Agudelo Rodriguez 0b4dc7ce3e Adding layouts config dialog 8 years ago
Michail Vourlakos 569d9fe2d1 remove deprecated color(tan) and use brown instead
--update also the interval to switch layouts
8 years ago
Michail Vourlakos 02ec39fda2 fix a crash, add dockviews deletion in unload
--during changing layouts there were cases that Latte
would crash because between deleting containment and
triggering the event to delete the dockview, there was
a race condition. The dockview wasnt deleted and as
a consequence the libtaskmanager or kwindowsystem were
forwarding events to them
8 years ago
Michail Vourlakos fee7761d85 update correctly the importing procedure
--there were some issues with the use of LayoutSettings
in places that we shouldnt use it. LayoutSettings now
is used to load only layouts with version>=2
8 years ago
Michail Vourlakos 2cbc68ea4b set purple color for Alternative imported layout 8 years ago
Michail Vourlakos 432db753fc support a color palette for the layouts 8 years ago
Michail Vourlakos e591add025 move autostart functionality to universalSettings 8 years ago
Michail Vourlakos fc0e0f2d50 fix creation of Alternative Layout 8 years ago
Michail Vourlakos 21a51ba4b3 fix typos 8 years ago
Michail Vourlakos c0288893ae init correctly Latte with new architecture 8 years ago
Michail Vourlakos 75f3b1d4d2 update layouts to new architecture
--the config window now exposes only the
confirmed layouts and can update its layout
accordingly
8 years ago
Michail Vourlakos 9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
8 years ago
Michail Vourlakos 673c398d32 add currentLayout into the layoutManager 8 years ago
Michail Vourlakos f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
8 years ago
Michail Vourlakos 14e61b3a59 update currentLayout,create Alternative if !exists 8 years ago
Michail Vourlakos 0889d2224d cleanup unload() corona function 8 years ago
Michail Vourlakos badcaa5474 fix a crash when changing layouts/old sessions
--when changing layouts/old sessions from the Latte Tasks
Context menu, Latte was crashing very often. Add the switching
code into a Timer to make its execution asynchronoushly
8 years ago
Michail Vourlakos f30c9056b3 support Alternative switching for new architecture 8 years ago
Michail Vourlakos b15e919bab remove all the session functionality
--the session functionality is not removed only from
globalsettings class which is just waiting to be removed
tottaly when its functionality moves to the new classes
8 years ago
Michail Vourlakos 091295126d support loading for the new architecture 8 years ago
Michail Vourlakos 2d22b2c243 import screens from old configuration files 8 years ago
Michail Vourlakos 942d3b04db prepare loading layouts correctly 8 years ago
Michail Vourlakos 35a8f607b8 update universal settings correctly
--update exposeLayoutsMenu correctly from the
Importer
--cleanup universal settings file on exit
8 years ago
Michail Vourlakos db08a09bbf Importer importes the containments correctly 8 years ago
Michail Vourlakos 1a9ea88bc8 add LayoutSettings class and expose classes 8 years ago
Michail Vourlakos 0b8316e296 add presets for the new architecture 8 years ago
Michail Vourlakos b35501012e update new classes descriptions 8 years ago
Michail Vourlakos 06ddef8506 cnew architectures classes,add missing licenses 8 years ago
Michail Vourlakos 720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
8 years ago
Michail Vourlakos 67d1f1d4f9 fix #565,full dynamic reload the layout
--the new layout is loaded without closing
Latte and with properly loading globalSettings
and screen from the layout file. The layout
new files are updated when Latte is closing
8 years ago
Michail Vourlakos b417ae52c3 support dynamic layouts loading 8 years ago
Michail Vourlakos c72f7f4531 fix #573,improve the primary docks behavior
--users reported that when activating an external screen
as primary and at the same time disabling the original
screen e.g. the laptop one, latte wasnt showing docks at
all. This could also occur on startup. This commit
fixes this and improves more the multi-screen code in
various corner cases
8 years ago
Johan Smith Agudelo Rodriguez d467815aa8 fix recursive call 8 years ago
Johan Smith Agudelo Rodriguez e4a9232e94 [Wayland] Fixed crash when config window is hiding 8 years ago
Johan Smith Agudelo Rodriguez c77ba179fe fix #568, [Wayland] Dodge modes do not ignore the plasma desktop 8 years ago
Johan Smith Agudelo Rodriguez a32236932a Unnecessarily long enum 8 years ago
Johan Smith Agudelo Rodriguez a2e4397d03 renaming and add noexcept to lambdas 8 years ago
Johan Smith Agudelo Rodriguez 6b52cc894a Include moc file 8 years ago
Johan Smith Agudelo Rodriguez 5667d31385 #569, AlwaysVisible is functional 8 years ago
Michail Vourlakos c0daf7dd68 add debug messages for destructions 8 years ago
Michail Vourlakos bc262d7b00 fix typo and trigger signal 8 years ago
Johan Smith Agudelo Rodriguez 1e8fc4a739 Wait for ContainmentView destruction 8 years ago
Johan Smith Agudelo Rodriguez ae3c856346 keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez c4e01f428f keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez 6892e96769 keeping compatibility with gcc 4.8 8 years ago
Johan Smith Agudelo Rodriguez cb9fadbcbd keeping compatibility with gcc 4.8 8 years ago
Michail Vourlakos 0bd90b8fd2 improve recreate dock implementation
--the new implementation possibly fixes two crashes
that could occur occasionaly. First it is ensured
that the new dock in created after the old one has been
removed. We also use directly the containment instead
of using a reference for it which could create a crash
in some cases. One more fix, setting dock visible to false
had no reason as long as it is going to be deleted either
way.
8 years ago
Michail Vourlakos 69c28eff7a fix #537,reenable show() on dock creation
--this code has been checked to not break both
wayland with plasma 5.10 and x11
8 years ago
Michail Vourlakos a1a1f56749 disable messages from dockview when deleting it 8 years ago
Michail Vourlakos 5e1d851888 delay the recreation of a dock
--when recreating a dock it might be a good idea
to delay a bit in order to give to the config
window the time to delete itself
8 years ago
Michail Vourlakos f6b9e35eb7 fix crash from surfacedestroyed signal 8 years ago
Michail Vourlakos d825e2dda4 add more protections on deleting a dock
--these protections could reduce crashes on
dock deletions
8 years ago
Michail Vourlakos 9e74ce95a2 fix crash when changing to default session
--this was a rare crash when changing to default
session from the alternative one through the context
menu of the Tasks plasmoid there was a crash sometimes
8 years ago
Michail Vourlakos 4b8f3a4b33 fix #559,fix wayland crashesm show/hide configview 8 years ago
Michail Vourlakos 7181341913 fix #517,restore qt5.9 focusOut behavior 8 years ago
Johan Smith Agudelo Rodriguez f5607f87e2 AlwaysVisible Not yet implemented 8 years ago
Johan Smith Agudelo Rodriguez b7f9ad5685 Fix #558, Dodge all windows and activities 8 years ago
Johan Smith Agudelo Rodriguez de4f05fe9c added include guard 8 years ago
Johan Smith Agudelo Rodriguez a3fb857081 Default behavior, WindowsGoBelow 8 years ago
Johan Smith Agudelo Rodriguez a6bcc53aad Cleaning up a bit before implementing always visible 8 years ago
Johan Smith Agudelo Rodriguez 42885005b2 DodgeAllWindows is functional 8 years ago
Johan Smith Agudelo Rodriguez 35c44a6918 DodgeMaximized is functional 8 years ago
Johan Smith Agudelo Rodriguez 44d85a4905 WARNING: Assertion failed in wayland 8 years ago
Johan Smith Agudelo Rodriguez a41710b155 DodgeActive is functional 8 years ago
Johan Smith Agudelo Rodriguez a02fe1322e waylandinterface implemented 8 years ago
Johan Smith Agudelo Rodriguez 2040ac3063 abstractwindowinterface now is based over an variant class type 8 years ago
Michail Vourlakos 111d59e1c5 fix crash with qt5.9 and wayland
--the show() function of a wayland surface shouldnt
be called before the surface is created. In other case
in qt 5.9 creates a crash
8 years ago
Michail Vourlakos ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
8 years ago
Michail Vourlakos cf86fddeec fix #537,properly set copy location in multi-scr 8 years ago
Michail Vourlakos f18047a43e fix #556,remove single dock from secondary screen 8 years ago
Michail Vourlakos 480570bab2 fix #555,correct -1px struts calculations 8 years ago
Michail Vourlakos ce7bf51145 disable background effect when having transparency 8 years ago
Michail Vourlakos d544549d2c fix #553,reenable shortcuts for plasma taskmanager 8 years ago
Michail Vourlakos 1554af6f16 pass boundingRect to background Contrast effect
--fix the strange line at the bottom of the dock
when using the Breeze themes
8 years ago
Michail Vourlakos aa9e730422 fix #539,update autostart to new desktop file 8 years ago
Michail Vourlakos 9ccf9978be update docksCount on screen changes 8 years ago
Michail Vourlakos a05785e34b differentiate dockNo perScreen and total
--improve the signaling between the configuration window
and the dockview concerning freeEdges for current screens
and docks count. Now the docks counting is different
between screens and in general
8 years ago
Michail Vourlakos 97b3c4f854 update algorithms for docksCount,freeEdges
--the new algorithms are using QScreen* values
from dockviews instead of the containment screen()
which can not be trusted at the first minutes
of a dock creation
8 years ago
Michail Vourlakos 973cc935fc always set explicit screen on copy method 8 years ago
Johan Smith Agudelo Rodriguez a409d761b7 fix #527, Dock dodges maximized window on different screen. 8 years ago
Michail Vourlakos 6a480d4311 remove debug message 8 years ago
Michail Vourlakos c8878792bb fix #532,dont allow to add a second Tasks plasmoid 8 years ago
Michail Vourlakos 5eb63a3cbc move new copied dock to explicit screen
--if the new copied dock is on a multi-screen
environment the algorithm adds it in the first
available alternative screen that has the same
edge free
8 years ago
Michail Vourlakos 2078cb1cb2 support copyDock correctly from corona
--the code copies the containment configuration
and also if there is a systray in it
8 years ago
Michail Vourlakos b0ebfdbe4f first approach to copy a dock 8 years ago
Michail Vourlakos c7ad6463d7 always copy current dock launchers to global ones
--when the user activate the syncLaunchers choice the
current dock launchers are copied as global launchers
8 years ago
Michail Vourlakos be83d54339 fix #521,support syncing launchers for all docks
--this commit is the last for this to be supported.
It checks if the globalLauncherList is empty and in
such case when syncing is enabled the current dock
launchers are used
8 years ago
Michail Vourlakos 2ec210bf48 support globalLaunchers for alternative session 8 years ago
Michail Vourlakos cf7b820e2e sync launchers correctly between docks,def session 8 years ago
Michail Vourlakos 7627d30a1c make dock mask null when behaveAsPlasmaPanel
--this way the pop ups from widgets are placed
much better
8 years ago
Michail Vourlakos 3b0f46760a hide tasks numbers on wayland 8 years ago
Michail Vourlakos 8e006b54f6 create dock wayland surface earlier
--doing so fixes a wrong loading issue that
was creating shadows for secondary, third dock
and losing also the focus out event to close
the configuration windows
8 years ago
Michail Vourlakos eb2387c581 fix configuration window positioning and issues
--draw the wayland surfaces for docks and config
views earlier. That way we are certain that the
signals wont mess up the experience. This way
positioning config views and getting the focusOut
event works correctly
--disable in waylandinterface any x specific code.
In order to be ready that class to accept only
wayland centered code
8 years ago
Michail Vourlakos 575ff06a66 support window placement in wayland!!! :) 8 years ago
Michail Vourlakos 048acbfb71 initial commit for waylandinterface
--support wayland painting without init crashes
--the wayland interface is just the xwindow one
masked as an wayland interface
8 years ago
Michail Vourlakos ee6c831b01 fix #510,support correctly global shortcuts
--in X11 now the globalshortcuts class takes into
account if the user presses any modifier in order
to hide the dock
--if the dock is hidden whenever a relevant global
shortcut is triggered the dock is shown and number
indicators for the tasks are shown
8 years ago
Michail Vourlakos 1b025826ee identify if the user released modifiers
--the global shortcut class now identify if the user
has release the shortcuts modifiers and then release
the dock to hide. The code was found first in the
plasma activity switcher
8 years ago
Michail Vourlakos d54fc5b436 add Meta+` shortcut and fix animation behavior
--the isHidden flag shouldnt be set from visibilitymanager,
it is only the qml responsibility
8 years ago
Michail Vourlakos 4de9ea1e7e add globalshortcuts class to improve semantics
--the globalshortcuts class contains all the relevant
code and includes also some functions that were used
from corona to trigger changes into the Latte Tasks
plasmoid
8 years ago
Michail Vourlakos 4381384d20 add deleteLater instead of delete for dockView 8 years ago
Michail Vourlakos 8f9772f46a init qml from kde frameworks 8 years ago
Michail Vourlakos d223e23291 protect from closing on changing sessions
--disable quiting the app when there are no windows
shown. There are cases that between states some
windows may not exist. E.g. when changing sessions
and when activating/deactivating screens
8 years ago
Michail Vourlakos b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
8 years ago
Michail Vourlakos 50f8091601 fix a bug of not showing external shadows
--this occured with all new backOnlyOnMaximized
windows choice
8 years ago
Michail Vourlakos 49d8b145d2 fixes for showBackOnlyOnMaximized design
--improve applets shadows, now the shadows used
are using the backgroundColor when a transparent
panel is forced
--identify better when shadows should be drawn
8 years ago
Michail Vourlakos 8fe5e7ed00 fix #183,#465, add workaround for grabItem issue
--after Qt 5.8 the way the ungrabMouseItem works
has changed this introduced a bug:
http://bugreports.qt.io/browse/QTBUG-59044
plasma devs found a solution for this, that this
commit provides. The issue occurs when a user
right clicks (creates a context menu) and to
release it, he clicks in alternative area
outside the QuickWindow that created the previous
contextmenu
8 years ago
Michail Vourlakos 9d213a6e83 support clicking event for all fakeIconItem area 8 years ago
Michail Vourlakos 87e1d1cd2f update translation scripts to include metainfo
--update translation scripts to include translatable
metadata for the appstream file. new dependencies for
the scripts are:
 - xmlstarlet
 - itstool

--added also greek translation for the appstream file
8 years ago
Michail Vourlakos cb5e7a8307 fix #447,add an appstream file for Latte 8 years ago
Michail Vourlakos 86855e03cb update metadata desktop file to new guidelines
--update the desktop file naming in order to comply with
new guidelines. Concerning also wayland. The new desktop
file is named to org.kde.latte-dock.desktop
8 years ago
Michail Vourlakos b1c0131600 fix parenthesis typo
--by using clang an issue with a paranthesis
logical statement was discovered. this commit
fixes the logic in that statement
8 years ago
Michail Vourlakos 721001ecc4 fix grow/shrink of behaveAsPlasmaPanel dock behave 8 years ago
Michail Vourlakos d1cb29b716 fix #444,use m_drawShadows for external shadows 8 years ago
Michail Vourlakos 7d3458d45c support behaveAsPlasmaPanel in the dockview 8 years ago
Michail Vourlakos df9edc5754 fix #441,expose add widgets action in context menu 8 years ago
Michail Vourlakos a8c6e2f342 disable debug message for dbus calls 8 years ago
Michail Vourlakos bd9021a412 fix #432,signal update struts on dock screenchange 8 years ago
Johan Smith Agudelo Rodriguez dee8ebcf8b update ever the struts the dock 8 years ago
Michail Vourlakos 92f214d552 support removing internal tasks separator 8 years ago
Michail Vourlakos 6bb14547e5 first implementation for tasks internal separator 8 years ago
Michail Vourlakos 7bbade8b28 fix, adding default layouts in user ones history 8 years ago
Michail Vourlakos 837207d21a remove separator from layouts
--signal to initialize the layouts
combobox when the user does not accept
to load a layout
8 years ago
Johan Smith Agudelo Rodriguez fb3bff6dce fix message box 8 years ago
Michail Vourlakos 7821a52ca5 remove no needed m_ghostWidget 8 years ago
Michail Vourlakos 883750267a add external config file and support presets
--this patch adds an external config file in
order to store the user layouts. Adds also in
the globalSettings the layouts mechanism
--todo: the confirmation dialog is not working
correctly for some reason. It doesnt return
the accept value and on the exec() function
is crashing
8 years ago
Michail Vourlakos 884c12d980 first part of functional layouts 8 years ago
Michail Vourlakos bcdbe40c51 fix #419,autostart option is not default
--the commit the records the user the first time
it changes the autostart option to false. When
this happens then latte is not recreating the
autostart file when starting
8 years ago
Michail Vourlakos 2ef64f4ab3 fix #411,deactivate applets when show previews 8 years ago
Michail Vourlakos df0da77083 fix #420,include spacers in applets geometry calcs
--this way the right click we always take into account
the visual appearance space that latte provides for it
and not the applets internal geometry. So now spacers
also are considered as applet area
8 years ago
Michail Vourlakos 26d5ba4a64 fix #415,disable ByPass flag by default 8 years ago
Michail Vourlakos 738dc50fff Merge branch 'v0.6' into master 8 years ago
Michail Vourlakos 597c457b9b fix #385,load font through QFontDatabase 8 years ago
Michail Vourlakos 4f030849f0 expose through dbus updateBadge for dock items
--apps can sent through dbus and identificator
e.g. "kmail" and a value for unread mails e.g.2
Latte afterwards will update that specific badger
8 years ago
Michail Vourlakos b034e748bb fix #365,support shortcuts to activate tasks
--this patch supports activation through shortcuts
--Meta+number, activates the relevant task, for
groups by default it activates the next available
window in the group
--Meta+Ctrl+number, create a new instance for that task
or launcher
--the user should know that must first enable these
shortcuts at plasma global shortcuts configuration
window
8 years ago
Michail Vourlakos 31ee8ed4db fix #362,"Remove Tasks" option in Tweaks page
--the user no is able to remove the Latte plasmoid
from the Tweaks page
8 years ago
Michail Vourlakos 2a2565eac5 Merge branch 'v0.6' into master 8 years ago
Michail Vourlakos 33a7176b7f remove clearing cache
--this code was suspicious for crashes
8 years ago
Johan Smith Agudelo Rodriguez 64891bcabd delete dockconfigview when the dock is recreated 8 years ago
Johan Smith Agudelo Rodriguez df69c3838b fix possible race condition with qDebug 8 years ago
Johan Smith Agudelo Rodriguez adf82df246 fix #355, Request for new visibility policy: Windows Go Below 8 years ago
Michail Vourlakos b088015616 use offset when drawing shadows external 8 years ago
Michail Vourlakos 510974c3ff fix #356,expose offset in the dockview
--this patch updates borders correctly based
also on the offset variable
--fixes the calculations for offset and panel
background positioning
8 years ago
Michail Vourlakos 7173d12625 return correct screen geometry from corona
--signal triggering for screenGeometryChanged(id)
can not be added yet as it is not plasma 5.8
compatible
8 years ago
Johan Smith Agudelo Rodriguez 46fe322b35 fix #358, [Crash] - recreating dock for AlwaysVisible mode
If I overrride the method event I should call to implementation parent, however VisibilityManagerPrivate is triggered from view and VisibilityManagerPriavte is not owner of QEvent
8 years ago
Johan Smith Agudelo Rodriguez 0e15b27596 fix no return in nonvoid function 8 years ago
Johan Smith Agudelo Rodriguez a5eb5c6a47 force visibility in startup if user is configuring 8 years ago
Johan Smith Agudelo Rodriguez 78187b463d restore last beahavior for mode() 8 years ago
Johan Smith Agudelo Rodriguez 39be0782ff fix crash when the user change the session 8 years ago
Johan Smith Agudelo Rodriguez d991380e34 update list of contributors 8 years ago
Johan Smith Agudelo Rodriguez ab3acd35d9 reorder members 8 years ago
Johan Smith Agudelo Rodriguez 21321fb16c fix #344, edit mode still active when I change the session 8 years ago
Johan Smith Agudelo Rodriguez 8420245102 fix #330, visibility mode and options
Visibility doesn't load when switch to session
8 years ago
Michail Vourlakos 761f088ea6 fix #331,set onAllDesktops early in the process
--the delay during creating dockview and setting
its dock window flags from visibilitymanager creates
a situation that the window manager temporary creates
a normal window with no special flags for the docks
8 years ago
Michail Vourlakos 2af10514ed fix,restore adding docks in alternative session 8 years ago
Johan Smith Agudelo Rodriguez f04519b967 fix #330, visibility mode and options 8 years ago
Johan Smith Agudelo Rodriguez b32eb28b88 fix wrong name 8 years ago
Johan Smith Agudelo Rodriguez 78d30ea508 DodgeMaximized receives some of love
DodgeMaximized now also dodges windows with a size greater than or equal to the screen
8 years ago
Johan Smith Agudelo Rodriguez b407efb557 various fixes to WindowInfoWrap 8 years ago
Johan Smith Agudelo Rodriguez e6374da532 added support for windows with shade state and improving WindowInfoWrap 8 years ago
Johan Smith Agudelo Rodriguez 90b7d00d6e fix #316, Exporting settings - Adding a dot in the filename 8 years ago
Johan Smith Agudelo Rodriguez 76a2065d91 unused dependence 8 years ago
Michail Vourlakos 9529fe8a3c fix adding dock at the bottom when shouldnt
--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
8 years ago
Johan Smith Agudelo Rodriguez f794d5c60c fix #308, Always visible option does not work for side-set dock on unusual multi screen setup 8 years ago
Michail Vourlakos 9258871e44 update strings
--update greek translation
8 years ago
Michail Vourlakos 307a5e30ea update translation strings 8 years ago
Johan Smith Agudelo Rodriguez 2c472843f7 fix id event 8 years ago
Johan Smith Agudelo Rodriguez acfca18184 update CMakeLists.txt 8 years ago
Johan Smith Agudelo Rodriguez 78a441ed96 notications for the operations of import/export 8 years ago
Johan Smith Agudelo Rodriguez fba31fc9f6 feature #205, backup and restore 8 years ago
Johan Smith Agudelo Rodriguez 9a4be16fe4 new dependences: KArchive and KNotifications 8 years ago
Johan Smith Agudelo Rodriguez 664bedb839 unused member 8 years ago
Johan Smith Agudelo Rodriguez 80f2199774 fix assertion when id is -1 8 years ago
Michail Vourlakos 241999579b fix #292,workaround for KF5.32 empty mask
--in KF5.32 FrameSvg returns many times a mask
that is an empty QRegion(). this patch makes
sure that at least our rectangular metrics
for masks and effectsarea are used instead.
Of course this means that themes with rounded
corners dont look as they should in !compositing
state
8 years ago
Michail Vourlakos 610e0d6a74 fix #285,expanded to false for applets
--when changing session all the applets from
the previous session should hide their
expanded options
8 years ago
Michail Vourlakos d8410ff235 fix #277,use normal dock window from tweaks
-- with this setting the user can disable
the BypassWindowManagerHint flag for specific
docks
8 years ago
Michail Vourlakos f371ea2a45 fix #275,top dock gains priority for AlwaysVisible
--the other docks must be also AlwaysVisible in order
for the top dock to be above them...
8 years ago
Michail Vourlakos df760a909a move currentSession code in globalSettings 8 years ago
Michail Vourlakos bb7235879b move autostart code in globalSettings 8 years ago
Michail Vourlakos e57d525824 create globalsettings for corona
--first all the code concerning exposeAltSession
is moved in it and in the future also the autostart
and currentSession can follow. This will improve
both dockview and configview
8 years ago
Michail Vourlakos 7b060c22a5 fix #272,expose alternative session in menu 8 years ago
Michail Vourlakos c0eaeca09c add effectArea in DebugWindow
--export correctly the drawEffects variable
8 years ago
Michail Vourlakos a4ee035c93 fix #270,enable blur for panel background
--the user can habe blur and background contrast
effects in all cases for the panel and can
also choose the behavior from Tweaks page
8 years ago
Johan Smith Agudelo Rodriguez ecbd2c99bc fix #256, Dodging/Layering Issues 8 years ago
Johan Smith Agudelo Rodriguez b6d31316a9 fix move constructor 8 years ago
Johan Smith Agudelo Rodriguez 7657fb036f avoid copies of winfowrap 8 years ago
Michail Vourlakos 3542a3e66c restore availableScreenRect behavior
--when an id is sent that is not contained
at stored screens then the primary screen
geometry is used instead
8 years ago
Michail Vourlakos fa2da5ceb1 fix #257,crash alternative session & !compositing 8 years ago
Johan Smith Agudelo Rodriguez 784710e6d2 include unused 8 years ago
Johan Smith Agudelo Rodriguez 26756143f1 fix assertion if id is -1 8 years ago
Johan Smith Agudelo Rodriguez f6a73d4b69 fix crash deleting visibilityManager 8 years ago
Johan Smith Agudelo Rodriguez 5226b6adce code formatted 8 years ago
Johan Smith Agudelo Rodriguez ac18a88e60 Merged branch master into master 8 years ago
Johan Smith Agudelo Rodriguez 0375e15d0a close config window before close latte 8 years ago
Michail Vourlakos c61c14e9be improve panel painting for disabled compositing 8 years ago
Johan Smith Agudelo Rodriguez af8f844bc6 Only visibilityManager can call mustBeHide/Shown 8 years ago
Johan Smith Agudelo Rodriguez a014eadd40 avoid hide the dock when blockHiding is active 8 years ago
Johan Smith Agudelo Rodriguez 095dc50f1e fix restore connfig for raiseOnDesktop/ActivityChange 8 years ago
Michail Vourlakos 1618a7bd5d temporary raise timer double to hide timer
--it is also bound between values 1800 and 3000
8 years ago
Johan Smith Agudelo Rodriguez a00c584f37 update hidden state when change the activity 8 years ago
Johan Smith Agudelo Rodriguez 2b5974ef43 restoring compatibility for plasma 5.8 8 years ago
Johan Smith Agudelo Rodriguez da800a11a8 fix assertion over debug message 8 years ago
Johan Smith Agudelo Rodriguez fb16fee66b fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 8 years ago
Johan Smith Agudelo Rodriguez e26f316e67 implicit conversion 8 years ago
Michail Vourlakos 059a778765 fix #235,set icon for docks differently
--for some reason the icon name returned from
the metadata of corona is empty.This gets
the windowIcon set for the application.
8 years ago
Michail Vourlakos 97e57550bf fix #102,show apps menu with Super key
--this needs from the user side to add
in the .config/kwinrc

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu
8 years ago
Michail Vourlakos c29cc37cda improve alternative layout appearance
--use a purpleprint fot the editing mode
in order to distinguish it from the default
session
8 years ago
Michail Vourlakos 4ea4a903fd fix #152,support an alternative session
-- On The Road was renamed at Alternative
Session and more improvements to the code
were added
8 years ago
Michail Vourlakos 45e95788ed fix #152,add On The Road session
--the user is able to change into another
session/profile called "On The Road" for
which can set up its docks and applets
differently according to its needs. For
example hide its name, status, place
living etc.
8 years ago
Michail Vourlakos 38f9d0d7e0 fix #224,add option to add spacers applets 8 years ago
Michail Vourlakos 32f2ebc8e0 improve proportion icon size with automatic icon
--when dock is changing screens and dock is using
an automatic calculated icon size based on contents
the automatic icon size must be recalculated for the
new proportion icon size
8 years ago
Michail Vourlakos 70e3c2bb7a expose dockview local geometry to qml 8 years ago
Michail Vourlakos 13325ca022 fix #238,disable/enable raise dock temporary 8 years ago
Michail Vourlakos 1a04ff968d fix #233,support autostart through tweaks page 8 years ago
Michail Vourlakos b8ce37d4c3 fix #198,recreate windows when it is needed
--in order for a dock to be above KeepAbove
windows must contain flag BypassWindowManagerHint.
Unfortunately this flag breaks the experience with
AlwaysVisible state especially the struts and
snapping behavior. This patch recreates a
dockView when a mode is changed and an
update for the flags is needed.
--at the same time move the localGeometry to
dockView in order to trigger properly the
updateAbsGeometry when it is needed, on
window's geometry changes not only when there
is local geometry change
--when a dock is created through corona, the
addDock function reads the mode which is going
to be used and specifys this way the flags that
have to be set during docks creation
8 years ago
Michail Vourlakos 417f0012bd disable debug message for shadows 8 years ago
Michail Vourlakos 329ba8b6ff fix #126, improve behavior for auto positioning
--support also an edge case where a top and left dock
overlap each other but there is also a free space in them.
This case hasnt been taken into account into the previous
implementation
8 years ago
Michail Vourlakos f3dbd30ec1 signals to update free area
--more specific when the normalThickness or
shadow size are changed
8 years ago
Michail Vourlakos b2b4517ba8 fix crash from quit of configuration window 8 years ago
Michail Vourlakos ead7892551 fix #194,the user can enable a solid background
--this is especial useful for plasma themes with big
transparency. Latte can not support blur and background
contrast kwin effects for panel backgrounds that are drawn
inside its qml side.
8 years ago
Michail Vourlakos 70c83d8b83 support blur/background contrast effects
--support these effects for docks that draw
their shadows externally with the window
server
8 years ago
Michail Vourlakos 2a8bd25e0e compute availableScreenRect only once
--this commit reduces into half the calculations
needed from the vertical docks in order to position
themselves based on horizontal docks. More specific
it makes the QRegion calculations only once for
each dock instead of two times
8 years ago
Michail Vourlakos 0b2bebfbd8 protect dock removal in some cases
--forbid removal of the last running dock with
tasks in it
--forbid removal of the last tasks plasmoid from
running docks
8 years ago
Michail Vourlakos 0f7df07ef1 remove no return error 8 years ago
Michail Vourlakos 6010638094 support overlap dock cases by using free space
--this commit uses free region from corona instead
of free rectangle in order to calculate size and
positioning for the docks. This way is possible to
be positioned more intelligently.
8 years ago
Michail Vourlakos d2e8dd7881 fix #218,reenable garbage collect and trim cache
--the clear component cache was disabled because on
exit it creates crashes when 2 and more docks are
running
8 years ago
Michail Vourlakos c510c74cc5 fix #214, comment new multi-screen behavior
--refer to last 6-7 commits that contain this new
multi-screen behavior
--the new multi-screen behavior becomes more intelligent.
Latte trys to never let you without a dock containing
tasks plasmoid. It trys to do that intelligently not
depending on how many docks you have registered and if
they are set to explicit or primary ones
8 years ago
Michail Vourlakos fbf8cd3802 disable debug messages 8 years ago
Michail Vourlakos 81dfa36cef set a timer for sync docks screens
--add debuging message
8 years ago
Michail Vourlakos 2e54a90eef fix right edge positioning
--do not load primary screen when the specific
edge is occupied in the primary screen
8 years ago
Michail Vourlakos 5421b976fa remove on primary docks on special cases
--primary docks are removed when their edge is
occupied in the new primary screen and their
current screen is destroyed. Also they are added
when the screen edge is available
8 years ago
Michail Vourlakos 74770a9f37 dock containing tasks is protected in multi-screen
--the last dock containing tasks can not be removed
automatic by Latte based on screens heuristics
--on startup Latte checks if a dock containing tasks
will be loaded based on screens associated. If it
doesnt it loads the first dock containing tasks and
puts it on primary screen and setting also its flag
to onPrimary
--on the configuration window when a dock changes from
explicit to primary screen by latte automation the
record of the previous screen is shown correctly
8 years ago
Michail Vourlakos 07d68dd636 fix typo for LeftEdge
--this was breaking the AlwaysVisible experience
for Left docks
8 years ago
Michail Vourlakos 5962cbc9bb stop timer on exit 8 years ago
Michail Vourlakos 6214318e09 change primary dock screen when relevant edge freed 8 years ago
Michail Vourlakos 38e3446db9 do not allow a primary dock overlap an explicit 8 years ago
Michail Vourlakos 52c8673aad semantic improvements 8 years ago
Michail Vourlakos 2385e593d2 fix screen choosing from configuration window
--the check for the screen if it has the specific
edge free added some small bugs
8 years ago
Michail Vourlakos 18f57f51fd block screen change when edge is occupied
--unfortunately this contains also white spaces
fixes. Sorry for this but by implementing multi-screen
the laptop wasnt correctly configured for
astyle and whitespaces
8 years ago
Michail Vourlakos 0bef60838a disable flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos de30d48f72 remove configuration window on hiding 8 years ago
Michail Vourlakos 5f5cfbad35 fix #208,crash on exit through quit button 8 years ago
Michail Vourlakos 17d2626443 fix whitespaces 8 years ago
Johan Smith Agudelo Rodriguez d2b5487abd fix #198, flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos c72e62a5d0 fix #12,multi-screen support
--this commit is just a small clean up that
acts as a reference for all the previous
10-12 commits that provide the new anticipated
multi-screen support. With multi-screen support
the user can set for its docks either to be always
on the primary screen or an explicit one... The
docks are loaded and removed automatically on
screen changes
8 years ago
Johan Smith Agudelo Rodriguez 2f419e6eab fix restore config 8 years ago
Michail Vourlakos b88170caaa support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 3b3c6a0f47 drop dock primary screen behavior from plasma
--this cleans the plasma behavior for the
primary screen that was creating a mess.
The dock "on primary" state can now be implemented
through Latte without breaking things
8 years ago
Michail Vourlakos 03fc80439a fixes for plasma behavior and screens ids
--there are cases that screens instead of returning
correct screen names the return names like
"0:0". These are totally ignored in order to not
break the screen ids database
8 years ago
Michail Vourlakos 14b72f49e6 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
8 years ago
Michail Vourlakos 8aa5021645 update screens in config window in each show event 8 years ago
Michail Vourlakos f791f0b209 fix config window positioning in multi-screens 8 years ago
Michail Vourlakos f46848e039 add screen information into debug window 8 years ago
Michail Vourlakos 9259a28cde improvements to add/remove docks on screen demand 8 years ago
Michail Vourlakos 8a7bb2942c add basic multi screen support
--the user can change the dock's screen
from the configuration window... Optimizations
must be made of course in the future...
8 years ago
Michail Vourlakos c468353407 fix #116, update screen in screengeometry changes
--when the screengeometry was called the dockview screen
hadnt changed to primaryscreen, that had as a
consequence the dock to go to the primary screen
but because that was out of the boundaries of
its own screen to return again to first place
8 years ago
Michail Vourlakos d4da25e2e6 add a screen pool for multi-screens 8 years ago
Johan Smith Agudelo Rodriguez 0e728b558d punctuation marks. 8 years ago
Johan Smith Agudelo Rodriguez 1ba8a62e07 remove property debugFlags of DockView 8 years ago
Johan Smith Agudelo Rodriguez 445cf91791 unused function 8 years ago
Johan Smith Agudelo Rodriguez fbf5808667 update commandline options 8 years ago
Johan Smith Agudelo Rodriguez 2b4bbd20f2 fix memory leak 8 years ago
Johan Smith Agudelo Rodriguez 75d4b71216 #199, AbstractWindowInterface is now a shared resource 8 years ago
Michail Vourlakos 0a50e76bf6 disable debug messages 8 years ago
Michail Vourlakos a38dd1d91e disable debug message 8 years ago
Michail Vourlakos 4c0a97348c disable debug messages, fix masking positioning 8 years ago
Michail Vourlakos b7c42a5365 mouse events debug messages 8 years ago
Michail Vourlakos 55f88360c2 Revert "block dock hiding when alternatives are shown"
This reverts commit ddd1a57875.
8 years ago
Michail Vourlakos a430d85119 block dock hiding when alternatives are shown 8 years ago
Michail Vourlakos b4885ceee4 remove no needed app/latte-dock.desktop 8 years ago
Johan Smith Agudelo Rodriguez bb407d94c1 various fixes, and added metainfo to latte-dock.desktop.template 8 years ago
Michail Vourlakos ab1cc5f87c fix #171,use lock file instead of QSharedMemory
-- this way the lock is per user and crashing Latte
allows us to rerun it properly
8 years ago
Michail Vourlakos f9797aa06c fix #172, disable hidpi scaling
--fix for hidpi screens based on plasma
official code
8 years ago
Michail Vourlakos 03fb457af6 fix #171,allow only one instance for Latte app 8 years ago
Michail Vourlakos 81b36dc91e improve when dock can hide itself
--when an applet becomes activated then the dock
shouldnt hide itself until the applet to become
inactive
8 years ago
Johan Smith Agudelo Rodriguez 1677e2a041 Improving readability of CMakeLists 8 years ago
Johan Smith Agudelo Rodriguez 0d325f827f fix #48, Support Alternatives from the Context Menu 8 years ago
Johan Smith Agudelo Rodriguez dd12817a24 added alternativeshelper class from plasma 8 years ago
Johan Smith Agudelo Rodriguez c17732cf17 fix #164, Dodge Active is broken for windows on all desktops 8 years ago
Michail Vourlakos 827bde86d4 fix #116, remove QueuedConnection 8 years ago
Michail Vourlakos 65a2367fd6 fix #116, endless showing loop at startup
--in a multi-screen environment that
 primary screen is not set to 0 it was
 created an endless showing loop at
 startup (catch-up race) between
 screen:0 and primaryScreen
8 years ago
Michail Vourlakos 4579fcff46 protect crashes from containment() in dockview 8 years ago
Johan Smith Agudelo Rodriguez ec3721a591 fix #139, Un-hide Latte at desktop and activity changes 8 years ago
Michail Vourlakos 3ab252339c fix #116,add protections in multi-screen 8 years ago
Johan Smith Agudelo Rodriguez 988ffdae35 fix position when external shadows is enable 8 years ago
Johan Smith Agudelo Rodriguez 0592ba3aaf avoid overlaping 8 years ago
Johan Smith Agudelo Rodriguez 8c820073f0 fix narrow casts 8 years ago
Johan Smith Agudelo Rodriguez b8cbf694f7 fix #133, dodge active window when switching desktop 8 years ago
Johan Smith Agudelo Rodriguez 8ac85c53a6 fix #141, dodge decoration 8 years ago
Johan Smith Agudelo Rodriguez a13957e59b fix #136, load visibility with a timer in startup 8 years ago
Johan Smith Agudelo Rodriguez 5b1d5b79bd fix #136, clean autoHidden 8 years ago
Michail Vourlakos 0476a85aab fix #155,fix availableScreenRect of latte corona
--this is based on the plasma implementation
8 years ago
Michail Vourlakos 46087059ac fix #42,latte icon shown correctly in ksysguard
--shell metadata file was missing the icon, this
fixes also the configuration window icon
8 years ago
Michail Vourlakos b717a714f5 fix #154,crash on screenGeometry change
--strange thing is that the code producing
this was very weird. From the user's backtrace
syntax: if(!screen())
and more specific at updateEnabledBorders() of
dockview was creating the crash.
replacing it with syntax:
if (!this->screen())
fixes the issue
8 years ago
Michail Vourlakos 6dd4aa9982 fix, publish correct borders
--this fix publish the correct panel borders
that should be drawn according to alignment
and location. Improves also PanelBox heurestics
and should be also any shadows issues
8 years ago
Johan Smith Agudelo Rodriguez 073c3cae3f update requirements for devel packages 8 years ago
Johan Smith Agudelo Rodriguez 500e9d7110 added website to about dialog 8 years ago
Johan Smith Agudelo Rodriguez dbb22f0038 initWindow() has not been defined 8 years ago
Johan Smith Agudelo Rodriguez 57797c51f5 add shadows to config window 8 years ago
Johan Smith Agudelo Rodriguez 6e37702a95 cleaning CMakeLists.txt 8 years ago
Michail Vourlakos 09629b774b support drawing panel shadows outside dock window
--this is set by default only in case of Always Visible,
zoom factor 1.0, Justify alignment and maximum panel
thickness
8 years ago
Michail Vourlakos f9a2226457 prevent dockview crashes because screen in not set 8 years ago
Michail Vourlakos 41e79cf188 support debug flags from the runtime
--the user is able to set some additional
debug flags in --debug state by just executing
the application.

supported flags:
--with-window: provides a separate window
to show metrics from each separate dock
--graphics: visual indicator for the various
elements
--mask: additional debug messages concerning
mask calculations
8 years ago
Johan Smith Agudelo Rodriguez caa8d6e6dc Indent too long lines 8 years ago
Johan Smith Agudelo Rodriguez 9b30106101 Update credits 8 years ago
Johan Smith Agudelo Rodriguez 9a3c15d0b5 sync po files 8 years ago
Johan Smith Agudelo Rodriguez c6cdba4adc italian translation moved to po/ 8 years ago
JenaPlinsky 70d791fcc9 Create it.po 8 years ago
Michail Vourlakos c8c14cbe80 more improvements for calculations
--various improvements for calculations for panel size,
shadows calculations, configuration window showing
metrics
8 years ago
Michail Vourlakos dbe18e2ed6 update app description in about dialog 8 years ago
Michail Vourlakos 84de2ad1e4 remove maxLength from dockview 8 years ago
Johan Smith Agudelo Rodriguez fedb872e4a Merge branch 'master' into about-dialog 8 years ago
Johan Smith Agudelo Rodriguez 2e8fe37fd2 #98, added about dialog 8 years ago
Michail Vourlakos a9e23e24dc update translations strings 8 years ago
Michail Vourlakos 9c3e8f891c fix occusional crash from right click triggering 8 years ago
Michail Vourlakos 90b95f65ac fix #94,--debug must be set for debugging messages 8 years ago
Michail Vourlakos ca97e6d486 disable more debug messages 8 years ago
Michail Vourlakos 72baaa8809 fix #93,masking updated correctly on config win
--this can be tested by opening the configuration window
through the tasks. Even though a task is zoomed when
triggering the configuration window the animations
do not break afterwards
8 years ago
Michail Vourlakos 5a390e95b3 fix #96, fix right click for systray 8 years ago
Michail Vourlakos 254ad13536 small fixes with new right click menu
--this fixes right click in zoom factor area
for latte plasmoid and right click in containment
areas that dont have an applet
8 years ago
Michail Vourlakos 585cb154b7 improve systray and make it part latte experience
--improve right click behavior for systray and make it
behave according to latte experience
8 years ago
Michail Vourlakos 03eb69a618 simplify appletItems discovery for right click
--the containment becomes independent from dockView.
The appletItems which are needed in order to show
the context menu correctly are discovered from dockView
without any need of functionality from containment
8 years ago
Johan Smith Agudelo Rodriguez 8c1ac52ac1 removed NET::WM2WindowClass property 8 years ago
Johan Smith Agudelo Rodriguez 91f9ca280d fix #80, Dock do not dodge Spotify 8 years ago
Michail Vourlakos 13fa35c99a fix #75, improve loadLayout on startup
--loadLayout is called only once and when
the activities service is in ready state
8 years ago
Michail Vourlakos fd40ef7f4d update locations when dock changes location
--updates the available locations in the configuration
window when any dock updates its location
8 years ago
Michail Vourlakos 2c0e536cf9 remove old applets config from active containments 8 years ago
Michail Vourlakos 2d2c7875e7 fix some qml warnings on dock removal 8 years ago
Johan Smith Agudelo Rodriguez 72bd7a0af8 fix #85, removing Dock crashes Latte 8 years ago
Johan Smith Agudelo Rodriguez 05163c2911 code cleaned 8 years ago
Johan Smith Agudelo Rodriguez 9cb5b44b93 master merged on audoban2 8 years ago
Michail Vourlakos 5b1d152dc9 fix #84,closing Latte cleans config file
--when Latte is closing removes all entries for
containments that are obsolete
8 years ago
Johan Smith Agudelo Rodriguez 3a627a8d65 Free resources for dockview 8 years ago
Johan Smith Agudelo Rodriguez 17b48b6eea rename Latte's configuration files #81 8 years ago
Michail Vourlakos af74c952ef fix two serious crashes from config window
--first is inside the freeEdges function call
on destruction
--the second is also in the app's destruction
because of the call to a destructed containment
through m_containment. This variable was deleted
8 years ago
Johan Smith Agudelo Rodriguez 6da8142351 disconnect all the signals in the destruction 8 years ago
Johan Smith Agudelo Rodriguez c42250d9bb avoid white spaces with astyle 8 years ago
Johan Smith Agudelo Rodriguez 2307efd4c4 clean up code #79 8 years ago
Michail Vourlakos 0f658a1e54 fix #76, add waiting dock views
--add m_waitingDockViews which are waiting
for removal confirmation. Using destroyedChanged
signal from containments in order to support
the behavior
--improve freeEdges code based on
the docksCount implementation
8 years ago
Michail Vourlakos 66ce546141 update greek translation
--removed also a no needed string
8 years ago
Michail Vourlakos d641ec0b33 fix #54,dock is shown when applet needs attention 8 years ago
Johan Smith Agudelo Rodriguez e3aac94824 permit always update dockRect variable 8 years ago
Johan Smith Agudelo Rodriguez 401e85ad8e dont update struts when the user is configuring #25 8 years ago
Johan Smith Agudelo Rodriguez 4ea00588e9 timer unnecessary 8 years ago
Michail Vourlakos abf84a1d1e restore previous behavior
--fixed local dock geometry updating in editing
mode. Now in runtime the struts are updating
correctly
8 years ago
Michail Vourlakos 3f2847b467 disable update struts on userConfiguring state 8 years ago
Michail Vourlakos 25f901cdee fix two crashes
-- one private slot was missing, right clicking
was creating a crash because of this sometimes
-- removing a second or third created dock was
causing a crash because visibilitymanager wasnt
removed in sync and correctly from the dockview
8 years ago
Michail Vourlakos a74fe28c18 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
8 years ago
Johan Smith Agudelo Rodriguez f844f91ac2 unnecessary sync 8 years ago
Johan Smith Agudelo Rodriguez 5d59cfb01c better debug info 8 years ago
Johan Smith Agudelo Rodriguez 44bdd5a90b code formatted 8 years ago
Johan Smith Agudelo Rodriguez dd7009e96e reduced number of calls to syncGeometry 8 years ago
Johan Smith Agudelo Rodriguez 60f6f8d942 update dockconfig view 8 years ago
Johan Smith Agudelo Rodriguez 03eeb6074d update geometry just when is necessary 8 years ago
Johan Smith Agudelo Rodriguez 2cb031ee50 improve auto sync geometry, and cleaning code unused 8 years ago
Johan Smith Agudelo Rodriguez 417f6f9e38 reorder members 8 years ago
Johan Smith Agudelo Rodriguez 77917920fd set on all activities #52 8 years ago
Michail Vourlakos c831f3f8c6 fix #25, set dock's geometry correctly 8 years ago
Michail Vourlakos 456612d7fd set show/hide timers default values 8 years ago
Michail Vourlakos 7896919736 move iconitem from app to plugin 8 years ago
Michail Vourlakos dd091b6569 restore layouts in main config window
--the latest fix for the configuration window placement
does not need to drop the clean implementation with
layouts
8 years ago
Michail Vourlakos 1ffa4e9ab4 fix correct placement of config window in startup 8 years ago
Michail Vourlakos 52d64b561c restore the init functionality 8 years ago
Michail Vourlakos fba9d62ee2 fix #50, update config window location
--fix also some crashes concerning the existence
of multiple config windows from different docks.
8 years ago
Michail Vourlakos 8fa6225cdb fix #24, probably fixed
--opening configuration window all the time and
I havent found a case that this is not shown yet
8 years ago
Johan Smith Agudelo Rodriguez 34772cdc21 resync geometry for avoids that config ui covers the dock #38 8 years ago
Johan Smith Agudelo Rodriguez 134a3e7015 fixed missing window icon #42 8 years ago
Michail Vourlakos df084b1783 fix #13,corona should load layout a bit later
--corona should load its layout after the activities
consumer is ready. Otherwise all the functionality
concerning activities may not work correctly on its
first initialization
8 years ago
Michail Vourlakos a857b18271 remove no needed functionality from dockview 8 years ago
Michail Vourlakos e8fec7eea4 remove unneeded code 8 years ago
Michail Vourlakos 9ea5959cb6 fix #41, a crash when a dock was removed
--removing connections on xwindowinterface destructor
--removing connections on dockview destructor
--remove xwindowinterface that was created from
visibilitymanager in its destructor
8 years ago
Michail Vourlakos 377a3d4420 remove visibilitymanager on dockview destruction 8 years ago
Michail Vourlakos cb0ed85dc2 improve configuration window
--expose quit action
--hide remove action when only one dock exists
--udpate edges when a new dock is added
--connect the destroyed event of containment in order
to remove also the dockview
--remove correctly the dockviews in the application
exit
8 years ago
Michail Vourlakos ba4837d47b restore compatibility with KF 5.26 8 years ago
Michail Vourlakos daa6e1b7bc add a separator for latte config entry 8 years ago
Michail Vourlakos f4201a8a71 improve menu behavior and appearance 8 years ago
Michail Vourlakos 83e0a7564a fix #6
--override default contextmenu behavior
--clean up old code
8 years ago
Michail Vourlakos 9259ee3bc3 remove no needed containment actions 8 years ago
Johan Smith Agudelo Rodriguez 802beedd39 Less debug information. 8 years ago
Johan Smith Agudelo Rodriguez e9436d568c Dock shouldnt hide on userConfiguring state #32 8 years ago
Johan Smith Agudelo Rodriguez d5f3553ffc Info debugging generates useless backtrace 8 years ago
Michail Vourlakos 63739ac77b support sticker for configuration window 8 years ago
Johan Smith Agudelo Rodriguez cec5d62702 Drag events managed from VisibilityManager #37 #21 8 years ago
Johan Smith Agudelo Rodriguez 47c715f6a7 dons't build, pluginmetadata is deprecated 8 years ago
Johan Smith Agudelo Rodriguez d6f9450d87 Fixed show and hide timers. #33 8 years ago
Michail Vourlakos 9878ee65d1 fix some hiding issues on userConfiguring state 8 years ago
Johan Smith Agudelo Rodriguez 45c9710ed0 Respect to the original authors 8 years ago
Johan Smith Agudelo Rodriguez fe146aaa90 Missing file licences #34 8 years ago
Michail Vourlakos f90c4deff2 hide Tasks config if plasmoid not present 8 years ago
Michail Vourlakos 4152535e51 expose dock settings into tasks plasmoid 8 years ago
Johan Smith Agudelo Rodriguez 8e4b4f36bc added blockHiding property on visibilitymanager 8 years ago
Johan Smith Agudelo Rodriguez a4699e9230 Fixed initialization #17 and improved all modes #19 8 years ago
Johan Smith Agudelo Rodriguez f49ab516a4 project has been cleaned 8 years ago
Johan Smith Agudelo Rodriguez 84eacf3cbf code formatted 8 years ago
Johan Smith Agudelo Rodriguez 51c26126a3 update CMakeLists and removed unused dependences 8 years ago
Johan Smith Agudelo Rodriguez 2f2a3f7a22 more abstraction 8 years ago
Johan Smith Agudelo Rodriguez 4adbfc41f9 nowdockconfigview removed 8 years ago
Johan Smith Agudelo Rodriguez 6cc1cca371 various fixes and more cleaning 8 years ago
Johan Smith Agudelo Rodriguez 290c5d43d1 dockpackage renamed 8 years ago
Johan Smith Agudelo Rodriguez 7fc5aa55f6 files and class renamed 8 years ago
Johan Smith Agudelo Rodriguez 146f9e3a14 file mode +x 8 years ago
Johan Smith Agudelo Rodriguez d3cec8bd26 fixed wrong condition. 8 years ago
Johan Smith Agudelo Rodriguez da6c9c5f46 notify timer changes 8 years ago
Johan Smith Agudelo Rodriguez 8f4f3fe60e Merge branch 'master'
Conflicts:
	app/nowdockcorona.cpp
	app/visibilitymanager.cpp
	app/visibilitymanager.h
	app/xwindowinterface.cpp
8 years ago
Johan Smith Agudelo Rodriguez 4f16376338 Fixed mode on startup 8 years ago
Michail Vourlakos 4bc7a45474 restore previous functionality for QEvent:Leave 8 years ago
Michail Vourlakos 7af3b6e620 support DodgeActive
--add localDockGeometry to be used for the
intersect situation
8 years ago
Michail Vourlakos 9cd16c5cda fix #16, systemtray working ok
--calculate freeedges even when screen=-1 is passed,
such a case is on the creation of a containment
8 years ago
Michail Vourlakos 02a0aa8de4 disable hiding on !immutable 8 years ago
Michail Vourlakos df08a92d0e support new visibilitymanager in ui
-- small fixes in visibilitymanager and removed
some whitespaces also
8 years ago
Johan Smith Agudelo Rodriguez 4c10939484 if mode is DodgeMaximized, only dodge active window 8 years ago
Johan Smith Agudelo Rodriguez 530c489ef9 code formatted 8 years ago
Johan Smith Agudelo Rodriguez 335e473a64 class inserts into namespace Latte 8 years ago
Johan Smith Agudelo Rodriguez 35aafde5b0 fixed signatures 8 years ago
Johan Smith Agudelo Rodriguez 948b03a357 Visibility manager has been implemented, but need integration on qml 8 years ago
Johan Smith Agudelo Rodriguez 9ad00b2354 the inline function cause build errors, removed for now 8 years ago
Johan Smith Agudelo Rodriguez aa10cda7f7 include guard 8 years ago
Johan Smith Agudelo Rodriguez 1d5dcbf014 static method for get a instance of abstractwindowinterface
NOTE: WaylandWindowInterface has not been implemented
8 years ago
Johan Smith Agudelo Rodriguez 45347200cd update signatures on abstractwindowinterface.h 8 years ago
Johan Smith Agudelo Rodriguez c2e7e3db9b FakeTarget moved to app/ 8 years ago
Johan Smith Agudelo Rodriguez b65a97d92a formatted 8 years ago
Johan Smith Agudelo Rodriguez 206f115e01 const correctness and namespace 8 years ago
Johan Smith Agudelo Rodriguez b5a5d9759f added class visibilitymanagerprivate to implement visibility 8 years ago
Johan Smith Agudelo Rodriguez 9debe8dbb3 added methods to reserve screen space 8 years ago
Johan Smith Agudelo Rodriguez 2c6ab968bd corona/ has been renamed to app/ 8 years ago
Johan Smith Agudelo Rodriguez 333f1e506c some methods were missing. 8 years ago
Johan Smith Agudelo Rodriguez 1b468a02e1 XWindowInterface has been implemented 8 years ago
Johan Smith Agudelo Rodriguez ed9870b624 The new interface as we agreed.
also VisibilityManager will perform the logic of the visibility as it corresponds through a class d-pointer using AbstractWindowInterface.
8 years ago
Johan Smith Agudelo Rodriguez 08bfa47709 abstractinterface was renamed to abstractwindowinterface and cleaned
AbstractWindowInterface will hide windows details.
8 years ago
Johan Smith Agudelo Rodriguez 9aa43f14b0 fixed, screenForContainment 8 years ago
Johan Smith Agudelo Rodriguez d7ca91728a New tentative interface 8 years ago
Johan Smith Agudelo Rodriguez 0abb5ab83e if mode is DodgeMaximized, only dodge active window 8 years ago
Johan Smith Agudelo Rodriguez c022ed38c4 code formatted 8 years ago
Johan Smith Agudelo Rodriguez 39bd509c51 class inserts into namespace Latte 8 years ago
Johan Smith Agudelo Rodriguez a6fc7667aa fixed signatures 8 years ago
Johan Smith Agudelo Rodriguez 0735a73cac Visibility manager has been implemented, but need integration on qml 8 years ago
Johan Smith Agudelo Rodriguez 40888f827c the inline function cause build errors, removed for now 8 years ago
Johan Smith Agudelo Rodriguez c6f7f68bd0 include guard 8 years ago
Johan Smith Agudelo Rodriguez 3fb63d4d78 static method for get a instance of abstractwindowinterface
NOTE: WaylandWindowInterface has not been implemented
8 years ago
Johan Smith Agudelo Rodriguez 454ebfff50 update signatures on abstractwindowinterface.h 8 years ago
Johan Smith Agudelo Rodriguez 6291e55260 FakeTarget moved to app/ 8 years ago
Michail Vourlakos 8cef095116 fix #9, edge priority bottom,left,top,right
-- disable add dock if all edges are reserved
in the current screen
8 years ago
Michail Vourlakos 94f0584436 lock edges that are reserved
--show only one configuration window every time
in case there are more docks set
8 years ago
Michail Vourlakos 066977d550 Merge branch 'master' of https://github.com/psifidotos/Latte-Dock into master2 8 years ago
Michail Vourlakos 973c6c2536 restore Double Layout functionality 8 years ago
Johan Smith Agudelo Rodriguez 552e35963f formatted 8 years ago
Johan Smith Agudelo Rodriguez 1fe1049332 const correctness and namespace 8 years ago
Johan Smith Agudelo Rodriguez 84a5b5473a added class visibilitymanagerprivate to implement visibility 8 years ago
Johan Smith Agudelo Rodriguez ca9eb7d8fa removed old abstractinterface 8 years ago
Johan Smith Agudelo Rodriguez e161dc2d37 added methods to reserve screen space 8 years ago
Johan Smith Agudelo Rodriguez a29378943b corona/ has been renamed to app/ 8 years ago
Johan Smith Agudelo Rodriguez 0eeb93e6c9 Fixed broken build. 8 years ago
Michail Vourlakos 7efa867126 fix #8, block dockview creation for systray 8 years ago
Michail Vourlakos 6b1ff92463 improve settings window behavior onlostfocus
-- and fix a crash from immutabilityChanged from
settings window
8 years ago
Michail Vourlakos dce9e76049 systemtray issue first approach 8 years ago
Michail Vourlakos 2a9ee6d2d9 renamed nowdock plasmoid to latte one 8 years ago
Michail Vourlakos 01b14c01e8 Merge branch 'scratch' 8 years ago
Michail Vourlakos a357d05392 moved corona to app directory 8 years ago