[MGNLUI-5274] Sidebar actions trigger jumping around in the tree Created: 04/Jul/19  Updated: 16/Dec/21  Resolved: 18/Nov/21

Status: Closed
Project: Magnolia UI
Component/s: tree/list
Affects Version/s: 5.7.3, 6.0, 6.1, 6.2.1
Fix Version/s: 6.2.14

Type: Bug Priority: Major
Reporter: Pascal Zingg Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 6
Labels: M6-UI-tech-bug, y2k
Remaining Estimate: Not Specified
Time Spent: 3d
Original Estimate: Not Specified
Environment:

Arch Linux, Kernel v5.1.15. Various Desktop Environments: Deepin, KDE, Gnome, i3wm
Firefox Quantum 67.0.4 (64-bit)


Attachments: PNG File MGNLUI-5274_firefox_ubuntu.png     File deepin-screen-recorder_Navigator_20190704155408.mp4     PNG File image-2020-06-17-16-19-51-427.png    
Issue Links:
Problem/Incident
relation
is related to MGNLUI-5551 Tree scroll position jumps to the top Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: UI Maintenance 1
Story Points: 8

 Description   

I have been working with a painful bug for quite some time. I hoped it would be fixed with Magnolia 6, but that doesn't look like it. It seems to only appear on Firefox with Linux (Firefox 67.0.4 - Arch Linux), though I'm not quite sure.

The following steps bring up the bug:

  1. Login on demo.magnolia-cms.com as superuser
  2. Go to configurations app
  3. Scroll down in the treeview
  4. Download a definition from a module via sidebar
  5. the treeview resets itself to the original view, i.e. it is scrolled to the very top  

 

the video quality is bad, but the bug is obvious: deepin-screen-recorder_Navigator_20190704155408.mp4



 Comments   
Comment by Simon Curty [ 05/Jul/19 ]

I can reproduce this issue on Firefox (61.0.1) with Ubuntu (17.10). When clicking on a node after downloading a definition or exporting a node, the tree view is blank (see the attached screenshot). Chrome and Opera are not affected. 

Comment by Marvin Kerkhoff [ 18/Jun/20 ]

That is not only the Download of a Definition. I can now reproduce it as well if i export something to an xml. Not only on Linux also on Windows.

Comment by Mercedes Iruela [ 19/Jun/20 ]
  • Issue is happening for Export and Download Definition actions -> so related to download a file
  • Issue is reproducible in FF on Linux and Windows. -> Reproducible in both OS (very annoying )
  • Issue is reproducible in old pages app, but not in the new pages app -> I was able to reproduce it. Most likely it won't be reproducible after migrating all apps to the new UI Framework.
Comment by Mercedes Iruela [ 19/Jun/20 ]

Feedback from the ticket (Thanks!):
It seems to have something to do with the popup thing that is done in the browser. BTW: This method is deprecated anyway because of security reasons.

Page.getCurrent().open(resource, "", true);

If you put "_parent" into the second parameter it seems to fix the issue:

Page.getCurrent().open(resource, "_parent", true);
Generated at Mon Feb 12 09:24:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.