Project

General

Profile

Actions

Bug #93284

closed

Context-menu in pagetree does not open for page-type "external link" with the "chain"-icon - only the non-transparent part of a SVG-icon in Pagetree is clickable

Added by Ayke Halder almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2021-01-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

In Pagetree a click on an icon must open the context-menu.
For icons with transparence the context-menu does not open if you hit the transparent area of the icon.
Instead the click hits the page-title behind and the default action for clicking the page-title is fired - so this opens the page in the content-area.

Especially the page-type "external link" with the "chain"-icon becomes nearly unusable:

System

  • TYPO3 10.4.12
  • Firefox 79.0b10

Further investigation

Only visible elements (paths, rect, etc.) in SVG are clickable.

Proposed fix

Add a transparent rectangle to the icon. This makes the whole icon-area clickable.

<g class="icon-def" id="icon-apps-pagetree-page-shortcut-external">
  <g xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
    <g>
      <!-- begin: added rectangle -->
      <rect width="16" height="16" fill="transparent"></rect>
      <!-- end: added rectangle -->
      <path fill="#666" d="…"></path>
      <path fill="#212121" d="…" opacity="0.3"></path>
      <path fill="#999" d="…"></path>
    </g>
  </g>
</g>

Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87453: Contextmenu with left click can only be triggered via exact hover on a svg pathClosed2019-01-15

Actions
Actions #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68800

Actions #2

Updated by Benni Mack over 3 years ago

  • Related to Bug #87453: Contextmenu with left click can only be triggered via exact hover on a svg path added
Actions #3

Updated by Gerrit Code Review over 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68800

Actions #4

Updated by Benni Mack over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF