Skip to content

[JENKINS-75727] RootActions with a jumplist lose functionality when collapsed #16750

@jenkins-infra-bot

Description

@jenkins-infra-bot

If a RootAction defines a jumplist.jelly then when the header is collapsed the jumplist is lost and there is no way to access it.

Given the jumplist is the "new way" to replace l:tasks it is expected that this works (and is distinct from JENKINS-75683)

steps to reproduce

Create a new RootAction that implements a jump list and install the plugin into Jenkins.
ensure the screen is wide and the action is shown in the main header
Hover over the Action icon to verify the jumplist is show
Make the screen smaller (or install more plugins with RootActions so that the RootAction is moved to the overflow "..." menu
Hover over the RootAction in the overflow menu

Expected Results

The jumplist is shown (somehow) to the user

Actual Results

The jumplist is not shown.

Notes

in

Utils.generateDropdown(
overflowButton,
(instance) => {
const mappedItems = items.map((e) => {
let icon = e.querySelector("img");
if (icon) {
icon = icon.src;
}
let iconXml = e.querySelector("svg");
if (iconXml) {
icon = true;
iconXml = iconXml.outerHTML;
}
const span = e.querySelector("[data-type='action-label']");
let label = e.textContent;
if (span !== null) {
label = span.textContent;
}
return {
type: "link",
icon: icon,
iconXml: iconXml,
label: label,
url: e.href,
};
});
all fnctionality appears to be removed except for the text icon and link.


Originally reported by teilo, imported from: RootActions with a jumplist lose functionality when collapsed
  • status: Open
  • priority: Major
  • component(s): core
  • label(s): lts-candidate, ux
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-11-24
Raw content of original issue

If a RootAction defines a jumplist.jelly then when the header is collapsed the jumplist is lost and there is no way to access it.

Given the jumplist is the "new way" to replace l:tasks it is expected that this works (and is distinct from JENKINS-75683)

steps to reproduce

Create a new RootAction that implements a jump list and install the plugin into Jenkins. ensure the screen is wide and the action is shown in the main header Hover over the Action icon to verify the jumplist is show Make the screen smaller (or install more plugins with RootActions so that the RootAction is moved to the overflow "..." menu Hover over the RootAction in the overflow menu

Expected Results

The jumplist is shown (somehow) to the user

Actual Results

The jumplist is not shown.

Notes

in

Utils.generateDropdown(
overflowButton,
(instance) => {
const mappedItems = items.map((e) => {
let icon = e.querySelector("img");
if (icon) {
icon = icon.src;
}
let iconXml = e.querySelector("svg");
if (iconXml) {
icon = true;
iconXml = iconXml.outerHTML;
}
const span = e.querySelector("[data-type='action-label']");
let label = e.textContent;
if (span !== null) {
label = span.textContent;
}
return {
type: "link",
icon: icon,
iconXml: iconXml,
label: label,
url: e.href,
};
});
all fnctionality appears to be removed except for the text icon and link.

  • environment: Jenkins 2.507+

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions