546 Commits

Author SHA1 Message Date
listenerri
89446d7022 feat: keyboard layout indicator support context menu
https://github.com/linuxdeepin/developer-center/issues/671

Change-Id: I751c48b4c00c9f75a9950b2679374b5562b08109
2019-03-06 17:19:08 +08:00
listenerri
fc06a6a078 feat: trash plugin enable be disable
https://github.com/linuxdeepin/internal-discussion/issues/827

Change-Id: I75c3a27f81df45655b2fe8bd702abc9c7d9bc2c5
2019-02-27 14:24:00 +08:00
listenerri
7de1c08e19 refactor: get sni properties from dbus asynchronouslly
Change-Id: Ie100affe4880a30cfa47c9266ee58ce5e7da282f
2019-02-18 14:58:48 +08:00
listenerri
ecea16f89a fix: wireless item display problem when ssid contains "&"
https://github.com/linuxdeepin/developer-center/issues/880

Change-Id: I44a71eb7e1ffaf0626c4c03805e5fe01fc12bfc2
2019-02-14 16:08:21 +08:00
listenerri
49b84eb0cc fix: fashion tray expand error after double click control widget
https://github.com/linuxdeepin/internal-discussion/issues/932

Change-Id: I1dcd2985955893d42a297d70a865a49e890ee904
2019-02-13 13:54:51 +08:00
listenerri
3962f474e9 feat: optimize plugin guide
Change-Id: I1edb695067e106f2acfd7a8022d4be57dcac3a1a
2019-02-13 11:31:03 +08:00
listenerri
2d39e69ee8 fix: tips widget size not change after system font size changed
https://tower.im/teams/9487/todos/228412/

Change-Id: Ic988face83f759895f8375e4c7954ebdbee6b887
2019-01-22 19:59:21 +08:00
listenerri
acedaeff73 refactor: follow network lib update
https://github.com/linuxdeepin/internal-discussion/issues/730

Change-Id: I3148d8fd86f0ff0e942b7c0037daa715cb36eb0c
2019-01-18 18:17:01 +08:00
listenerri
2bc2f2e831 refactor: make MainWindow to register sni host instead of tray plugin
Change-Id: I8f6b05ed69ced2d937aac8828a1adb3e77e79b07
2019-01-15 19:54:13 +08:00
listenerri
e96971aecd refactor: delay load XEmbed and SNI trays
Change-Id: Ia9d5684410a57192b228de9478bb3b87025e5b27
2019-01-15 18:14:53 +08:00
listenerri
60b5d9e0c2 feat: shutdown plugin support hibernate
https://github.com/linuxdeepin/internal-discussion/issues/820

Change-Id: Ifa3b35ba6bab8677b5246cd9ecf2279877966891
2019-01-15 16:16:04 +08:00
listenerri
e2a791eb4a remote some debug info
Change-Id: Ib24ae9de3a3ddb9855c0d6832f2366a10fe12596
2019-01-15 16:15:35 +08:00
listenerri
4eaefdb7ef change: plugins dir
Change-Id: I5b504a14294b803ff86a2707ebf6a7c5f0f3e24c
2019-01-15 16:06:48 +08:00
listenerri
2d61405db9 fix: show dock menu when click on some area out of tray
https://github.com/linuxdeepin/internal-discussion/issues/853

Change-Id: Iaf0e76b7de4ce394c83ee40cd0685828d7dc77d0
2019-01-14 17:48:43 +08:00
listenerri
f0b11152de fix: can not show mutiple tray of one application
Change-Id: Iff19cc4a5afcb76b7c49763d701552112f836a3f
2019-01-11 16:20:33 +08:00
listenerri
eb151202b5 fix: warning when get window property for xembed tray
Change-Id: I0872df0701d43cbb2817176c527ac106e2d031de
2019-01-10 18:13:54 +08:00
listenerri
05babb8d52 fix: xembed tray click response
some tray will create and disappear vary fast, for example fcitx-sogou
that will cause dock only hold the disappeared tray's winid

