- 25 Nov, 2022 30 commits
-
-
Jonas Ådahl authored
Getting warnings are always bad and means something is broken, we shouldn't pass the test suite with them. Part-of: <!1349>
-
Jonas Ådahl authored
This allows neat tricks like first arranging the script `fakegdb`: ```sh function ignore_gdb_arg() { if [[ "$1" == "--quiet" ]] || [[ "$1" == "--args" ]]; then return 1 else return 0 fi } ignore_gdb_arg "$1" || shift ignore_gdb_arg "$1" || shift echo exec "$@" ``` then running ```sh meson test -C build -v perf-basic --test-args '--wrap "gdb --args"' --gdb --gdb-path `which fakegdb` ``` To make it possible to run the perf test case with gdb running the actual gnome-shell. Part-of: <!1349>
-
Jonas Ådahl authored
Part-of: <!1349>
-
Jonas Ådahl authored
They don't measure performance, and we don't want to have to install gnome-backgrounds, so bundle a solid color background image to use instead. Part-of: <!1349>
-
Jonas Ådahl authored
This test runs all of GNOME Shell using the headless backend inside a mocked D-Bus environment. The basic test tests, well, basic things, like the panel menu, the overview, showing the app grid view, as well as going back to the session view. Part-of: <!1349>
-
Jonas Ådahl authored
The new one includes a newer python-dbusmock. Part-of: <!1349>
-
Jonas Ådahl authored
This avoids trying to deal with handling windows being unmanaged one by one after we destroyed the ShellGlobal. Part-of: <!1349>
-
Jonas Ådahl authored
This avoids having animating timelines on invisible and detached actors. This also silences some warnings about the timeline being running without being attached to the stage. Part-of: <GNOME/gnome-shell!1349>
-
Jonas Ådahl authored
This ensures it's properly disconnected on shutdown. Part-of: <!1349>
-
Jonas Ådahl authored
If one wants to run tests the non-installed gnome-shell, that currently fails as gnome-shell the executable attempts to link against ./build/src/libgnome-shell.so, but when GObject introspection tries to find what library to link to for Shell, it goes to the installed libgnome-shell.so, causing two different versions of libgnome-shell.so to be loaded. This, however, can be avoided thanks to meson adding $ORIGIN paths to relevant libraries before installing an executable. What this means in practice is that we can inspect ourself upon startup, discover whether the RPATH/RUNPATH header contains $ORIGIN, and if so, expand it to the directory containing the executable, and prepend the introspection search paths with said directory. This effectively means that the introspection machinery now finds the same library that the linker linked the gnome-shell executable with, making it run successfully. It's not possible to use $GI_TYPELIB_PATH since g_irepo...
-
Jonas Ådahl authored
Tearing down gjs means that we won't have any dangling references kept alive by GC or otherwise alive Javascript objects, when we finally tear down the mutter context. This allows for a clean shutdown of GNOME Shell. Part-of: <!1349>
-
Jonas Ådahl authored
Move back actors that were adopted from mutter (window_group, top_window_group, the feedback group) from the uiGroup to the stage, and then destroy the uiGroup. This will tear down more or less all of GNOME Shells actors gracefully. Part-of: <!1349>
-
Jonas Ådahl authored
This avoids a lot of otherwise invalid signal handler invokations if we would later attempt to terminate the gjs and mutter context. Part-of: <GNOME/gnome-shell!1349>
-
Jonas Ådahl authored
This will allow the shell to tear things down more gracefully. Part-of: <!1349>
-
Jonas Ådahl authored
Part-of: <!1349>
-
Jonas Ådahl authored
Start to use it instead of using g_object_get(). Part-of: <!1349>
-
Jonas Ådahl authored
The nPages property can be 0, which is the case in a stripped down CI image without a single app to be listed, which means we can't clamp to `nPages - 1`, since that'll give us a negative index and the following error: (gnome-shell:266): Gjs-CRITICAL **: 16:48:56.633: JS ERROR: Error: Page -2 does not exist at IconGrid getItemsAtPage@resource:///org/gnome/shell/ui/iconGrid.js:1383:19 _translatePreviousPageIcons@resource:///org/gnome/shell/ui/appDisplay.js:323:34 _syncPageIndicators@resource:///org/gnome/shell/ui/appDisplay.js:396:14 goToPage@resource:///org/gnome/shell/ui/appDisplay.js:445:14 goToPage@resource:///org/gnome/shell/ui/appDisplay.js:1236:29 goToPage@resource:///org/gnome/shell/ui/appDisplay.js:1582:15 _init/<@resource:///org/gnome/shell/ui/appDisplay.js:499:18 _init/pagesChangedId<@resource:///org/gnome/shell/ui/iconGrid.js:1137:24 _removePage@resource:///org/gnome/shell/ui/iconGrid.js:454:14 _removeItemData@resource:///org/gnome/shell/ui/iconGrid.js:495:18 moveItem@resource:///org/gnome/shell/ui/iconGrid.js:854:14 moveItem@resource:///org/gnome/shell/ui/iconGrid.js:1277:29 _moveItem@resource:///org/gnome/shell/ui/appDisplay.js:1194:20 _redisplay/<@resource:///org/gnome/shell/ui/appDisplay.js:1085:22 _redisplay@resource:///org/gnome/shell/ui/appDisplay.js:1080:17 _redisplay@resource:///org/gnome/shell/ui/appDisplay.js:1370:15 _init/<@resource:///org/gnome/shell/ui/appDisplay.js:633:24 _initializeManager@resource:///org/gnome/shell/misc/parentalControlsManager.js:95:14 async*_init@resource:///org/gnome/shell/misc/parentalControlsManager.js:63:14 ParentalControlsManager@resource:///org/gnome/shell/misc/parentalControlsManager.js:55:4 getDefault@resource:///org/gnome/shell/misc/parentalControlsManager.js:42:22 start@resource:///org/gnome/shell/ui/main.js:184:29 @resource:///org/gnome/shell/ui/init.js:6:17 Part-of: <!1349>
-
Jonas Ådahl authored
Running dispose on the setting causes issues when we're being destroyed, as the signal handler in the GSettings binding will be cleared by the GObject itself before it has the chance, resulting in warnings. Part-of: <!1349>
-
Jonas Ådahl authored
It was added, as there was a previous signal disconnect in this function, but it happened to be dead code, and the disconnectObject() call was added in error. Remove it. Fixes: 26235bbe Part-of: <!1349>
-
Jonas Ådahl authored
This adds a dbus-runner ala meta-dbus-runner.py. It extends the one used in mutter, and adds various mocked services needed by gnome-shell. Part-of: <!1349>
-
Jonas Ådahl authored
This is a shrunk copy of the accounts_service.py service previously found in upstream python-dbusmock. It also adds parental control properties to make GNOME Shell happy. Part-of: <!1349>
-
Jonas Ådahl authored
With meta_exit() we bypass the tear down procedures, making the test case excercising much less code paths. Use meta_context_terminate() instead, as that exits the main loop and goes through proper shutdown. Part-of: <!1349>
-
Jonas Ådahl authored
This avoids the helper process exiting with an error due to a broken pipe. Part-of: <!1349>
-
Jonas Ådahl authored
Part-of: <!1349>
-
Jonas Ådahl authored
This will use the headless mode of the native backend, and create a 1280x720 virtual monitor, for running the perf test in. Part-of: <!1349>
-
Jonas Ådahl authored
Otherwise the perf tool will fork and spawn a gnome-shell process that'll just go and fail. Part-of: <!1349>
-
Jonas Ådahl authored
This is purely to see that things are happening when running this test. Part-of: <!1349>
-
Since commit 7bd98f3f the onComplete callback is called right away when animations are disabled. As side effect, now this._coverPane gets shown/hidden in the wrong order. Start the animation after setting this._coverPane initial state, so that the animation callback can set the this._coverPane final state without it being overwritten later. Move the animation also after emitting the showing and hiding signals. So that the order showing -> shown and hiding -> hidden is still preserved when animations are disabled. Closes: #6096 Part-of: <!2532>
-
This give us more control on when the preparation happens and will be used in the subsequent commit. Part-of: <!2532>
-
Move preparation code into their own functions. These functions will be used in order to separate the animation control into two steps. Part-of: <!2532>
-
- 24 Nov, 2022 2 commits
-
-
- rework the entry style to work in both hc and normal - rework drawing functions to accommodate hc - buttons all get borders under hc now - window picker titles are more legible - alt+tab switcher tiles are visible - dash is made more visible under hc - popover menus are all more visible under hc - search results borders are improved - calendar days have a different look under hc - overview bg is completely black in hc Part-of: <!2527>
- 22 Nov, 2022 1 commit
-
-
(cherry picked from commit e68d987d)
-
- 20 Nov, 2022 1 commit
- 19 Nov, 2022 2 commits
-
-
All the new portals dialog mockups have "Deny/Allow" buttons. Rename them. https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/portals.png Part-of: <!2544>
- 18 Nov, 2022 3 commits
-
-
Florian Müllner authored
The indicator needs special styling for the color, but we still want it to pick shared 'system-status-icon' styling like the icon size. #6008 Part-of: <!2547>
-
The old custom overrides mechanism was superseded by session-specific defaults back in 2018. By now any potential consumers (like gnome-tweaks) should have adjusted, so time to remove it. Part-of: <!2517>
-
We currently initialize regions in all code paths except for the greeter. But while there are no windows on the login screen, the work area can still be used for positioning, for example for notifications. Part-of: <!2546>
-
- 17 Nov, 2022 1 commit
-
-
Florian Müllner authored
Commit 637ee738 accidentally dropped all parameters from the method invocation when changing a .bind() handler to an arrow function. Part-of: <!2545>
-