508 Commits

Author SHA1 Message Date
justforlxz
55c4c74a82
refactor: use QWidget::devicePixelRatio to replace QApplication::devicePixelRatio
插入新屏幕后,新屏幕的缩放是1,切换为复制模式后如果继续使用QApplication::devicePixelRatio会导致
显示错误,统一换成QWidget::devicePixelRatio或QScreen::devicePixelRatio。
2019-04-23 18:27:40 +08:00
listenerri
64aa65a5f0 fix: can not hover preview after drag 2019-04-15 10:42:45 +08:00
listenerri
f4d6ba1076 fix: preview window can not be raised after clicked preview snapshot
https://github.com/linuxdeepin/internal-discussion/issues/1321
2019-04-12 17:36:41 +08:00
listenerri
5a6942d90c refactor: close button name of preview
make a distinction between the name of buttons both of 2d and 3d mode

Change-Id: I2b8c744bcc920707b74f9f98859851cc0399a461
2019-03-25 09:15:06 +08:00
listenerri
6417a6255c fix(preview): hovering preview picture size adjust
Change-Id: Ia01bc9bc73a2bac53a911effa3095f826d8472be
2019-03-25 09:15:06 +08:00
listenerri
0c71234ef7 Merge branch 'dev/animations' into merge/dev/animations
Change-Id: I4c438901e7284d4449114c543882322dcd50e9f4
2019-03-18 14:10:32 +08:00
listenerri
6a45395ef6 fix: close button alignment in 2D mode
https://github.com/linuxdeepin/internal-discussion/issues/944

Change-Id: I6e6182429262156d22eb258fb852cd10256975b0
2019-03-18 14:00:08 +08:00
listenerri
4b8e6d8969 fix: pixmap be clipped
Change-Id: I3df3f907e3d44058d0ecfbefef7d6826bbe71600
2019-03-18 13:54:02 +08:00
listenerri
bc4608b858 feat: add cancel animation for drag to undock operation
https://github.com/linuxdeepin/internal-discussion/issues/663

Change-Id: I92daa3835fb6c5add9fcd5d1619e3a99d92d0b1f
2019-01-17 14:44:46 +08:00
listenerri
fcb2c8563e Merge branch 'dev/refactor-plugins-mouse' into merge-dev/refactor-plugins-mouse
Change-Id: I03089593b793de20d8400449812bfdc9e4e83ecb
2019-01-07 09:47:51 +08:00
listenerri
a5cf01551a fix: hover background of plugins item in Efficient mode
https://github.com/linuxdeepin/internal-discussion/issues/744

Change-Id: I50996e20d4bbe4e6e166f1ec2816aaa25d92815f
2019-01-03 19:16:49 +08:00
listenerri
c10a6e9eb2 fix: there is an empty AppItem in dock
https://github.com/linuxdeepin/internal-discussion/issues/653

Change-Id: If2da95238240c2726b9395267ba0bfebb7f6ca28
2018-12-25 16:32:45 +08:00
listenerri
7a5501e53d feat: update plugin API version
Note:

1. add a new function in PluginProxyInterface for set applet widget
visible from  a plugin.

2. remove requestContextMenu function from PluginProxyInterface,
cause's the context menu should be handled in Dock, it is enough for
a plugin to simply provide menu data and handle callbacks with
functions itemContextMenu and invokedMenuItem in PluginsItemInterface

https://github.com/linuxdeepin/internal-discussion/issues/646

Change-Id: Ic4af4eee138e87911ff5b18ccbbb0c3f7187ac4d
2018-12-18 11:28:36 +08:00
listenerri
c45df0263d fix: threshold of wheel on app item
https://github.com/linuxdeepin/internal-discussion/issues/667

Change-Id: I544eb3de96214eb8c2f8095ebac4cecab2066269
2018-12-17 14:41:54 +08:00
listenerri
0a3eb2b619 fix: touch screen drag/drop tray icons to tray container by mistake
https://github.com/linuxdeepin/internal-discussion/issues/602

Change-Id: Idd3e72dce0fd552d840c282bfc282d8c7d76b317
2018-12-10 18:07:48 +08:00
listenerri
4d8e077243 fix: tray hover state not refresh after some mouse event
such as drag/drop or mouseRelease event

https://github.com/linuxdeepin/internal-discussion/issues/580

Change-Id: Ie815849801a7bd4fa263c6e67d3e5e21153488cd
2018-12-10 10:13:57 +08:00
listenerri
3ee25e36b1 fix: hover background while dragging
Change-Id: Ic23e01ed024fdb5b9b8530c4a639ae53a7e96e1e
2018-12-07 16:52:37 +08:00
listenerri
dfa4dd9d24 fix(TrayPlugin): send hover event to XEmbed trays
https://github.com/linuxdeepin/internal-discussion/issues/561

Change-Id: I216520849bceae0d38dd062db9d27eaf86e68e89
2018-12-07 15:59:53 +08:00
listenerri
caede05fe7 feat: tray icon hover state
https://github.com/linuxdeepin/internal-discussion/issues/514

Change-Id: I9ce935ced29ab62b02f879c12658227a81b3dfdb
2018-12-06 14:54:10 +08:00
listenerri
dc1d415dc3 fix: build warning 2
Change-Id: I3ebd8122b7147f1a087a773b881d8d7709301b7b
2018-12-05 14:45:44 +08:00
listenerri
e18be0ba7f Merge branch 'dev/fix-dock-hidden'
Change-Id: Ia3f5ab9659d1356b699a5de33ed71f7b1ce6ba03
2018-12-05 12:48:12 +08:00
listenerri
61197b9d3d fix: build warning
Change-Id: I57b1e5a68f699fface1ed542813791013020691e
2018-12-05 11:55:26 +08:00
listenerri
63dc102939 fix: typo2
Change-Id: I2b1c9b1936becb74be46ca42fc764ba4a4ce87b4
2018-12-05 11:41:24 +08:00
listenerri
9c37265713 fix: typo2
Change-Id: I2b1c9b1936becb74be46ca42fc764ba4a4ce87b4
2018-12-04 16:05:15 +08:00
listenerri
a87911ce80 fix: typo
Change-Id: I2ed2597138c60bd18a7798942c2b5d0a4eef8f88
2018-12-04 09:50:56 +08:00
listenerri
091b52bccd fix: dock hide problem and remove old imp
efficient dock still hide in auto/smart hide mode while applet of
plugins is showing and mouse leaved

https://github.com/linuxdeepin/developer-center/issues/707

