Bug 262586

Summary: REGRESSION (Safari 17): scroller not displayed after page back navigation
Product: WebKit Reporter: Jeff Johnson <opendarwin>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
Attachments:
Description Flags
Screenshot of the bug
none
Screenshot of the steps to reproduce none

Description Jeff Johnson 2023-10-03 16:23:24 PDT
Created attachment 468053 [details]
Screenshot of the bug

Steps to reproduce:
1) Open System Settings, Appearance, and set Show scroll bars to Always. This step is not necessary to reproduce the bug, but it makes the bug easier to see.
2) Open https://lapcatsoftware.com/articles/ in Safari 17.
3) Scroll down the page. See the screenshot "before.png".
4) Click the link to open an article.
5) Click the back button in the toolbar.

Expected results: The scroller is displayed on the right side of the window.

Actual results: The scroller is not displayed. However, the scroll area is still clickable and functional, even though the scroller is not displayed. See the screenshot "after.png".

This bug occurs in Safari 17 and Safari Technology Preview 179 but not in Safari 16.
Comment 1 Jeff Johnson 2023-10-03 16:23:45 PDT
Created attachment 468054 [details]
Screenshot of the steps to reproduce
Comment 2 Radar WebKit Bug Importer 2023-10-03 17:01:48 PDT
<rdar://problem/116433980>
Comment 3 Simon Fraser (smfr) 2023-10-03 17:27:36 PDT
I think you forgot to attach "before.png".
Comment 4 Jeff Johnson 2023-10-03 17:29:18 PDT
(In reply to Simon Fraser (smfr) from comment #3)
> I think you forgot to attach "before.png".

That's https://bug-262586-attachments.webkit.org/attachment.cgi?id=468054
Comment 5 Simon Fraser (smfr) 2023-10-04 11:10:46 PDT
The scrollbar on your "before" screenshot is only half height. Does that always happen?
Comment 6 Jeff Johnson 2023-10-04 11:59:54 PDT
(In reply to Simon Fraser (smfr) from comment #5)
> The scrollbar on your "before" screenshot is only half height. Does that
> always happen?

That's actually just the screenshot. I cropped the bottom half of the window.