1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-27 15:21:40 +03:00
Commit Graph

3622 Commits

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