Commit Graph

277 Commits (8e17e58f24c7d6f56ce46d4e0061ebfb4aa0111b)

Author SHA1 Message Date
Michail Vourlakos f4ac1436f4 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 b3ef5e307f fix typo for LeftEdge
--this was breaking the AlwaysVisible experience
for Left docks
8 years ago
Michail Vourlakos 6e36df193e stop timer on exit 8 years ago
Michail Vourlakos 56fa7ac937 change primary dock screen when relevant edge freed 8 years ago
Michail Vourlakos c88320566e do not allow a primary dock overlap an explicit 8 years ago
Michail Vourlakos f830dd32a9 semantic improvements 8 years ago
Michail Vourlakos eea03ab0c7 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 1140108963 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 82ace8ccec disable flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos f6bfb7926f remove configuration window on hiding 8 years ago
Michail Vourlakos 1bac4f6899 fix #208,crash on exit through quit button 8 years ago
Michail Vourlakos 6842ab1692 fix whitespaces 8 years ago
audoban b66f12d32a fix #198, flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos dc14c8e2d2 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
audoban 66eeb5114c fix restore config 8 years ago
Michail Vourlakos 2da927e0b2 support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 5f77ef3b41 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 a2f2d3b8c7 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 455f794be7 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
8 years ago
Michail Vourlakos 55f04b2515 update screens in config window in each show event 8 years ago
Michail Vourlakos 206faf579b fix config window positioning in multi-screens 8 years ago
Michail Vourlakos 587c476e67 add screen information into debug window 8 years ago
Michail Vourlakos 74bc9bac85 improvements to add/remove docks on screen demand 8 years ago
Michail Vourlakos ea6149bc08 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 cea1cc7e9e 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 a6b8ecc4b8 add a screen pool for multi-screens 8 years ago
audoban d555eacb13 punctuation marks. 8 years ago
audoban fcabf6ffcd remove property debugFlags of DockView 8 years ago
audoban 69d91b60d5 unused function 8 years ago
audoban 351817aacf update commandline options 8 years ago
audoban 7728fdb495 fix memory leak 8 years ago
audoban a12ce7d3ab #199, AbstractWindowInterface is now a shared resource 8 years ago
Michail Vourlakos e0913f8f88 disable debug messages 8 years ago
Michail Vourlakos 063f1151eb disable debug message 8 years ago
Michail Vourlakos 5a9bf31d36 disable debug messages, fix masking positioning 8 years ago
Michail Vourlakos 5f4eefb302 mouse events debug messages 8 years ago
Michail Vourlakos 2ad515bbef Revert "block dock hiding when alternatives are shown"
This reverts commit ddd1a57875.
8 years ago
Michail Vourlakos ddd1a57875 block dock hiding when alternatives are shown 8 years ago
Michail Vourlakos b72176af35 remove no needed app/latte-dock.desktop 8 years ago
audoban 011de0d4b2 various fixes, and added metainfo to latte-dock.desktop.template 8 years ago
Michail Vourlakos a34adf5990 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 0692521fd4 fix #172, disable hidpi scaling
--fix for hidpi screens based on plasma
official code
8 years ago
Michail Vourlakos 068cfa3fe8 fix #171,allow only one instance for Latte app 8 years ago
Michail Vourlakos a6fee025c1 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
audoban 4c0054cc30 Improving readability of CMakeLists 8 years ago
audoban 2780a12520 fix #48, Support Alternatives from the Context Menu 8 years ago
audoban 37ef27e470 added alternativeshelper class from plasma 8 years ago
audoban 70d884ba4e fix #164, Dodge Active is broken for windows on all desktops 8 years ago
Michail Vourlakos a2210ba68a fix #116, remove QueuedConnection 8 years ago
Michail Vourlakos 620f7ca317 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 4b40f3ab88 protect crashes from containment() in dockview 8 years ago
audoban 05ee731d4b fix #139, Un-hide Latte at desktop and activity changes 8 years ago
Michail Vourlakos e93fa6b2c6 fix #116,add protections in multi-screen 8 years ago
audoban ea2e6b6ff0 fix position when external shadows is enable 8 years ago
audoban e9221f8719 avoid overlaping 8 years ago
audoban 67e2440aa3 fix narrow casts 8 years ago
audoban 3ca6a7d096 fix #133, dodge active window when switching desktop 8 years ago
audoban 2e3595779f fix #141, dodge decoration 8 years ago
audoban d7298ff58c fix #136, load visibility with a timer in startup 8 years ago
audoban 425f16e97f fix #136, clean autoHidden 8 years ago
Michail Vourlakos f9fe1206a5 fix #155,fix availableScreenRect of latte corona
--this is based on the plasma implementation
8 years ago
Michail Vourlakos be69cbe597 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 954638c7f7 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 aafffb421f 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
audoban 498adb921a update requirements for devel packages 8 years ago
audoban 0c7c65106b added website to about dialog 8 years ago
audoban 1184bf4422 initWindow() has not been defined 8 years ago
audoban 2106155e18 add shadows to config window 8 years ago
audoban c7bad29032 cleaning CMakeLists.txt 8 years ago
Michail Vourlakos c87acab814 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 7ada723a28 prevent dockview crashes because screen in not set 8 years ago
Michail Vourlakos da989d3d85 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
audoban 86fa812662 Indent too long lines 8 years ago
audoban b311de494f Update credits 8 years ago
audoban e71376d45a sync po files 8 years ago
audoban 79fc7af29c italian translation moved to po/ 8 years ago
JenaPlinsky de6ef52cc6 Create it.po 8 years ago
Michail Vourlakos 25f4de2f5c more improvements for calculations
--various improvements for calculations for panel size,
shadows calculations, configuration window showing
metrics
8 years ago
Michail Vourlakos 2f5404ce9c update app description in about dialog 8 years ago
Michail Vourlakos 68e1eef27b remove maxLength from dockview 8 years ago
audoban b397576ed9 Merge branch 'master' into about-dialog 8 years ago
audoban 68d2fcf475 #98, added about dialog 8 years ago
Michail Vourlakos bf25c9c5c8 update translations strings 8 years ago
Michail Vourlakos 26d5d519de fix occusional crash from right click triggering 8 years ago
Michail Vourlakos bd54e3e8aa fix #94,--debug must be set for debugging messages 8 years ago
Michail Vourlakos d12cb8190f disable more debug messages 8 years ago
Michail Vourlakos f91f9f26ce 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 06ef3a0cb8 fix #96, fix right click for systray 8 years ago
Michail Vourlakos a4ad58a1e8 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 43460b67bf 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 a90c7012f1 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
audoban c22d7ae1c2 removed NET::WM2WindowClass property 8 years ago
audoban d2c8ddf426 fix #80, Dock do not dodge Spotify 8 years ago
Michail Vourlakos 43434926c1 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 56226b3dc5 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 0e7d8a18e0 remove old applets config from active containments 8 years ago
Michail Vourlakos 6a2dc9a797 fix some qml warnings on dock removal 8 years ago
audoban 5ab037a22a fix #85, removing Dock crashes Latte 8 years ago
audoban 280a6b4891 code cleaned 8 years ago
audoban 24dd5cd379 master merged on audoban2 8 years ago