Commit Graph

823 Commits (fb3bff6dce54da29f01720c27473f16f76d6c774)
 

Author SHA1 Message Date
Michail Vourlakos 4eb143714a 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 8ef2560688 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 7bdf1ccb23 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 cd0eeb9ff1 fix binding loop in config from pages
Michail Vourlakos 14e1ca01ab 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 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
Michail Vourlakos e44a1a3a48 remove startup timers from containment
Michail Vourlakos a857b18271 remove no needed functionality from dockview
Johan Smith Agudelo Rodriguez 93f35b8967 Merge pull request from mateushonorato/patch-1
Change CMAKE_CXX_STANDARD from 11 to 14
mateushonorato 7ae281fde9 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 3137d7a060 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 41d7ee6151 ui,do not allow hiding when containsMouse
--or blockHiding as second step protection
Michail Vourlakos d2b80f99c5 add icons for buttons in Bahavior Config Page
Michail Vourlakos 4f5802803d update translation strings and greek translation
Michail Vourlakos e8fec7eea4 remove unneeded code
Michail Vourlakos 9ea5959cb6 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 20455dc547 fix #31,theme shadows used in normal state masking
Michail Vourlakos 600884dded 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 377a3d4420 remove visibilitymanager on dockview destruction
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
Michail Vourlakos ba4837d47b restore compatibility with KF 5.26
Michail Vourlakos daa6e1b7bc add a separator for latte config entry
Michail Vourlakos f4201a8a71 improve menu behavior and appearance
Michail Vourlakos 83e0a7564a fix
--override default contextmenu behavior
--clean up old code
Michail Vourlakos 9259ee3bc3 remove no needed containment actions
Michail Vourlakos 9b1dea34e2 add a ScrollArea in configuration window
Michail Vourlakos cbcd344e90 visual zoom factor to percentage from decimal
Michail Vourlakos 3e6beb89ff minimumWidth for texts in sliders in configuration
Michail Vourlakos 6b59d685f5 fix sliding issues in configuration window
Michail Vourlakos 33d5eab539 replace Double with Justify
Michail Vourlakos a758c5875f reduce code in AppletItem
--check more general if a plasmoid is one of the two
edges, start or end
Michail Vourlakos 17b8371812 use default pin for configuration window
Johan Smith Agudelo Rodriguez 802beedd39 Less debug information.
Johan Smith Agudelo Rodriguez e9436d568c Dock shouldnt hide on userConfiguring state
Johan Smith Agudelo Rodriguez dbc2905077 we can pass a build type to install.sh
Johan Smith Agudelo Rodriguez d5f3553ffc Info debugging generates useless backtrace
Michail Vourlakos 63739ac77b support sticker for configuration window
Michail Vourlakos a45d9691dc move Tasks contents a bit to the right
Michail Vourlakos 4ae8ea7f18 drop QtQuick 2.7 in favor of 2.0
Michail Vourlakos b4b90eac73 fix , fix hidden spacers behavior
Michail Vourlakos 95169441df disable dragging from plasmoid, fix
Johan Smith Agudelo Rodriguez cec5d62702 Drag events managed from VisibilityManager
Johan Smith Agudelo Rodriguez 47c715f6a7 dons't build, pluginmetadata is deprecated
Johan Smith Agudelo Rodriguez d6f9450d87 Fixed show and hide timers.
Michail Vourlakos 32d617487f update translation strings
Michail Vourlakos 9878ee65d1 fix some hiding issues on userConfiguring state
Michail Vourlakos c7345a5b62 semantic fix for panel to root
Michail Vourlakos d0f4c80ab2 enable block hiding in some cases
--more specific on user configuring and
on dragging a task
Johan Smith Agudelo Rodriguez 45c9710ed0 Respect to the original authors
Johan Smith Agudelo Rodriguez fe146aaa90 Missing file licences