#43961 closed defect (bug) (fixed)
Privacy Policy popup covers collapsed admin menu
Reported by: | littler.chicken | Owned by: | iandunn |
---|---|---|---|
Milestone: | 4.9.6 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Privacy | Keywords: | gdpr fixed-major |
Focuses: | Cc: |
Description
On logging in to trunk this morning, saw the new Privacy Policy admin pointer pointing to the admin menu. I have my menu collapsed, and so the popup completely covers the menu icons. Assume it's a positioning issue to be tweaked in the $js_args for the pointer? If the menu is not collapsed, the positioning is okay, although it seems like it's between Tools and Settings.
The $position
maybe needs to check if the menu is folded for the at
position value in addition to is_rtl()
. (My setup is not RTL, but that may be affected as well.)
Attachments (16)
Change History (35)
This ticket was mentioned in Slack in #gdpr-compliance by lakenh. View the logs.
6 years ago
This ticket was mentioned in Slack in #core by desrosj. View the logs.
6 years ago
#6
@
6 years ago
Good catch, @littler.chicken!
43961.diff should fix the issue. It also fixes the issue described in #43996.
A few changes in 43961.diff that I am not sure are ideal:
- The pointer is no longer pulled over the tools menu item
- The pointer is no longer positioned in the exact middle of the Tools and Settings menu items.
The approach accounts for all RTL, screen size, and plugins adding menu item scenarios.
#8
@
6 years ago
After seeing the patch, I think the initial placement actually made more sense. The new pages are under both Tools and Settings. Furthermore, I think that the Privacy Policy headline and paragraph should be placed under the Personal Data Export and Erasure headline and paragraph, because that's where it is located in the Admin Menu. My 2 cents
This ticket was mentioned in Slack in #gdpr-compliance by iandunn. View the logs.
6 years ago
#10
@
6 years ago
Is 43961-privacy-popup-text.PNG using the default pointer spacing? (It's kind of uneven, but if it's just the way pointers are styled, I'll deal.)
#11
@
6 years ago
I have a couple recommended styling tweaks in Shot 2018-05-09 at 12.27.52 PM.png:
.wp-pointer-content h4 { margin: 1.33em 20px 1em; font-size: 1.15em; } .wp-pointer-content p { padding: 0 20px; }
#12
@
6 years ago
43961.3.diff combines @ianbelanger's suggestion to flip the text, and @melchoyce's style changes with the bug fix.
@
6 years ago
merged @desrosj 43961.3.diff and reversed the Popup Headline text to Personal Data and Privacy to match order
#14
@
6 years ago
- Owner set to iandunn
- Resolution set to fixed
- Status changed from new to closed
In 43210:
#15
@
6 years ago
- Keywords fixed-major added; has-patch 2nd-opinion needs-testing removed
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport to 4.9.
screen shot of privacy policy pointer blocking admin menu