Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1053019 - Submenu is displayed off the screen in right to left mode
Submenu is displayed off the screen in right to left mode
Status: VERIFIED
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal (Show other bugs)
6.1.1
Unspecified Unspecified
unspecified Severity unspecified
: ER01
: 6.2.0
Assigned To: Lucas Ponce
Tomas Kyjovsky
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-14 10:21 EST by Filip Kiss
Modified: 2017-12-08 10:06 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An issue with the logic that displayed portal menus in right-to-left (RTL) mode caused the Site menu to display incorrectly on Android tablet devices running API 18 (4.3) and API 16 (4.1.2). The fix implements a logic change to display the Site menu correctly on devices running these API levels, which corrects the originally reported issue.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
submenu is displayed off the screen (248.73 KB, image/png)
2014-01-14 10:22 EST, Filip Kiss
no flags Details
Screenshot Tablet android 3.2 (217.71 KB, image/png)
2014-01-17 10:59 EST, Lucas Ponce
no flags Details
Screenshot Tablet android 3.2 - landscape (253.32 KB, image/png)
2014-01-17 11:12 EST, Lucas Ponce
no flags Details
Screenshot Tablet android 3.2 - landscape - workaround 2nd click (249.56 KB, image/png)
2014-01-17 11:19 EST, Lucas Ponce
no flags Details
Android Tablet 4.1.2 with 1024px resolution (169.95 KB, image/png)
2014-02-10 16:50 EST, Lucas Ponce
no flags Details
Android Tablet 4.1.2 with 1280px resolution (229.85 KB, image/png)
2014-02-10 16:51 EST, Lucas Ponce
no flags Details
Patch for dropdownmenu.jquery.js (1.01 KB, patch)
2014-02-11 08:43 EST, Lucas Ponce
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker GTNPORTAL-3374 Minor Resolved Submenu is displayed off the screen in right to left mode 2016-10-22 02:21 EDT

  None (edit)
Description Filip Kiss 2014-01-14 10:21:20 EST
Description of problem:
On tablet devices there is menu displayed off the screen when you are in Right to left mode. Go to /portal/mobile/home and click: Group pages -> User pages -> My link -> submenu is displayed off the screen. This only happens in landscape mode. See attached screenshot.

Additional info:
Tested on Android 3.2 tablet and 4.1.2 tablet. Phones worked fine.
Comment 1 Filip Kiss 2014-01-14 10:22:01 EST
Created attachment 850004 [details]
submenu is displayed off the screen
Comment 3 Lucas Ponce 2014-01-17 10:59:27 EST
Created attachment 851681 [details]
Screenshot Tablet android 3.2

Hi,

I'm using Android SDK emulator for an Android 3.2 Tablet and I cannot reproduce issue.

I'm using ER1 from this link:

http://download.devel.redhat.com/brewroot/work/tasks/4484/6864484/org/gatein/portal/exo.portal.packaging.jboss7.pkg/3.6.3.Final-redhat-4/exo.portal.packaging.jboss7.pkg-3.6.3.Final-redhat-4.zip

Please, can you validate with this one ?

Also, may be this bug is related with device screen, I'm using standard 1280x800, please, could you put the configuration used for test ? 

Thanks,
Lucas
Comment 4 Lucas Ponce 2014-01-17 11:12:17 EST
Created attachment 851685 [details]
Screenshot Tablet android 3.2 - landscape

Sorry for my previous comment.

I can reproduce it for 3.2 at landscape.

Analyzing workaround.

Thanks,
Lucas
Comment 5 Lucas Ponce 2014-01-17 11:19:14 EST
Created attachment 851697 [details]
Screenshot Tablet android 3.2 - landscape - workaround 2nd click

After 2nd click on link in the same tablet seems bug is not longer affecting.

It looks like that DOM screen width is not properly refresed when rotating.

I will study if this is something we can fix or it's related emulator.
Comment 6 Lucas Ponce 2014-01-20 12:25:38 EST
Finally I've found bug in the AJAX call. 

Patch sent.
Comment 8 Filip Kiss 2014-02-10 12:44:31 EST
Works for Android 3.2 in CR01.

In 4.1.2. tablet landscape and RTL mode when you go to Group pages -> User pages -> My link -> menu disappears. Tested on 4.1.2 android emulator and also on real device.
Comment 9 Lucas Ponce 2014-02-10 16:50:39 EST
Created attachment 861580 [details]
Android Tablet 4.1.2 with 1024px resolution
Comment 10 Lucas Ponce 2014-02-10 16:51:50 EST
Created attachment 861581 [details]
Android Tablet 4.1.2 with 1280px resolution
Comment 11 Lucas Ponce 2014-02-10 16:57:26 EST
This bug depends also of the device resolution.

It has been tested with Android 4.1.2 tablet emulators:

- Resolution 1024px, Bug doesn't appear in the menu.
- Resolution 1280px, Bug appears and menu is not shown as expected.
Comment 13 Lucas Ponce 2014-02-11 08:43:47 EST
Created attachment 861788 [details]
Patch for dropdownmenu.jquery.js
Comment 14 Lucas Ponce 2014-02-11 08:49:58 EST
Bug affects to API 18 and API 16 android Tablets with resolution greater than 1024px.

(Bug doesn't affect to last devices based on API 19).

Patch will be commited into 6.2 but workaround is available for 6.1.1.
Comment 15 JBoss JIRA Server 2014-02-13 12:35:22 EST
Lucas Ponce <ponce.ballesteros@gmail.com> updated the status of jira GTNPORTAL-3374 to Reopened
Comment 16 Peter Palaga 2014-04-04 17:55:50 EDT
Target milestone was the meaningless CR01. Changing to ER1 to make sure that this issue gets QA'd properly.
Comment 17 PnT Account Manager 2017-12-08 10:06:08 EST
Employee 'fkiss@redhat.com' has left the company.

Note You need to log in before you can comment on or make changes to this bug.