Commit Graph

331 Commits (6a2dc9a7976d4f370701ac3f35388bae98d40e6c)
 

Author SHA1 Message Date
audoban 34f9bcf636 resync geometry for avoids that config ui covers the dock
audoban a1152fd43a file unnecessary
audoban d96548e305 fixed add and remove dock
audoban 38b0c236b2 fixed wrong height
audoban d1dfaa5e27 fixed lock reserved edges
audoban 0f7e41ab7e config ui simplified
audoban 4ab37d33ed fixed missing window icon
Smith AR 2b74c3a939 Merge pull request from 0140454/master
Include necessary header file for std::abs
Michail Vourlakos e848e6ed14 fix a crash with right click
--when an applet was first added through
drag n' drop if afterwards a right click
event occured then a crash happened... This
fixes this and also properly removing the
AppletQuickItem from dockview. So this fixes
two crashes concerning the right click event
Michail Vourlakos b510fdcdb5 clean plasmoid zoom in spesific cases
--fixes a small issue when hovering applets too
fast sometimes the tasks inside the plasmoid
didnt catch up to restore their zoom
0140454 2e6964ce69 Include necessary header file for std::abs
While compiling Latte-Dock, i got the following error:

/data/latte-dock/src/latte-dock-git/app/iconitem.cpp:393:46:   required from here
/data/latte-dock/src/latte-dock-git/app/../liblattedock/extras.h:69:20: error: call of overloaded ‘abs(double)’ is ambiguous
     return std::abs(x - y) < std::numeric_limits<T>::epsilon() *
     std::abs(x + y) * ulp

In order to solve this error, i have to include `cmath`.
Michail Vourlakos dce87f13a6 fix binding loop in config from pages
Michail Vourlakos 0bad949e92 basic support for no compositingActive
--this commit supports disabled compositing
but enabled for the dock a pseudo-AlwaysVisible
state in such case occurs. All hiding signals
are ignored
Michail Vourlakos c899ac9023 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
Michail Vourlakos ecf5139396 remove startup timers from containment
Michail Vourlakos 36ba1e7e86 remove no needed functionality from dockview
Smith AR a0f4bcfb82 Merge pull request from mateushonorato/patch-1
Change CMAKE_CXX_STANDARD from 11 to 14
mateushonorato 63422463cf Change CMAKE_CXX_STANDARD from 11 to 14
I was getting the following error when trying to compile and install:
/home/mateus/Latte-Dock/app/iconitem.cpp: In member function ‘void Latte::IconItem::setSource(const QVariant&)’:
/home/mateus/Latte-Dock/app/iconitem.cpp:98:29: error: ‘make_unique’ is not a member of ‘std’
                 m_svgIcon = std::make_unique<Plasma::Svg>(this);

So, changing the CMAKE_CXX_STANDARD from 11 to 14 solved this, since make_unique is a C++14 feature.
Michail Vourlakos 9fdd44830f cleanup shell translations
--shell translations are not used in reality,
only the apps one. This will solve any confusion
around where are the translation strings
Michail Vourlakos 6111a9c61e ui,do not allow hiding when containsMouse
--or blockHiding as second step protection
Michail Vourlakos 1494ac710a add icons for buttons in Bahavior Config Page
Michail Vourlakos 145f79c7be update translation strings and greek translation
Michail Vourlakos 18b8b5ca30 remove unneeded code
Michail Vourlakos 2b5c43a541 fix , 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
Michail Vourlakos b813b071f7 fix #31,theme shadows used in normal state masking
Michail Vourlakos b3a42c147f fix tasks dragging and menu showing in AutoHide
--restore the signaling that the ui needed from the
tasks plasmoid to not hide the dock during dragging
and contextmenu showing
Michail Vourlakos c46c722bad remove visibilitymanager on dockview destruction
Michail Vourlakos 8fdd94bc28 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
Michail Vourlakos 783654d07e restore compatibility with KF 5.26
Michail Vourlakos de90ff3392 add a separator for latte config entry
Michail Vourlakos 5f5a05a66e improve menu behavior and appearance
Michail Vourlakos 06b8461c05 fix
--override default contextmenu behavior
--clean up old code
Michail Vourlakos e8794f989c remove no needed containment actions
Michail Vourlakos 2fa2f74880 add a ScrollArea in configuration window
Michail Vourlakos ab738970e2 visual zoom factor to percentage from decimal
Michail Vourlakos cb38671b3e minimumWidth for texts in sliders in configuration
Michail Vourlakos a7f5dc171f fix sliding issues in configuration window
Michail Vourlakos c07c8f7940 replace Double with Justify
Michail Vourlakos 4aaeb246cb reduce code in AppletItem
--check more general if a plasmoid is one of the two
edges, start or end
Michail Vourlakos 9cba27463f use default pin for configuration window
audoban 7e44d81a0f Less debug information.
audoban 448f0b83fd Dock shouldnt hide on userConfiguring state
audoban a9c1758f66 we can pass a build type to install.sh
audoban 75a915083c Info debugging generates useless backtrace
Michail Vourlakos 3dacc2fda9 support sticker for configuration window
Michail Vourlakos 50fe022243 move Tasks contents a bit to the right
Michail Vourlakos bc4ffe5095 drop QtQuick 2.7 in favor of 2.0
Michail Vourlakos 7637e9c5b8 fix , fix hidden spacers behavior
Michail Vourlakos c74e9ce5b1 disable dragging from plasmoid, fix
audoban 0de6a070b0 Drag events managed from VisibilityManager