[MGNLUI-2453] Chopped-off upload button in upload field Created: 26/Nov/13  Updated: 02/Jul/14  Resolved: 02/Jul/14

Status: Closed
Project: Magnolia UI
Component/s: design
Affects Version/s: 5.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Obsolete Votes: 0
Labels: upload
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Experienced consistently in Chrome 31 / OS X


Attachments: PNG File upload-chopped.png    
Issue Links:
supersession
supersedes MGNLUI-2104 Chopped-off upload button in media up... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* 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: 5.2.1

 Description   

This issue reappeared, this time within the zip upload dialog.

Button inner width is 0 when opening the dialog, it doesn't adjust according to its caption.

This is not caused by any CSS rule in particular, as soon as one fiddles with CSS rules in browser debugger, width is recalculated just fine.



 Comments   
Comment by Mikaël Geljić [ 26/Nov/13 ]

This looks most like a rendering bug in Chrome, certainly caused by multiple factors.

  • A simple button as field doesn't have any issue.
  • DOM structure isn't involved, I could still see the issue after reducing the upload's form element to a plain div containing the button.
  • CSS rules aren't much involved either
  • After placing 3 buttons on the client-side (one VButton, one VNativeButton, and one plain HTML button similar to a VButton's structure), the only one that was trimmed was the one that had its caption set later by UploadConnector - during updateFromUIDL phase. Others would display with correct width.
  • The issue doesn't seem to appear in editor subapp.
Comment by Joerg von Frantzius [ 17/Jan/14 ]

I still see the upload button being chopped-off in the same way, in Chrome on Linux with Magnolia 5.2.1

Comment by Mikaël Geljić [ 17/Jan/14 ]

I also started seeing it again a couple of days ago.

Comment by Mikaël Geljić [ 02/Jul/14 ]

Cannot reproduce in latest Chrome

Generated at Mon Feb 12 08:56:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.