Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

New Session tab submenu goes off screen #7748

Closed
srirambv opened this issue Mar 16, 2017 · 9 comments
Closed

New Session tab submenu goes off screen #7748

srirambv opened this issue Mar 16, 2017 · 9 comments

Comments

@srirambv
Copy link
Collaborator

srirambv commented Mar 16, 2017

Test plan

#8397 (comment)


  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    New Session tab submenu goes off screen

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64

  • Brave Version (revision SHA):
    Brave 0.14.0
    rev 77c562c

  • Steps to reproduce:

    1. Open bunch of tabs so that the new tab button is close to the right end of the browser
    2. Right click/long press on new tab button to bring the context menu
    3. Navigate to New Session Tab to show the sub menu, is not contained withing the screen or over the border
  • Actual result:
    New session tab submenu is not shown completely

  • Expected result:
    Should show the submenu irrespective of the position of the new tab context menu

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    Yes

  • Is this an issue in the currently released version?
    N/A

  • Can this issue be consistently reproduced?
    Yes

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:
    image

  • Any related issues:
    Dropdown not shown completely when right click/long press on newtab button #5763
    cc: @cezaraugusto

@cezaraugusto
Copy link
Contributor

I'm going to self-assign but this issue is regarding how we deal with context menus in general.

TL;DR on context menus we move the entire container together making it impossible to move nested item to the left since it's blocked by parent container offset.

Since rework is contextMenu-specific and may affect other areas such as bookmarks I'll split it to 0.14.1. Feel free to change it and undo assignment. thanks

@bsclifton
Copy link
Member

Moving to 0.14.3. Redoing this using native context menus would be a great way to solve the issue. Currently, they block the UI on macOS (which will freeze any video playing) but otherwise work great

@bsclifton bsclifton modified the milestones: 0.14.3, 0.14.2 Apr 5, 2017
@alexwykoff alexwykoff modified the milestones: 1.0.0, 0.15.1 Apr 18, 2017
@alexwykoff
Copy link
Contributor

@liunkae we thought you might like to try this with a native menu.
Want to give it a stab?

@cndouglas
Copy link

@alexwykoff Sure!

@cezaraugusto cezaraugusto removed their assignment Apr 18, 2017
@cndouglas
Copy link

PR: #8397

@bsclifton bsclifton modified the milestones: 0.15.0, 0.15.1 Apr 25, 2017
@bsclifton
Copy link
Member

Pulled into 0.15.0 at recommendation of @bradleyrichter

cc: @alexwykoff

@bsclifton bsclifton modified the milestones: 0.15.1, 0.15.0 Apr 25, 2017
@bsclifton
Copy link
Member

Moving back to 0.15.1. There are some other changes which this relies on. Unfortunately, pulling in is not as easy as I thought ☹️

@luixxiul
Copy link
Contributor

luixxiul commented May 3, 2017

@bsclifton Was this merged to the latest build? if so would you please re-add release-notes/include for me? thanks!

@bsclifton
Copy link
Member

@luixxiul it sure was- will be sure to add that label 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.