Commit Graph

95 Commits (b2f1f98b5729fabdb00512ff0c90ffcbf44c12fd)

Author SHA1 Message Date
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 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 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
Michail Vourlakos 568ccd6e26 localization strings improvements 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 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 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 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
Michail Vourlakos 7954ce5d52 update Activites correctly for orphaned layouts 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
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 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 82e77f7b23 more improvements to containmentactions 7 years ago
Michail Vourlakos 474c7a3970 slide-out docks on closing 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
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 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 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 4212d57ca7 enable global shortcuts for universal settings 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 8fb12bdbcf improvements to new Latte config window 7 years ago
Michail Vourlakos be0f9dc0ba remember the last used activity per layout 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 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
Yuri Chornoivan de5bc5eb91 Fix minor typos 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 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 a37036b6eb support Activities setting for InfoView 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 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