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

Main Dialog unreachable due to loss of focus #2646

Open
gav- opened this issue Nov 18, 2020 · 5 comments
Open

Main Dialog unreachable due to loss of focus #2646

gav- opened this issue Nov 18, 2020 · 5 comments
Labels
enhancement enhancement of a already implemented feature/code feature: ☁️ GUI System tray icon and menu. os: 🐧 Linux
Milestone

Comments

@gav-
Copy link

gav- commented Nov 18, 2020

Expected behaviour

Click on tray icon, opens main dialog, move mouse into main dialog.

Actual behaviour

Main dialog opens with a space between panel and dialog window, moving mouse towards main dialog causes a loss of focus (to window beneath) in between panel and dialog window, dialog instantly disappears.

Steps to reproduce

  1. Have any other window open and against panel

  2. Click on tray icon, main dialog opens with space showing window underneath
    nextcloud-window-problem

  3. Try to move mouse into main dialog shifts focus to window beneath, and dialog instantly disappears

Client configuration

Client version: 3.0.3-20201101.082922.78da725ac-1.0~focal1

Operating system: Mint 20, Mate Desktop Environment

OS language: English

Qt version used by client package (Linux only, see also Settings dialog): Can't find this anywhere in Settings dialog. ldd shows libQt5Core.so.5.12.8 appears to be used

Client package (From Nextcloud or distro) (Linux only): nextcloud-devs ppa

Installation path of client: N/A

@er-vin
Copy link
Member

er-vin commented Nov 18, 2020

You got focus follow mouse I guess?

@er-vin er-vin added design enhancement enhancement of a already implemented feature/code os: 🐧 Linux labels Nov 18, 2020
@gav-
Copy link
Author

gav- commented Nov 18, 2020 via email

@er-vin
Copy link
Member

er-vin commented Nov 18, 2020

OK, indeed that would cause it. @jancborchardt any opinion?

@jancborchardt
Copy link
Member

@er-vin Simple fix would be that we simply move the dialog a bit up to stick to the top bar? Doesn’t necessarily look good but works.

For a nice-looking solution: Not sure if it’s possible with Qt capabilities to fix the issue and keep the nice style which visually separates it a bit from the top bar, e.g. via having a thick transparent border of sorts, which is part of the window but makes the windows below shine through. @allexzander @DominiqueFuchs ideas?

@eugene-bright
Copy link

Is there an option to disable window closing on focus loss?

@jancborchardt jancborchardt moved this to 🧭 Planning evaluation / ideas in 🖍 Design team Aug 27, 2024
@claucambra claucambra added this to the 3.16.0 milestone Nov 21, 2024
@Rello Rello removed design labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement of a already implemented feature/code feature: ☁️ GUI System tray icon and menu. os: 🐧 Linux
Projects
Status: 🧭 Planning evaluation / ideas
Development

Successfully merging a pull request may close this issue.

7 participants