-
Notifications
You must be signed in to change notification settings - Fork 806
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
Fix File Activities dialog not showing up. #4867
Fix File Activities dialog not showing up. #4867
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks window positioning on some OSes (like macOS)
The window appears under the system tray window and also behind other windows
@claucambra Any ideas on how to fix it alternatively, such that we don't have a bug of this dialog not showing up until manually opening the Systray as it happens now on Windows? |
@claucambra I've added a video demonstration to the description |
Codecov Report
@@ Coverage Diff @@
## master #4867 +/- ##
==========================================
- Coverage 57.23% 57.21% -0.02%
==========================================
Files 138 138
Lines 17144 17144
==========================================
- Hits 9812 9809 -3
- Misses 7332 7335 +3
|
It is almost certain that the issue is with I am not sure why this is an issue for the file activity dialog window and not for other windows (maybe those get a call to |
Yes, I have tried fixing the show/hide code in CPP, and it didn't help. Now I have changed the order of calls in QML and it seems to have fixed the issue. Let me know your thoughts. |
AppImage file: Nextcloud-PR-4867-14ad0c9d41c6dae173963ecd794e6ffb5224fb53-x86_64.AppImage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works fine on macOS and KDE :)
Signed-off-by: alex-z <blackslayer4@gmail.com>
…ce to fix the issue of Activities dialog not being shown. Signed-off-by: alex-z <blackslayer4@gmail.com>
14ad0c9
to
ba9a398
Compare
Kudos, SonarCloud Quality Gate passed! |
Signed-off-by: alex-z blackslayer4@gmail.com
Playing around with Systray by calling the following methods
leads to FileActivityDialog sometimes showing up and sometimes no, completely randomly.
I am not completely sure why this happens, but, removing those calls seems to fix the issue. The dialog shows up in the center of the screen without centering it.
UPDATE: I have added a second commit with an alternative solution.
The bug can be observed in a video:
file_activities_dialog_won.t_show_up.mp4