3075 Commits

Author SHA1 Message Date
杨万青
4fcd036bee bugfix: restore item immediately when drop in plugin-layout
Change-Id: Id401cbc26ea81979152a103a6825698be91d4611
2015-09-14 16:45:09 +08:00
杨万青
109afd7687 bugfix: dock didn't hide when mouse leaved dock in keep-hidden mode or smart-hide mode
Change-Id: I9352b740431de07863f07d3ebec876246768aeba
2015-09-11 10:27:49 +08:00
Hualet Wang
416558a11d disable watcher for plugin add/remove for now
the watcher is helpful actually, but its too buggy

Change-Id: Idc082fd55e50cdc15df207f517cdafba43b49a78
2015-09-10 11:01:27 +08:00
杨万青
bfddee7d21 use launcher new drag data interface
Change-Id: I73d5a67b58db46f52f25f3151c5c1b7766f8948b
2015-09-08 15:38:57 +08:00
杨万青
f10f9cac6a appitem inherited showMenu function
Change-Id: I627ca0cfe6ae9ff0de1aa9f16bc1bda753cc77f1
2015-09-08 11:34:58 +08:00
杨万青
e64474b8d7 bugfix: destroy pluginitemwrapper when plugin removed
Change-Id: I2d3fae40e76c2970d8a049a1562aa7b1e5704a86
2015-09-08 10:03:29 +08:00
Hualet Wang
00c8423e49 bugfix: X Window System error
the error was fixed by simply calling gdk_error_trap_push()

Change-Id: Iac365994024b84413222b81fb927f0c00713f6f5
2015-09-07 15:32:10 +08:00
杨万青
dac97f066d bugfix: restart backend cause app-item repeated load
Change-Id: I828b1b25a5368d968a5f54a5120194b7a364f75d
2015-09-07 11:29:25 +08:00
杨万青
1f3b1794d3 bugfix: plugin item's spacing incorrect after dock-mode changed
Change-Id: I8e99475a719aade99d8b200e35a85917607d7992
2015-09-06 19:40:20 +08:00
杨万青
cc23d29b57 Update Interface Category
Change-Id: Id6a12102239077577876daebb4c4a2b61c6a46d5
2015-09-06 17:29:44 +08:00
杨万青
f8d3dd42f2 add plugins setting window
Change-Id: Ic9817c9c3385c9fff880bc7ae7da475d6f0439ab
2015-09-06 11:24:12 +08:00
Hualet Wang
7fc70a5d97 register dde session at application start point
Change-Id: I31d034782666be1e96aade75f325ca0fe796063c
2015-09-01 13:32:12 +08:00
杨万青
2ad69dd66f bugfix: trash-plugin crash when change mode
Change-Id: If21161bb521af3c804999174ca6118cacbad070e
2015-09-01 11:14:01 +08:00
杨万青
930ed1fadc add trash-files and uninstall-app ConfirmDialog
Change-Id: I9f328a9a2ac7bed98795bfeb274d7274d19385f9
2015-09-01 10:36:38 +08:00
杨万青
0c9e70f95e bugfix: preview no hover-border and preview's close button show in initialization
Change-Id: Ie3a3ce665d297f56f2ee061fa0cd3059785a995f
2015-08-31 14:17:27 +08:00
ding465398889
586fefcb8f Merge "bugfix: can't launch launcher in win7 & xp mode" 2015-08-31 09:45:52 +08:00
杨万青
c4310c4a93 bugfix: can't launch launcher in win7 & xp mode
Change-Id: I4c90abd8de2dc748f39e582dc956635b2b212088
2015-08-31 09:51:45 +08:00
杨万青
922a92f782 bugfix: preview show when dragging
Change-Id: I62b833ff53f256c690c3e77aa9ea136eff780809
2015-08-28 12:02:33 +08:00
杨万青
814cff724b refactoring, multiple changes included
Changes:
  1,make spacing item add or remove smoothly
  2,reconstruct Panel
  3,make dock more stable on crazy drag-out or drag-in

Change-Id: I78a9ded502ffb352d187cbc0b835a16e7f9bfd37
2015-08-27 20:31:13 +08:00
杨万青
a1dbbe2876 bugfix: item drop in some area which not accept drop event and respond nothing to the drop event cause item missing
Change-Id: I96dcdb0e4dff297edcdd135650c7e4bc74d854da
2015-08-27 09:53:08 +08:00
杨万青
a0e2337616 Changes:
1,show preview interval change to 800 ms
  2,hide preview immediately when clicked item
  3,hide preview when the last preview-window was closed

