Repository navigation
Golden Gate: рабочие столы и кнопка обзора в строке меню / the desktops and an overview button in the menu bar - #152
Closed
Alastor1991 wants to merge 3 commits into
Closed
Alastor1991 wants to merge 3 commits into
Alastor1991 wants to merge 3 commits into
Conversation
…tings → Appearance) The Golden Gate menu bar had no desktops at all (the pixel taskbar, which has them, is hidden in the skin), and Desktop on angel-niri keeps no empty desk at the end, so without the touchpad gesture or the overview keys there was no way to see the desks or to open a new one. modules/mac/MacDesks.qml, one copy at each place in MacMenuBar: - mac.barDesks: off (the default, as on a Mac) | numbers | dots. A click goes to the desk, the wheel switches, a right click opens Mission Control; "+" at the end opens a new desk (OpenSpareWorkspace, as Mission Control's "+"), not shown while the last desk is empty. - mac.barDesksLit: all (the one in front filled, the empty ones paler, one with a window asking for attention red, from niri's is_urgent) | current | none. - mac.barOverview: off | niri (niri's overview, as Control Center's Mission Control) | mission (angelOS's Mission Control); lit while it is open. - mac.barDesksAt / mac.barOverviewAt: left (before the emblem) | icons (left of the status icons) | clock (by the clock); together, the button goes first. In the skin's choices and reset lists, the settings search words and GOLDEN-GATE.md. Checked in a nested niri: every place, numbers and dots, "+" gone on a new empty desk, a red desk after a bell in kitty, the settings search. qml-check: 720 files, 0 errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…on, the menus' places From a review of this PR: - the menus' places (MacMenus.titleX, the keyboard's ⌃F2 and ←/→) went stale when the desks or the overview button on the left changed width: the titles' row now records them when it moves; - going to a desk and the wheel over a screen's desks are WorkspaceAnim.goDesk/stepDesk, used by the pixel taskbar's Workspaces too (the wheel reaches desk 0 from the menu bar now); the "+" is WindowConfig.newDeskShown + Niri.openSpareDesk, used by Mission Control too (going by niri's own test: any window on the last desk, hidden ones too); - the overview button is the menu bar's status button (MacStatusButton.qml, the old inline StatusButton now wraps it), no third look of its own; - the urgent red is Theme.danger; angel-niri's clean desk 0 is the first cell; the spare desk filter is gone (niri leaves that desk out of its list itself); copies that show no desks count none; Mission.open/toggle take the screen, so the right click opens it there. qml-check: 721 files, 0 errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ission Control GOLDEN-GATE.md: the Mac keys' table said ⌃↑ and F3 open niri's overview, they run `angelos open mission` (niri's overview is Mod+Alt+Tab); the skin's settings row points at catalog/Mac.qml and lists the desks and the overview button. README.md, README.ru.md: the menu bar's optional desks and button. MacMenuBar.qml's and Mission.qml's headers say where the desks stand and which screen Mission Control opens on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MixaDoDs
pushed a commit
that referenced
this pull request
Nov 3, 2026
… one a line Every new Golden Gate setting touched two one-line lists in services/GoldenGate.qml: _watched (what triggers sanitize) and themeKeys (what «Reset the theme» puts back). So any two PRs adding a setting conflicted there (#141, #145, #149, #152, #153 do, pairwise). - _watched is built from the keys of limits and choices: a key with a range or a list of choices is watched by being there (lightFrom and darkFrom, in limits but missing from the old list, are watched now too); - themeKeys, limits and choices hold one key a line, in order, so new settings land on lines of their own. No change in behaviour otherwise. qml-check: 719 files, 0 errors; the Golden Gate system tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Зачем
В строке меню Golden Gate рабочих столов не было совсем, а пиксельная панель, где они есть, в этом скине скрыта. Desktop на angel-niri не держит пустого стола в конце, поэтому без жеста на тачпаде или клавиш обзора нельзя было ни увидеть столы, ни открыть новый.
Что добавлено
modules/mac/MacDesks.qml, по копии в каждом местеMacMenuBar. Настройки → Golden Gate → Внешний вид:mac.barDesks): нет (по умолчанию, как на Mac), номера, точки. Клик переходит на стол, колесо листает, правый клик открывает Mission Control. «+» в конце открывает новый стол (OpenSpareWorkspace, как «+» в Mission Control) и не показывается, пока последний стол пуст.mac.barDesksLit): все состояния (стол спереди закрашен, пустые бледнее, стол с окном, которое просит внимания, красный, поis_urgentniri), только текущий, без подсветки.mac.barOverview): нет, обзор niri (как Mission Control в Пункте управления), Mission Control angelOS. Пока обзор открыт, кнопка подсвечена.mac.barDesksAt,mac.barOverviewAt): слева перед эмблемой, перед значками, у часов. В одном месте кнопка встаёт перед столами.Ключи добавлены в
choicesи в сброс темы, слова для поиска вsettings-keywords.json, описание вGOLDEN-GATE.md.С другими PR
Строки
choices,_watchedиthemeKeysвGoldenGate.qmlменяют и #141, #149, а в строке меню островки из #141 держат левый островок поtitles. С островками левый островок должен начинаться отleftDesks, если столы или кнопка стоят слева. У меня это проверено на сборке с #141.Проверено
Во вложенном niri с angel-niri: все три места, номера и точки, «+» пропадает на новом пустом столе и возвращается, красный стол после звонка в kitty на неактивном столе, поиск по настройкам.
scripts/qml-check.sh: 720 файлов, 0 ошибок. Кликов мышью по кнопке и «+» я не проверял, «+» проверен командойopen-spare-workspace --output.EN
The Golden Gate menu bar had no desktops at all (the pixel taskbar, which has them, is hidden in the skin), and Desktop on angel-niri keeps no empty desk at the end, so without the touchpad gesture or the overview keys there was no way to see the desks or open a new one.
modules/mac/MacDesks.qml, one copy at each place inMacMenuBar. Settings → Golden Gate → Appearance:mac.barDesks): off (the default, as on a Mac), numbers, dots. A click goes to the desk, the wheel switches, a right click opens Mission Control; "+" at the end opens a new desk (OpenSpareWorkspace, as Mission Control's "+"), not shown while the last desk is empty.mac.barDesksLit): every state (the one in front filled, the empty ones paler, one with a window asking for attention red, from niri'sis_urgent), current only, none.mac.barOverview): off, niri's overview (as Control Center's Mission Control), angelOS's Mission Control; lit while it is open.mac.barDesksAt,mac.barOverviewAt): left before the emblem, before the icons, by the clock; together, the button goes first.In the skin's choices and reset lists, the settings search words and
GOLDEN-GATE.md. #141 and #149 touch the sameGoldenGate.qmllines; with #141's islands the left island should start atleftDeskswhen something stands on the left (checked on a build with #141).Checked in a nested niri with angel-niri: every place, numbers and dots, "+" gone on a new empty desk and back, a red desk after a bell in kitty on another desk, the settings search. qml-check: 720 files, 0 errors. Mouse clicks on the button and "+" not checked; "+" checked with
open-spare-workspace --output.🤖 Generated with Claude Code