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

When launching unique dialogs / tabs, bring them into focus #1279

Open
Sebastian-ubs opened this issue Nov 8, 2024 · 5 comments
Open

When launching unique dialogs / tabs, bring them into focus #1279

Sebastian-ubs opened this issue Nov 8, 2024 · 5 comments
Labels
enhancement New feature or request ux UX design needed

Comments

@Sebastian-ubs
Copy link
Contributor

Sebastian-ubs commented Nov 8, 2024

User Story
As a user, I want to receive feedback on doing an action (like clicking a menu entry) also for tabs / dialogs that are unique, so that I can see where I have to focus to continue my workflow.

Description
See https://discord.com/channels/1064938364597436416/1304396273142730772
If current (may be hidden behind other tabs)

  • bring it to the top
  • make it flash (visual effect)
  • make it the active-active tab

Requires

@Sebastian-ubs Sebastian-ubs added enhancement New feature or request ux UX design needed labels Nov 8, 2024
@Sebastian-ubs Sebastian-ubs moved this to 📥 For Consideration in Paranext Nov 8, 2024
@tjcouch-sil
Copy link
Member

Regarding anything around "active tab" and focus, we do not currently have anything for this. This is a very complex and difficult subject. It is unfortunately very challenging to track focus on an iframe.

See #662

javascript - Setting focus to iframe contents - Stack Overflow

javascript - Detecting when an iframe gets or loses focus - Stack Overflow

Edit fiddle - JSFiddle - Code Playground

@Sebastian-ubs
Copy link
Contributor Author

Thank you for sharing. This is important information!

@Sebastian-ubs
Copy link
Contributor Author

From what I've seen an existing tab is also not getting to the top. Is this expected right now?

@tjcouch-sil
Copy link
Member

I'd say it's more indeterminate than unexpected. We didn't do any work to try to make anything happen in particular, so I guess whatever the dock layout is coded to do is what it does.

@tombogle
Copy link
Contributor

I think I also noticed this today. With the settings view open (either maximized or covering the majority of the main window client area), commands like Open Scripture Editor or Paratext Registration Information seemed to do nothing, when in fact they were busily opening views behind the settings window. This makes the program pretty much impossible to use for normal users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux UX design needed
Projects
Status: 📥 For Consideration
Development

No branches or pull requests

3 participants