Commit Graph

103 Commits

Author SHA1 Message Date
Charles Gagnon
d04104ff8a Format code 2025-01-31 11:49:22 -05:00
Charles Gagnon
002b96652c Update overview workarea on monitor focus change
#2183
2025-01-19 13:40:05 -05:00
Charles Gagnon
504ede4cbc Remove dash if ubuntu dock is enabled after dtp
closes #2202
2024-10-19 19:14:48 -04:00
Charles Gagnon
b9541861e9 45 review 2023-09-23 07:09:34 -04:00
Andy Holmes
f68e860d43 refactor: remove unused imports 2023-09-21 19:22:28 -07:00
Andy Holmes
fd8022b49b refactor: replace export var with export const 2023-09-21 19:22:24 -07:00
Philipp Unger
fe83d4d36a fix SHELL_KEYBINDINGS_SCHEMA import 2023-08-20 02:58:36 +02:00
Philipp Unger
03a0aee77c remove the remaining non ESM imports 2023-08-19 13:48:38 +02:00
Philipp Unger
8a987a4ec2 export overview class 2023-08-19 13:48:38 +02:00
Philipp Unger
84159f5df9 use exported settings 2023-08-19 13:48:38 +02:00
Philipp Unger
b87ac15d66 migrate gi, ui and Me imports to new ESM format 2023-08-19 13:48:38 +02:00
Charles Gagnon
be8214d178 Ignore overview window previews from click to exit
#1876
2023-04-03 23:06:11 -04:00
Charles Gagnon
91c9a445b7 Single child pseudo class is now first-child, cool 2023-03-05 09:29:26 -05:00
Charles Gagnon
5b3f2acb2a Add space in overview when intellihide is enabled
#1821
2023-02-05 19:18:49 -05:00
Charles Gagnon
f5a4273ca9 Adjust hotkeys when apps can be splitted
#1798
2022-11-16 09:19:23 -05:00
Charles Gagnon
46daaae299 Use instance signal for click to exit overview 2022-04-27 21:24:54 -04:00
Charles Gagnon
feb1a0fdfe Clear timeouts 2022-04-18 11:49:22 -04:00
Charles Gagnon
68b2be37fc Fix right click headerbar toggles overview on 41.5
fixes #1629
2022-04-16 22:49:58 -04:00
Charles Gagnon
498dc3cc98 Start removing legacy code 2022-04-13 22:29:57 -04:00
Charles Gagnon
c2e084f27c Apply scale factor to label margin in overview 2022-04-10 20:00:48 -04:00
Charles Gagnon
dab9820132 Rely on overview allocation, enough with the ghosts 2022-04-09 12:03:46 -04:00
Charles Gagnon
d37e213fab Use panel size to define overview dash height 2022-04-08 22:54:55 -04:00
Charles Gagnon
98e2815e81 Fix hotkey keyboard modifiers 2022-04-08 18:50:50 -04:00
Charles Gagnon
1cfffb4865 Include secondary monitors in click empty to close overview 2022-04-06 23:17:38 -04:00
Charles Gagnon
d7a7c92d13 Change workspace on overview window-picker click 2022-04-06 22:12:13 -04:00
Charles Gagnon
59390071aa Fix jumping appgrid when no dash is present 2022-04-06 18:04:27 -04:00
Charles Gagnon
5a9b010cde ButtonEvent.source defined on 41 but not 42? Why?! 2022-04-05 15:38:02 -04:00
Charles Gagnon
c6f6b6d8f7 Stay in overview on search entry click 2022-04-05 08:19:09 -04:00
Charles Gagnon
e1a0e508c7 Adjust overview click on empty space 2022-04-04 21:29:23 -04:00
Charles Gagnon
dd70324840 Drop imports.lang usage 2022-04-04 13:25:45 -04:00
Charles Gagnon
e544d2c7af Revert to gs overview allocation since it now accounts for external struts
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1892/diffs
2022-04-03 11:14:01 -04:00
Charles Gagnon
facbdbd437 Use new GS WorkspaceBackground allocation accounting for struts
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1892
2022-04-02 14:49:41 -04:00
Charles Gagnon
48e74b0b09 Check if panel monitor overview alloc fixes #1592 2022-04-02 13:28:10 -04:00
Charles Gagnon
c1c30ce9fa Drop ES5 support 2022-04-01 23:02:47 -04:00
Philipp Unger
ce49cfca5e update a gnome version check to work with final gnome 42 2022-03-23 13:42:07 +01:00
Philipp Unger
60f0a90165 include API change for _getAppDisplayBoxForState in gnome 42.rc 2022-03-19 01:29:57 +01:00
Charles Gagnon
81af73b239 Fix 40.4 appgrid 2021-08-18 09:17:46 -04:00
Jason DeRose
35081df201 Override style setter for main panel to keep GS from blowing away styles #1333 2021-06-18 22:47:30 -04:00
Jason DeRose
258083f3e3 Stop removing transparency styles when overview is hidden #1333 2021-06-12 17:38:29 -04:00
Jason DeRose
88cb4266cb fix missing WorkspaceThumbnail import #1350 2021-06-10 17:48:13 -04:00
Jason DeRose
2a8b2ffec5 fix scaled overview shrinking after a period of time 2021-06-09 01:00:17 -04:00
Jason DeRose
e1858d3162 Cleanup module export warnings 2021-06-08 22:30:35 -04:00
Jason DeRose
ec4e0784ae Handle overview allocation for dtp in different positions. Fixes #1338, #1326, #1327 2021-06-08 22:20:42 -04:00
Philipp
a4224f4acc Update to Gnome 40 (#1303)
* 1

* renamed ui.viewSelector to ui.searchController

* add arrowIcon null check

* add object null check

* add _showAppsButton null check

* fixed _workspacesDisplay

* removed shadow-type properties

* removed packing from ui

* renamed margin_left/right to margin_start/end

* renamed GtkRadioButton to GtkToggleButton, removed draw_indicator and image_position

* removed xalign from buttons, stock -> icon_name, GtkFileChooserButton -> BtkButton (todo connect a GtkFileChooserNative), removed format-value (todo connect GtkScaleFormatValueFunc callback)

* removed events, relief

* comment arrowIcon.set_icon_name and _hbox.get_last_child out

* called gtk4-builder-tool simplify --3to4 on Settings.ui

* fix _workspaceDisplay

* revert Settings.ui back to old gtk3 version

* removed _builder.connect_signals_full and added a BuilderScope instead, use class specific add functions, removed show_all for widgets, updated margins* for GtkGrid

* add try catch aroung object.connect

* fixed _searchEntry path

* disabled _newUpdateWorkspacesViews temporarily, because it is very buggy right now

* fixed _searchEntry path (this time for real?)

* dialog.show_all() -> dialog.show(), widget.get_toplevel() -> widget.get_root(), fixed adjustScrollableHeight (no longer crashes, still does not work correctly)

* updated GtkGrid.attach calls

* added Gtk.FileChooserNative for show_applications_icon_file_filebutton

* added packing again to ui (commented) and also added layout row/column/width/height in exchange for top_attach/left_attach/colspan/rowspan

* renamed colspan/rowspan to column-span/row-span

* removed all packaing left_attach/top_attach

* updated adjustScrollableHeight so the dialog will have a reasonable size again

* limit shell-version to 40 since it is not backwards compatible right now

* called _updateBackgrounds in layoutManager ,fixed overview <-> _overview typo?

* pass Settings instead of Settings._settings to BuilderScope

* workaround for showAppsIcon (_showAppsButton seems to be no longer be available)

* replaced newlines in the ui file with the newline unicode symbol, so code block collapsing works peroperly

* moved the scrolled window directly into each notebook tab, so the tab headers are always visible

* fixed taskbarListBox children loops

* commented non working elements out (panel on left/right, import/export settings, update)

* renamed Settings to Preferences to avoid confusion with dconf settings object

* updated this.widget to this.notebook

* fixed dialogs size and expand

* fixed window preview options having too many columns

* removed all packing with expand/fill/position (already uncommented)

* removed menu arrows since they are no longer recommended for gnome40

* removed adjustScrollableHeight, default sizes are acceptable

* updated ui required version to gtk 4.0

* updated path to dash.showAppsButton

* fixes for showAppsButton

* fixed clickToExit

* fixed import/export settings

* added disable show overview on startup option

* removed old show apps animation

* fixed panel on left/right side

* fixed scroll on volume icon

no longer will scrolling on the volume icon switch workspaces as well

* commented some setFocusedMonitor support out, caused issues on Xorg

* removed oldDash

* updated hide overview on startup, no longer closes overview after suspend etc

* removed _newOverviewRelayout

* removed _newUpdateWorkspacesViews

* commented setFocusedMonitor out completly, because show overview on non primary monitor does not work properly for now

* fixed typo

* fixed merging error

* check if func is valid in hookVfunc

* updated ui to gtk4, fixed merging error

* fixed layout for apply changes to all monitors

* fix behaviour tab and app icon margin/padding grid

* fix animate launching new windows grid row

* fixed about tab

Co-authored-by: Cole Gerdemann <corvettecole@gmail.com>
2021-05-08 09:07:25 -04:00
l3nn4rt
a7620fc2cd Preserve backward compatibility 2020-10-06 15:17:51 +02:00
l3nn4rt
13c625a053 One-liner find visible view 2020-10-06 01:11:18 +02:00
l3nn4rt
fa6e02c78c Fix #1172: switch workspace on thumbnail clicked
If you click a thumbnailed window within a workspace preview, the shell
behaves as expected; if you click a thumbnailed background, the overview
is closed.

Fix it by activating the workspace whose the picked actor is the
thumbnailed background.
2020-10-06 00:12:18 +02:00
l3nn4rt
ecdd7dbbed Fix #1184: handle swipes properly 2020-09-23 18:44:16 +02:00
Charles Gagnon
094e70325b Add initial 3.38 adjustments 2020-08-22 10:18:31 -04:00
Jason DeRose
e899ee1f5e add frequent app view to swipe tracking 2020-08-19 08:31:33 -04:00