Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

titlePreface behavior when disabled #1948

Open
irvinm opened this issue Jan 3, 2025 · 0 comments
Open

titlePreface behavior when disabled #1948

irvinm opened this issue Jan 3, 2025 · 0 comments

Comments

@irvinm
Copy link

irvinm commented Jan 3, 2025

Steps to reproduce

The bottom line is that when the Sidebery option is disabled, showing or hiding the sidebar should have no impact on the titlePreface. It appears to me that this code is called and sets titlePreface when sidebar is hidden.

IPC.onDisconnected(InstanceType.sidebar, winId => {
Logs.info('IPC.onDisconnected sidebar', winId)
if (Settings.state.markWindow && Windows.byId[winId]) {
browser.windows.update(winId, { titlePreface: '' })
}
})

image

There is a discussion on this in the other repository. Since there is no way to "query" the titlePreface so I can't think of a way to work around this from the other addon.

irvinm/Toggle-Native-Tab-Bar#4

Actual behavior

  • With "Add preface to the browser window's title if sidebar is active" set to OFF and hiding the sidebar seems to make changes to the titlePreface.

Expected behavior

  • Leaving "Add preface to the browser window's title if sidebar is active" set to OFF should not make any changes to the titlePreface regardless of the visibility state of the sidebar.

System

Windows 11

Firefox version

FF133 & FF134

Sidebery version

v5.2

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant