nextcloud / tasks

:white_check_mark: Tasks app for Nextcloud
https://apps.nextcloud.com/apps/tasks
GNU Affero General Public License v3.0
572 stars 99 forks source link

[Bug]: Notes won't open in tasks app #2610

Closed venator42 closed 3 months ago

venator42 commented 3 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

After updating from 29.0.2 to 29.0.3 the tab 'notes' doesn't open anymore. The tab 'details' stays open.

Interestingly, the bug changes when I change the language from german to english (my guess is that the german words are longer)

In german the tab is not visible. In english the tab is almost 50/50 with the details tab. Generally, the tab becomes a bit visible if I resize the windows (make it wider)

I tested this with Firefox and Chromium and in both browsers the bug is the same.

Steps to reproduce

  1. Go to tasks app and click on a task
  2. Click on 'notes'

Expected behavior

The tab with notes should open.

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

raimund-schluessler commented 3 months ago

Which version of Tasks do you use?

venator42 commented 3 months ago

The version of Tasks is 0.16.0

raimund-schluessler commented 3 months ago

I cannot reproduce this issue. Nextcloud server 29.0.3 and Tasks 0.16.0 shows the notes tab just fine. Could you try to clear the caches of your browser? Please also post a screenshot of the issue.

venator42 commented 3 months ago

nextcloud_tasks_notes_bug

Clearing the browser cache does not fix the problem unfortunately. I can observe this behavior on different browser / devices /users.

raimund-schluessler commented 3 months ago

That is basically impossible to debug for me. It most likely is some CSS rule interfering with the layout. It could be custom CSS you added, or any other (maybe uncommon) app. You will have to take a look yourself with the site inspector of your browser.

If it is an option for you, you could provide a test account on one of your servers showing the issue, so I can have a look. But that is up to you.

venator42 commented 3 months ago

I did some quick testing with developer tools in firefox and found out the following:

If I uncheck display: flex from .app-sidebar .app-sidebar-tab, .event-popover .event-popover__inner .app-sidebar-tab the behavior is just as expected.

The above mentioned CSS classes are from app-sidebar.scss:56 according to Firefox Devtools.

I will try to update some apps where an update is available.

Edit: In a second nextcloud instance the tab does have different CSS classes and the file is tasks-main.css instead of app-sidebar.scss.

venator42 commented 3 months ago

Solved. After updating Deck, Calendar and Talk (dont know which one did the trick 😕) the CSS is fixed.