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

App window is hidden behind the vertical taskbar with vertical taskbar #3443

Open
Martin-Z4 opened this issue Jun 15, 2021 · 8 comments
Open
Labels
bug confirmed bug approved by the team feature: ☁️ GUI System tray icon and menu.

Comments

@Martin-Z4
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

==============================

There are 2 issues.

  1. when the windows 10 taskbar is set to vertical on the left screen, then the nextcloud app is hidden behind the taskbar.
    Image

  2. It is not possible to move the Nextcloud window with the mouse to work around issue 1.
    Also the app should remember the new position and always use this.

Expected behaviour

The Nextcloud window should be located on the lower left screen corner but right of the taskbar.

Actual behaviour

The Nextcloud window is located on the top left screen corner and hidden behind the vertical taskbar.

Steps to reproduce

  1. Right click on the windows taskbar and unlock it, then drag the taskbar with the mouse to the left screen edge.
  2. Start Nextcloud desktop app and click on the tray icon to display the main window.

Client configuration

Client version: 3.2.2 "Nextcloud-3.2.2-x64.msi"

Operating system: Windows 10 Pro x64, 20H2, 10.0.19042 (19042.928)

OS language: german

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Installation path of client:
C:\Program Files\Nextcloud

Server configuration

Nextcloud version:

Storage backend (external storage):

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

  1. Client logfile:
    Since 3.1: Under the "General" settings, you can click on "Create Debug Archive ..." to pick the location of where the desktop client will export the logs and the database to a zip file.
    On previous releases: Via the command line: nextcloud --logdebug --logwindow or nextcloud --logdebug --logfile log.txt
    (See also https://docs.nextcloud.com/desktop/3.0/troubleshooting.html#log-files)

  2. Web server error log:

  3. Server logfile: nextcloud log (data/nextcloud.log):

@Martin-Z4 Martin-Z4 added the bug label Jun 15, 2021
@FlexW
Copy link

FlexW commented Jun 17, 2021

@Martin-Z4 could you please post some screenshots so everyone can better see what the problem is.

Issue 2 that you describe is by design and it's very unlikely that this will be changed in the near future.

EDIT: The problem occurs not only in Windows but also on Linux (for example with Plasma).

@FlexW FlexW added confirmed bug approved by the team feature: ☁️ GUI System tray icon and menu. labels Jun 17, 2021
@FlexW FlexW changed the title App window is hidden behind the vertical taskbar, Windows 10 with vertical taskbar App window is hidden behind the vertical taskbar with vertical taskbar Jun 17, 2021
@Martin-Z4
Copy link
Author

@FlexW
Copy link

FlexW commented Jun 17, 2021

@Martin-Z4 thanks. Btw you can directly paste an image into the message box. It will then appear inline. No need to upload it somewhere.

@VadimKudrin
Copy link

Same issue. Is there a solution or workaround?
Screenshot_1

@fkbreitl
Copy link

Same here with version 3.9.4.
Please fix!
image

@popindavibe
Copy link

popindavibe commented Nov 27, 2023

Same issue on GNU/Linux, with a vertical window / task bar.

image

Issue has been there since the beginning.

@bkidwell
Copy link

I am affected by this issue -- my experience matches the screenshots.

This window should be created inside the "available desktop area", not pinned to the left edge of the primary display. Your toolkit framework should be capable of positioning the window correctly or telling the client program what the specs of the "available desktop area" are.

@bkidwell
Copy link

bkidwell commented Apr 4, 2024

This is a deal-breaker issue for me. With no movement on the issue, I feel like Nextcloud doesn't actually support standard desktop environments, most of which allow you to place toolbars on the left edge of the display which subtract area from the "available desktop area".

Workaround

Fortunately, I have come up with a workaround that works for me, in Windows at least. Short short version:

Install Autohotkey and create a script -- for example, in %userprofile%\Scripts\nextcloud-fix.ahk:

HotIfWinActive "Nextcloud"
F1:: WinMove 300, 100, , , 'Nextcloud'
HotIfWinActive

This will:

  1. Bind to [F1].
  2. only if the active window has the title "Nextcloud".
  3. Use the WinMove function to find a window with title "Nextcloud" and move it to x=300,y=100.

Make a shortcut to this script in the Startup folder of your start menu (create the folder if needed): %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. This will load your script every time you login. Also execute the script now so you don't have to logout or reboot.

To use the workaround script after you've started it, click Nextcloud in your system tray and then hit F1 to run the window move macro.

I confirmed this worked for me right now on my Windows desktop.

I think a similar solution would be possible in Linux with other macro tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed bug approved by the team feature: ☁️ GUI System tray icon and menu.
Projects
None yet
Development

No branches or pull requests

8 participants