Change-Id: I5823ec84aab3151dd1b5d33e0c158a57ae7aa776
2015-08-26 18:22:08 +08:00
杨万青
787c259f20 bugfix: drag in a small area will change item's position
Change-Id: Id6a114351a5103f1f6686a3f5c5d4fd92c1dcaa4
2015-08-26 17:24:28 +08:00
杨万青
b10111dffd bugfix: there may be a NULL object add to layout and cause crash
Change-Id: Ife4df44296aecf4153b78d07f132c6c553b7c735
2015-08-26 14:46:25 +08:00
Hualet Wang
dc950f9a36 make it compatible with Qt5.3.2 2015-08-24 10:45:59 +08:00
Hualet Wang
24a0ffd44c change top level pro file name 2015-08-24 09:44:40 +08:00
Hualet Wang
457590dccc add top level .pro file 2015-08-18 12:36:51 +08:00
Hualet Wang
c65bd3bc88 move out from dde-workspace-2015 2015-08-18 10:25:57 +08:00
snyh
2f1a6aa688 trayicon: 创建24depth的窗口进行包装
QWidget::createWindowcontainer没有很好的处理本进程使用XCreateWindow
创建的窗口。
QQ等32位窗口直接丢到windowcontianer也是无法正常工作(被销毁)

暂时全部使用24depth包装。 先不要合并,会导致背景有问题。
2015-08-17 09:52:26 +08:00
Hualet Wang
bcb0ce9edf prepare for debian packaging
1, add dde-workspace-2015.pro under the top level directory of this
   respository.
2, change the install destination of the headers needed by dock plugin
devs to /usr/include/dde-dock/
2015-08-17 09:50:01 +08:00
Hualet Wang
f6f8121863 dock: update directory structure 2015-08-13 11:23:46 +08:00
杨万青
68b4fdebfb bugfix: whole item accept all mouse event on classic mode 2015-08-07 20:42:19 +08:00
杨万青
bbc980c425 bugfix: Not clear up preview content on cancel-show 2015-08-07 09:22:11 +08:00
杨万青
56e7b0be49 bugfix: app title show incomplete 2015-08-06 19:54:24 +08:00
杨万青
b0e60a4797 Anchors plugin position 2015-08-06 17:43:59 +08:00
杨万青
cd25abd1f7 Order of insertion 2015-08-06 17:43:59 +08:00
Hualet Wang
6b5b491113 dock: window preview preformance optimization
create a temporary surface which is as big as our preview widget,
then *scale* and paint the source surface onto it, the data it
contains now is much smaller than the data the source surface contains,
thus making the data transmission much less source consumption.
2015-08-06 16:24:55 +08:00
Hualet Wang
2ab9351522 dock: use xdamage to optimize preview performance 2015-08-06 15:39:22 +08:00
Hualet Wang
e83660ab29 dock plugin interface update
1, add some extra methods to satisfy the need of "Run" and "Remove"
   the plugin item from dock.
2, adapt systray and trash plugin to the new interface
2015-08-06 10:59:09 +08:00
杨万青
166caceeca Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock 2015-08-06 10:09:32 +08:00
杨万青
e93812807f bugfix: sort chaos 2015-08-06 10:09:12 +08:00
Hualet Wang
4dfd79551b dock: introduce ItemTitleLabel
to fix the long overdue bug that the style of titles of plugin
items and titles of normal app items are different.
2015-08-05 16:44:56 +08:00
Hualet Wang
8d12f48892 dock:don't show preview if there's nothing to show 2015-08-05 15:46:18 +08:00
Hualet Wang
95a75d8351 systray: change so file name 2015-08-05 15:28:32 +08:00
杨万青
6054ee5199 Destroy app preview content when prewiew hidden 2015-08-05 11:02:07 +08:00
杨万青
77ec705b73 bugfix: launcher can't show 2015-08-05 09:14:20 +08:00
Hualet Wang
cb75f34199 systray: icon count exceeds 4 2015-08-04 21:08:39 +08:00
Hualet Wang
9dabc46450 systray: set masks for trayicons 2015-08-04 21:03:27 +08:00
杨万青
90749818ec Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock 2015-08-04 20:40:33 +08:00
杨万青
cc9be6f4d0 bugfix: ArrowRectangle resizeWithContent() crash if content is NULL 2015-08-04 20:38:44 +08:00
Hualet Wang
88b625f836 systray-bugfix: trayicons sometimes doesn't show 2015-08-04 20:15:20 +08:00