https://tower.im/teams/9487/todos/227205/
https://github.com/linuxdeepin/internal-discussion/issues/793

Change-Id: I14643e1d16a3ed1dfeb10fc89da6ee00e8d4edc5
2019-01-09 15:19:43 +08:00
listenerri
8ed1aa962f fix: dock crash and sni tray status property process
https://github.com/linuxdeepin/internal-discussion/issues/804

Change-Id: Ib288e1248d64f4ed034fbfa876c2f508eb84e2f8
2019-01-08 14:21:18 +08:00
listenerri
8bc429af27 Merge branch 'dev/drag-and-hold-tray' into merge-dev/drag-and-hold-tray
Change-Id: I9ca2e4cbdd7579d65667e78f611cd5400ca851c2
2019-01-07 11:07:45 +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
74c632d68f change: remove DOCK_TRAY_USE_NATIVE_POPUP to enable XEmbed hover
https://github.com/linuxdeepin/internal-discussion/issues/708

Change-Id: I1159eaf47c87d9e37c0d801f46aee83f9287439b
2019-01-04 14:16:49 +08:00
listenerri
6c7498a7a7 feat: support SNI tray status property
https://github.com/linuxdeepin/internal-discussion/issues/746

Change-Id: Ie036abe71858a74d500487cd434c69cc1ac26e45
2019-01-04 09:48:39 +08:00
listenerri
f7699e3596 fix: tray item identify
https://github.com/linuxdeepin/internal-discussion/issues/616

Change-Id: I6fc26d153e82643720ac21111d52cac26fbcff06
2019-01-03 19:00:33 +08:00
listenerri
c002c83984 fix: sni icon search path not recursive
https://github.com/linuxdeepin/internal-discussion/issues/710

Change-Id: I2411be6d3d8b9aaaf0254cbdb7f9d53cea95aff7
2019-01-03 09:57:33 +08:00
listenerri
f39a678d04 fix: can not drag back to normal container
can not drag back to normal container when all wrappers in normal be
drag out

Change-Id: Id6f2ddef8616bc9ea7656b87e903af8b0565a7f5
2019-01-02 09:44:47 +08:00
listenerri
9dde0f6d30 feat: animation of hold spliter
Change-Id: Ic15d015a03b95cf917039ebc3762b8984dbb146b
2018-12-29 17:55:19 +08:00
listenerri
fea60742c5 feat: add hold container
wrappers can be drop into hold container from normal container,
of course, wrappers in hold container can also be drop into normal container

Change-Id: I21013beede7661507a9c389af21c35692b777dd4
2018-12-28 17:00:29 +08:00
listenerri
7c1ae86a79 refactor: the fashion tray item is divided into some modules
the fashion tray item consists of some fixed widget and some wrapper
container.

- double spliter one left and one right
- a control widget
- normal wrapper container
- attention wrapper container(just contains one/zero wrapper)
- hold wrapper container(coming soon)

Change-Id: If307fe0a3160c5478992c734ccac1bdec1071f09
2018-12-27 17:12:37 +08:00
listenerri
902cb3271f feat: add hold container
Change-Id: I370c68c6e234d49965657bc293e7d5028b1f8eb2
2018-12-27 08:51:43 +08:00
listenerri
aae408d5b7 feat: add a container widget for hold on trays
Change-Id: Ie3ff32b18840440482289267d0b8496bfb982ea2
2018-12-26 15:58:08 +08:00
listenerri
395de03ee6 fix: time not display in fashion mode when using some special language
https://github.com/linuxdeepin/internal-discussion/issues/691

Change-Id: I86b298651e19ddea3b1eb4283705fc5f1c22679d
2018-12-26 10:20:12 +08:00
listenerri
11ad21f8d0 fix: SNI icon search fallback
https://github.com/linuxdeepin/developer-center/issues/722

Change-Id: I83cb3fd2ae2e231490f0558e91b07b2e29fdd4bc
2018-12-25 16:14:16 +08:00
listenerri
18f4f2d69a fix: crash because NetworkDevice has been deleted in network library
https://tower.im/teams/9487/todos/225916/

Change-Id: I390dbcc44b8754d6ebe0d05269a6c84c243c6a8e
2018-12-25 13:13:26 +08:00
listenerri
06d55e20d6 feat: add new plugin for onboard
https://github.com/linuxdeepin/internal-discussion/issues/610

Change-Id: Iada7d06f804a6a7d6df7078781f93be08694bce4
2018-12-24 09:09:45 +08:00
listenerri
3ab60d0633 fix: fashion mode tray expand config can not read
https://github.com/linuxdeepin/internal-discussion/issues/688

Change-Id: I350f75dd8fe9cdc67be14315e4de7f8039967a09
2018-12-20 10:35:02 +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
ff0d9f0804 fix: fashion tray item sort key do not work
https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/6e55b8d932140ef6a5b9f2e2ff8ded48/

Change-Id: Ica7acbc29e218ef70d5ec006b2f7e9c870db5bf3
2018-12-18 09:09:41 +08:00
listenerri
77570b609a fix: context menu invoke in touch screen
https://github.com/linuxdeepin/internal-discussion/issues/619

Change-Id: I21febec29c06eef80114f9082e6cc02d7468c2d3
2018-12-14 15:18:09 +08:00
listenerri
635d41525f fix: tips of network item not refresh
sometimes tips of network item not refresh when only ip address has changed(device status is not change)

https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/a7c3481830dab3290d1a1c9580883c92/

Change-Id: Ieb1f3561f77ee7c076d7b2dd4c37faa8319046d5
2018-12-14 15:17:02 +08:00
listenerri
8870cbc799 fix: sni tray context menu can not be initialize correctly after reboot
https://github.com/linuxdeepin/internal-discussion/issues/660

Change-Id: I51d95b7acf58d9550d1646a0d64ebfc8e952f918
2018-12-14 14:16:50 +08:00
listenerri
06ca6df205 fix: threshold to emit drag event
https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/d6bbed3e1c2bd8928a028c74b193d30a/

Change-Id: I190140f30336a595dbd9c0a23fa7a3bcf45c9c92
2018-12-11 16:47:15 +08:00
listenerri
fc64302b9e fix: compile failed in debian stable repo
Change-Id: I3beadca55ccdac869b9f960894fd49281af64188
2018-12-10 18:12:03 +08:00
listenerri
a9998b6cf2 fix: wired tray icon in hihdpi
https://github.com/linuxdeepin/internal-discussion/issues/594

Change-Id: I107b111614b2a79f57aa2059e660f220d2b185b7
2018-12-10 16:04:25 +08:00
listenerri
5b5d55d9db fix: tray icon size in hidpi
https://github.com/linuxdeepin/internal-discussion/issues/582

Change-Id: I79c85bee2635ade4eb84d8e93147e374eecfb1a4
2018-12-10 11:35: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
16f10b665c fix: tray icon do not change after system icon theme has changed
https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/d9725c7eddce0c87e5ef5f1939d1964a/

Change-Id: Id094f51c7426f321a1628fdd5e3128d6356c9353
2018-12-07 16:59:06 +08:00
listenerri
ab91d36d95 change: load shutdown icon from theme
https://github.com/linuxdeepin/internal-discussion/issues/570

Change-Id: I8aa1f5586cc9e9254d2e7f41ce786aa03846a3f9
2018-12-07 16:40:58 +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
justforlxz
a3124596c5
crash for disable tray
Change-Id: I9a3d52058ec02d96190c14bb163a2a90d4be3138
2018-12-07 10:40:03 +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