Change-Id: I373ce94e802f79e1430a636d5019b24fdbaa650b
2018-12-04 09:28:12 +08:00
listenerri
5e9886fa97 fix: click item is ignored
Change-Id: I7ef7f440d59bb7a75ad50d5a9c85f6084c4704bf
2018-11-30 18:17:08 +08:00
listenerri
fd3f502529 fix: play swing effect when open app with mouse middle button
Change-Id: I20869436ff498f6d2a4fdd62f220dcc8f0aae9b8
2018-11-30 14:57:11 +08:00
listenerri
9bfb8eee37 fix: system tray icon still be shown while dragging
Change-Id: I8c0947c2be3f8d0269218a4e75004a1a00efd37a
2018-11-22 10:25:38 +08:00
listenerri
b696c4daf2 refactor: rename system-tray to tray
Change-Id: Ic5fcbb85851aebb490ab633b355d77fa3d578914
2018-11-20 14:04:16 +08:00
Hualet Wang
ca08567861 feat: touchscreen support
Change-Id: Ica912c5e672d0e02f6e9540fd95d12d916dd5d74
2018-11-16 09:58:46 +08:00
listenerri
86d763a67b refactor: hide fashion system tray right side spliter
Change-Id: I2a8184dcfa30b0a8d80b8090e24fa65b519c69d8
2018-11-09 13:29:08 +08:00
haruyukilxz
7ea3341aca feat: prevent unexpected trigger
Change-Id: Ie60299680e8442598fbf9c9fa67c73cbd1cf3d61
2018-11-08 16:23:44 +08:00
listenerri
598978d350 feat: auto adjust the icon size of fashion system tray
Change-Id: Ia0d32d4df3d7299a422c001d8c5b98b1f824f298
2018-11-08 15:09:19 +08:00
listenerri
bffcc3a185 fix: can not show context menu on system-tray control button
Change-Id: Iaffe42041f83d0ee44d3b417b62df30a4875fa6e
2018-11-06 11:34:44 +08:00
listenerri
725891a6b1 fix: place holder item still display in dock after drag leave
Change-Id: Ibc21b1f984a4ecc1bff466012c2afe05c5df1285
2018-11-05 11:26:20 +08:00
listenerri
5c042701e1 fix(system-tray): crash when refresh wired tray visible
Change-Id: I9cbcd484e90342b90feaa873a69a57aa55a1c9bc
2018-11-01 16:28:01 +08:00
listenerri
22119b989a fix: the context menu can not be shown when container item is clicked
Change-Id: Id18625bd1886778e42bfd9b0116fa666f6a3b6d2
2018-11-01 16:27:49 +08:00
listenerri
6ffd34ef33 fix(system-tray): dock visible when context menu and tips of system tray is shown
Change-Id: Id76b7dc50555c71ae7a97150afa93016d0df38e5
2018-10-30 17:19:24 +08:00
listenerri
e09d0fc067 add copyright
Change-Id: I5594bb1fe8994501ac31f5912ff87d6c1c74d5af
2018-10-25 19:56:21 +08:00
listenerri
67635df6fd refactor: handle click event of system trays
Change-Id: I31b9ecf03e4b9937fa19a3209f5e64e6219b2327
2018-10-25 16:52:13 +08:00
haruyukilxz
203a6eb96f fix(launcher): use show replace toggle for launcher dbus
Change-Id: I32f569a99e34a2230a438f3cc08acd063472d919
2018-10-24 10:04:11 +08:00
listenerri
e9c48fb2f0 refactor(system-tray): new fashion system tray
Change-Id: I7d359c1a33fbb32bc174026e7aee130d328313ef
2018-10-22 10:06:12 +08:00
listenerri
82d0478c73 add: show-desktop plugin
Change-Id: I2919b1f1c698e95413e6be0ed22ccfc06077f4f7
2018-10-16 13:34:39 +08:00
listenerri
8b084117f8 add(preview): support identify window closeable
There is no close button when previewing a window that cannot be closed

Change-Id: Ic97f1fdd287fad1c06578e1745d526da61d0088e
2018-10-08 11:43:03 +08:00
listenerri
01e1e68136 add: accept dock app from all droped desktop files
Change-Id: I4d18f7a9cdff2339c715f0910f067b06492e1303
2018-09-28 15:37:10 +08:00
haruyukilxz
14e1cd49ed
fix: apps preview position error
Change-Id: Ibe1bdd5ec2d67ff09127b52a2a5864f8d83e1cf3
2018-09-11 09:30:53 +08:00
haruyukilxz
009c03c9fe
fix: tips color error under 2D
Change-Id: I852bb059a551b28e7d99c1e4690d7ee25f6cfd3f
2018-09-07 11:16:40 +08:00
listenerri
43214b60da add debug info about app item
name, id, icon

Change-Id: If9c686eb41ca30ee55a0ef938665a9cab24c2de1
2018-08-31 16:06:34 +08:00
listenerri
da407f77db fix(app): icon is null
Change-Id: I1fb4415d97bf35572bf4f5e7ea8fd4291e62a83f
2018-08-31 15:15:16 +08:00