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

[Bug]: Apps UI not working in WebKit browsers (Safari, iOS/iPadOS, GNOME/Epiphany) #42249

Closed
5 of 8 tasks
BJKle opened this issue Dec 13, 2023 · 49 comments · Fixed by #44236
Closed
5 of 8 tasks

[Bug]: Apps UI not working in WebKit browsers (Safari, iOS/iPadOS, GNOME/Epiphany) #42249

BJKle opened this issue Dec 13, 2023 · 49 comments · Fixed by #44236

Comments

@BJKle
Copy link

BJKle commented Dec 13, 2023

⚠️ This issue respects the following points: ⚠️

Bug description

When selection any app in the "your apps" "active apps" "disabled apps" section always the same app will be displayed. E.g. selection "Activity" -> "Versions" is displayed. Scrolling doesn't work as well.
Screenshot 2023-12-13 at 21 53 33

Steps to reproduce

  1. Open Apps
  2. Select an app to manipulate
  3. in my case "Versions" is displayed

Expected behavior

The selected app should be displayed to enable/disable

Installation method

None

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MariaDB

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

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@BJKle BJKle added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 13, 2023
@joshtrichards joshtrichards changed the title [Bug]: Apps not working [Bug]: Apps management UI not working Dec 13, 2023
@joshtrichards
Copy link
Member

Hi @BJKle - I'm unable to reproduce this behavior. Can you try a different browser and/or device and/or disable extensions like ad blockers?

If it persists after that, please share what browser(s) and OSes you're seeing this behavior on. Thanks!

@tiptoptrash
Copy link

Hi @joshtrichards: I have the same problem.
Using Safari on macOS Sonoma, iOS 14.2 and iPadOS 14.2, the problem ist present.
Using Firefox on macOS Sonoma, the problem is not reproducible.

Affected are the list under "Your apps", "Active apps", "Disabled apps", "App bundles" and "Feautured apps". All those lists are static and cannot be scrolled.
The other items starting with "Customization" behave totally normal.

I hope, that helps, thanks a lot!

@BJKle
Copy link
Author

BJKle commented Dec 14, 2023

@joshtrichards
I can't test another browser. Only safari is allowed on my system (macOS 14.2/M1). All others are blocked by admin.

Edit:
@joshtrichards I tried it on someone else PC scrolling and selecting is working on Chrome. It seems to be a Safari specific Problem. I have Safari 17.2.1.

@BJKle

This comment was marked as resolved.

@joshtrichards joshtrichards changed the title [Bug]: Apps management UI not working [Bug]: Apps management UI not working in Safari Dec 22, 2023
@derrickpeavy
Copy link

Can affirm:

Using Safari on macOS Monterey (12.7.1), Safari 17.1, the problem is present.
Using Firefox on macOS Monterey (12.7.1), no problems.

This problem IS still present in NextCloud 28.0.1.

Pretty sure this is a CSS change that was introduced with 28.0.0.11, the list of apps will not scroll and clicking to enable or disable any app simply brings up an info panel on some other app which was not clicked.

@BJKle BJKle changed the title [Bug]: Apps management UI not working in Safari [Bug]: Apps management UI not working in Safari and iOS/iPadOS Jan 2, 2024
@BJKle
Copy link
Author

BJKle commented Jan 2, 2024

I tried different browsers (FF/Edge) on iOS/iPadOS and is not working as well.
This really needs to get fixed.

@joshtrichards joshtrichards added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jan 2, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Jan 2, 2024

Reproduced successfully in GNOME Web (Epiphany) [V43 as distributed with Debian bookworm], which is also WebKit based just like all reported browser scenarios so far.

@BJKle

This comment was marked as off-topic.

@joshtrichards joshtrichards changed the title [Bug]: Apps management UI not working in Safari and iOS/iPadOS [Bug]: Apps management UI not working in WebKit browsers (Safarii, iOS/iPadOS, GNOME/Epiphany) Jan 13, 2024
@joshtrichards joshtrichards changed the title [Bug]: Apps management UI not working in WebKit browsers (Safarii, iOS/iPadOS, GNOME/Epiphany) [Bug]: Apps UI not working in WebKit browsers (Safari, iOS/iPadOS, GNOME/Epiphany) Jan 13, 2024
@cloudguy23
Copy link

I'll add that Forms app is also affected. I'm able to create forms, complete, and share forms via Safari. However, a user will encounter an error - "There was an error submitting the form" - when submitting a form that was shared with them via Safari. Chrome, Brave, Firefox all work without issue.

