Commit Graph

42 Commits

Author SHA1 Message Date
Charles Gagnon
027d9e86b1 Remove the animations when switching between isolated workspaces
Only when the application instances are ungrouped
2018-01-18 21:05:24 -05:00
Charles Gagnon
f7bf526a55 Add option to ungroup the application instances and show their window titles
New features
 - ungroup aplication instances, while keeping them grouped by application
 - when ungrouped, display the window titles and allow the customization of their font-size and width
 - when ungrouped, optionally have the favorite application icons serve as launchers
 - customize the focused application indicator's color and opacity

Bug fixes
 - fix icons not showing up immediately when lauching an application
 - fix message "g_signal_handler_disconnect: assertion 'handler_id > 0" occurring when destroying an icon
 - fix message "st_widget_get_theme_node called on the widget [# StIcon:last-child first-child] which is not in the stage." occurring after disabling the extension
 - fix message "[.../dash-to-panel@jderose9.github.com/windowPreview.js 1008]: reference to undefined property 0" occurring when restarting gnome-shell
 - fix message "[.../dash-to-panel@jderose9.github.com/taskbar.js 753]: reference to undefined property 0" occurring when restarting gnome-shell
2018-01-14 15:27:08 -05:00
jderose9
0fc2325dc8 detatch resize handler on destroy 2017-11-02 22:37:24 -04:00
jderose9
e2d776a28d Stop virt-manager from stealing focus. Fixes #250 2017-10-24 21:17:50 -04:00
Jason DeRose
cd3f7131e7 Merge pull request #263 from 3v1n0/disconnect-popup-from-window-title-changes
windowPreview: disconnect from window title changes on actor destroy
2017-10-20 10:31:59 -04:00
Jason DeRose
701593c2ee Merge pull request #260 from lexruee/fix-bugs
Fix a few bugs
2017-10-20 09:18:23 -04:00
Marco Trevisan (Treviño)
1dfcd3e4b9 windowPreview: disconnect from window title changes on actor destroy
When a popup is destroyed, the window might still emit signals of
title changed, causing crashes in gnome-shell

https://bugzilla.gnome.org/show_bug.cgi?id=788931
2017-10-20 02:35:43 -05:00
Alexander Rüedlinger
5a76f1212f windowPreview.js: Remove broken code?!
This commit removes IMHO broken code. It also fixes the following JS
warning:

```
JS WARNING: [/dash-to-panel@jderose9.github.com/windowPreview.js 851]:
reference to undefined property "_stateChangedId"
```

Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
2017-10-18 20:27:33 +02:00
Alexander Rüedlinger
a3ebdd733b windowPreview.js: Define classes using 'var'
This commit fixes some JS warnings that a property was defined with 'let'
or 'const' inside the module windowPreview.js.

Signed-off-by: Alexander Rüedlinger <a.rueedlinger@gmail.com>
2017-10-18 18:11:03 +02:00
jderose9
96cd9bb387 null check for focus_app, fixed #224, #246 2017-10-11 21:30:03 -04:00
Jason DeRose
f61f8ac6d8 resolve merge issue 2017-09-28 11:39:47 -04:00
Jason DeRose
cfca5335c3 Merge branch 'master' of https://github.com/jackwickham/dash-to-panel into jackwickham-master 2017-09-28 10:53:12 -04:00
Jack Wickham
d04015f71e Added setting for middle click to close 2017-09-27 17:44:44 +01:00
Jason DeRose
8e4d5ab17b Merge pull request #218 from franglais125/window_previews
Window previews
2017-08-01 16:37:46 -04:00
franglais125
15291fa8e3 Window Previews: enable/disable in windowPreviews.js 2017-07-25 17:12:32 -04:00
Shi Chao
b1b94c2184 fix freeze when clicking on preview after using virtualbox 2017-07-23 23:10:39 -04:00
Jack Wickham
9860a9f9df Added window context menu on right click of preview 2017-07-01 19:02:17 +01:00
Jack Wickham
c7fae8e42c Add middle click to close on window previews 2017-07-01 15:25:26 +01:00
dziku1337
3013229d62 Refactored some code, added opacity adjustment to advanced settings 2017-04-09 18:19:43 +02:00
dziku1337
4015b56301 Restoring initial opacity of windows. Prevented redundant workspace changing during changing the peeked window 2017-04-07 23:02:51 +02:00
dziku1337
d38d41052d Added settings entries for peek mode 2017-04-07 22:14:47 +02:00
dziku1337
4374015f7f Handling different workspaces 2017-04-06 01:09:46 +02:00
dziku1337
fbcc2073a7 Peek mode activated/deactivated upon hovering over/leaving thumbnails. Handling newly created / closed windows while in the peek mode. TODO: handle dialogs during closing windows 2017-04-02 23:41:55 +02:00
dziku1337
5fc940e309 Added animations, opacity manipulation, saving the state of windows. Need to handle new/destroyed windows. Need to fix transitions between peek and normal mode 2017-03-29 12:18:36 +02:00
dziku1337
b97c1648c6 Implemented transition between normal and peek mode, implemented primitive window hiding/showing (No animations) 2017-03-26 15:43:30 +02:00
jderose9
55562b54b9 Refactor AppIcon subclasses into separate file
taskbar.js was getting unwieldy and this will more closely align with dash-to-dock
2017-03-04 14:04:07 -05:00
jderose9
6c867fb97d Another tweak to fix slim chance of stuck grabs 2017-02-11 07:44:36 -05:00
jderose9
6fe65f64d4 Fix preview closing when on top of focused dialog 2017-02-08 18:06:44 -05:00
jderose9
f2e159dcf0 Clean up the settings UI for preview delay.
Closes #26
2017-02-06 22:42:22 -05:00
jderose9
ccee4464ec Cancel timers rather than using flags
Previously using flags in the event handlers to decide whether they should handle the timeout event, rather than just cancelling the timeout.
2017-02-06 22:23:24 -05:00
jderose9
e3435275bb Delay window previews on hover for #26 2017-02-06 18:03:42 -05:00
jderose9
049935becf Configurable icon leave preview timeout. Fixes #19 2017-01-24 23:11:51 -05:00
jderose9
bac340b63d Handle popup preview closing too quickly 2017-01-11 20:59:02 -05:00
jderose9
3f325a9503 Option to hide window previews for #7 2017-01-10 20:17:01 -05:00
jderose9
65f0a0b3ed style and naming cleanup for #15 2017-01-10 18:35:10 -05:00
jderose9
a6d8ac0ee9 HiDPI support. Fixes #10 2017-01-09 18:00:45 -05:00
jderose9
e5375c4235 async popup stealing focus on window activations
When switching apps, sometimes the hover popup would activate after the new window was activated, partially stealing focus and leaving new window in a frozen state. Unfortunately I couldn't get this working async to debounce quick mouseovers of the icon. I've only observed in X11 so the previous implementation may be ok in Wayland.
2017-01-04 17:23:55 -05:00
jderose9
a98b3638fb Pull in workspace isolation and hide dash from d2d 2017-01-02 20:46:35 -05:00
jderose9
aa61fb235a update credits 2017-01-02 08:27:54 -05:00
jderose9
eb3905d956 Update licensing and credits 2016-12-30 08:10:48 -05:00
Artyom Zorin
ca85a18f3b Fixed some memory leaks and Work ID issue 2016-10-27 23:45:30 +00:00
Artyom Zorin
093338beac Imported from previous codebase 2016-09-21 00:18:00 +00:00