desktop
desktop copied to clipboard
[Bug]: Client Window is hidden by taskbar on left side (Win11)
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
The window opened by the tray icon., is always on left side, even if the taskbar is located there. This covers it up. This already worked in Windows 10, but apparently not in Windows 11.
NextCloud client should use the working area to determine the left position.
#include <windows.h>
int main() {
MONITORINFO monitorInfo;
monitorInfo.cbSize = sizeof(MONITORINFO);
GetMonitorInfo(MonitorFromWindow(GetConsoleWindow(), MONITOR_DEFAULTTOPRIMARY), &monitorInfo);
LONG left= monitorInfo.rcWorkArea.left.;
}
I tried the method and rcWorkArea gets the correct position.
Steps to reproduce
- Taskbar on left side
- Open NextCloud by clicking the icon
Expected behavior
Windows position is inside working area and not hidden.
Which files are affected by this bug
?
Operating system
Windows
Which version of the operating system you are running.
Windows 11
Package
Appimage
Nextcloud Server version
0.0.0
Nextcloud Desktop Client version
3.12.0
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
No response
Additional info
No response