@eweinhold
Copy link

Nextcloud 28.0.2 RC3 still not scrolling on safari :(

That not scrolling Bug persists in Nextcloud 28.0.2 RC3.

All Safari Browsers on all systems are affected Desktop, iPad, iPhone.
Last Version and just updated current version 17.3 iOS and 14.3 macOS

apps-view

@BJKle

This comment was marked as off-topic.

@eweinhold
Copy link

Nextcloud 28.0.2 RC3 still not scrolling on safari :(

That not scrolling Bug persists in Nextcloud 28.0.2 RC3.

All Safari Browsers on all systems are affected Desktop, iPad, iPhone. Last Version and just updated current version 17.3 iOS and 14.3 macOS

Nextcloud 28.0.2 RC4 still not scrolling :(

affected views:
/index.php/settings/apps
settings/apps/enabled
settings/apps/disabled
settings/apps/app-bundles
settings/apps/featured
settings/apps/search

the other apps views / preview Lists are not affected. they do scroll.

@mhzawadi
Copy link

mhzawadi commented Mar 5, 2024

Hey @gcoretech

I have the docker dev environment setup and working, I have edited .app-name--link::after to have yellow and can see it in Opera. But Safari is not yellow and still doesn't scroll.

@gcoretech
Copy link

Hey @mhzawadi
background-color: yellow visualizes which area is affected in safari, scrolling works after changing position: absolute to position: relative.

This is from Safari developer tools (position changed to relative):

yellow-relative

All apps in the app list now have an X with a red border and yellow background right after the app name and scrolling works:

yellow-relative2

Changing position back to absolute the whole app list is yellow and all the apps are behind the yellow pane so you can't see them. Imagine the picture above all yellow, without any text.

Hope this helps.

@mhzawadi
Copy link

mhzawadi commented Mar 6, 2024

can confirm that removing position: absolute; allows the table to scroll

image

linuzer added a commit to linuzer/server that referenced this issue Mar 8, 2024
fix scrolling for Safari-Browser.
nextcloud#42249

Signed-off-by: linuzer <[email protected]>
@ShGKme ShGKme self-assigned this Mar 13, 2024
@ShGKme ShGKme added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Mar 16, 2024
@tallinn1960
Copy link

As this issue only mentions scrolling, I would like to add that app selection in the active app list is broken as well on macOS 14.4/Safari 17.4 in NC 28.0.3. On my system, the browser selects the last app in the list (in my case, the weather app) and sticks with it, no matter what app one is clicking on.

@derrickpeavy
Copy link

As this issue only mentions scrolling, I would like to add that app selection in the active app list is broken as well on macOS 14.4/Safari 17.4 in NC 28.0.3. On my system, the browser selects the last app in the list (in my case, the weather app) and sticks with it, no matter what app one is clicking on.

THAT IS CORRECT FOR ME AS WELL!

@ShGKme
Copy link
Contributor

ShGKme commented Mar 19, 2024

The issue is caused by Safari not applying position: relative on <tr>
See: https://bugs.webkit.org/show_bug.cgi?id=240961

Both issues: broken scrolling and opening an app in the sidebar.

Removing position: absolute fixes the issue, but it removed the ability to click on the row to open app in the sidebar, making only the text of app name clickable.

#44236 should with both issues keeping row clickable.

@ShGKme ShGKme removed the 2. developing Work in progress label Mar 19, 2024
@darthmarx
Copy link

Not fixed in 28.0.4

@joshtrichards
Copy link
Member

It's fixed in v29. It's going to require some manual intervention to finalize the backport for v28 it looks like (pending in #44327).

@nicnab
Copy link

nicnab commented Mar 29, 2024

Thanks for keeping us in the loop, @darthmarx and @joshtrichards !

@mehlkopf
Copy link

mehlkopf commented Apr 28, 2024

It's still not fixed in 28.0.5. Honestly, it is a great symptom of what is wrong with Nextcloud's fast update release cycle: either I am supposed to stay longer on the older versions, but then all bugs should be fixed first on these versions, OR I should always update and can assume the latest versions to be the most reliable, but that is obviously also not the case. It is really frustrating.

@nicnab
Copy link

nicnab commented Apr 28, 2024

Are you sure it isn't? This post says it is. I will try to test myself before upgrading my customer's instance but I first have to find a Safari to test on.

@mehlkopf
Copy link

mehlkopf commented Apr 28, 2024

Unfortunately, for me, it is not fixed as of 28.0.5.
UPDATE: The post you are referring to is relating to different Safari-specific bug!

@nicnab
Copy link

nicnab commented Apr 28, 2024

Oh I'm sorry. Reading skills sometimes do help. As I will be the only one dealing with apps it iis not a problem for me at the moment but I understand it is for you.

@joshtrichards
Copy link
Member

It's fixed in v29, but the backport requires extra manual intervention: #44327

@joshtrichards
Copy link
Member

joshtrichards commented Apr 29, 2024

Honestly, it is a great symptom of what is wrong with Nextcloud's fast update release cycle: either I am supposed to stay longer on the older versions, but then all bugs should be fixed first on these versions, OR I should always update and can assume the latest versions to be the most reliable, but that is obviously also not the case.

It sounds like your requirements might justify always sticking with the last supported stable, which is always the most field proven. At present that would be v27. And at the time of this bug report, that was v26. Neither were impacted by this bug. So the bug wasn't even present for those choosing the most field tested (i.e. not the latest major) for their production environments.

Briefly, we actively support (generally) three majors at a given point in time:

  • latest stable
  • previous stable
  • last supported stable

We recently (in the last couple months) tried to clarify and better document this so that admins can make their own decisions based on what is most important in their environments: https://docs.nextcloud.com/server/latest/admin_manual/release_schedule.html

Either way, yes, this bug fix backport needs to get done in an upcoming v28 maintenance release. But there are only so many hours in the day. You're also always welcome to test/review/modify the proposed backport to nudge it forward. Or pay Nextcloud GmbH (or someone) to do so.

P.S. For the record, this is a WebKit / Apple bug we're working around (that was reported ~2 years ago): https://bugs.webkit.org/show_bug.cgi?id=240961 But, yes, we need to workaround it to provide a good user experience until resolved there.

@ShGKme
Copy link
Contributor

ShGKme commented Apr 29, 2024

Sorry, will be backported to v28 before the next minor release.

@mehlkopf
Copy link

@joshtrichards Thank you for your reply! First and foremost, I am very thankful for all the work you are doing, and it is good to have these clarifications regarding update strategies.
Nevertheless, I think the version 28 cycle has been very rough for lots of people, and I think it should result not only in clarification of these update strategies, but also regarding testing procedures and release schedules. This app screen bug is a very minor annoyance in comparison to lots of bugs introduced in 28.0, which were thankfully gradually improved on in the .0.x versions. However, I personally think 28.0.0 should never have been released in this state, there were way too many bugs that simple testing routines (like drag and drop a file into the browser, try to move/duplicate files, overwriting files at upload, not handling new file creation properly, etc., all these things were not working in v28) could have prevented. And in the same vain, a simple test of all screens (scrollable? clickable?) in different browser would have prevented this app list bug from shipping (at least unknowingly).
For me, it was the first time in years I had more than 1-2 minor issues when running a new version. So, in my opinion, something fundamentally went wrong and it would be great to see the development process learning from that – because it also cannot be the goal to just allow the most hobbyist users to use the most recent version. So overall, I think development on new things should slow down and testing should be more rigorously at least such that new .0 versions will be as stable as the other 20s version were.
And I know there are lots of people working with constrained resources, so I am very thankful for all your work – I am just not certain the resources are always appropriately assigned to new developments vs. reliability/bug fixing.

@adegans
Copy link

adegans commented May 20, 2024

I have this too on NC28.0.5 with Safari macOS and also on my iPad.
I don't come in that dashboard too often, but I think it worked fine on earlier versions.

@mehlkopf
Copy link

Sorry, will be backported to v28 before the next minor release.

Unfortunately, 28.0.6 did not fix it for me …

@nicnab
Copy link

nicnab commented May 27, 2024

Sorry, will be backported to v28 before the next minor release.

Unfortunately, 28.0.6 did not fix it for me …

For me neither. I'm currently unsure how to proceed. Thinking about setting up a test instance with 29 and have some Mac users do tests there and then upgrade straight through to 29 if it works.

@adegans
Copy link

adegans commented May 27, 2024

Works for me on safari/macos with 29. But it continues a bunch of other stupid issues. Like the endless socket timeout problem when the macbook awakes from sleep. And heaps of pointless sync issues I can't explain which go away after a minute or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment