x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ComboBox Menu misplaced when animating from off-screen

Hi, I have a canvas panel with a ComboBox off screen, when I move it to the screen with a widget animation (or mannually updating its transform), the dropdown is misplaced, it usually can be seen if you play on new editor window in fullscreen (1080p), also this can be seen if you stretch the editor viewport to a wide aspect ratio.

alt text

I'm attaching a proyect to test this issue, the 3rd and 4th combo boxes are created off screen and are animated by Widget anim and manually respectively. The first Combobox is just rendered on screen, and the second one is created on screen invisible, then moved off screen, and its animated via widget animation. These two Combos are working as expected.

Download Combo box project

thanks for your help.

Product Version: UE 4.22
Tags:
misplacedbox.jpg (88.9 kB)
combotest.zip (1.4 MB)
more ▼

asked Jun 18 '19 at 03:43 PM in Bug Reports

avatar image

Cucsijuan
1 1 2

avatar image Everynone Jun 18 '19 at 04:10 PM

If this is caused by animating the transform then this is a bug.

if you stretch the editor viewport to a wide aspect ratio.

Do you mean run-time?

One way around this, whether it's a bug or not, would be to wrap the combo with a user widget and then animate that widget. Try it out and see if that helps.

avatar image Cucsijuan Jun 18 '19 at 04:36 PM

You can do it at runtime or before running the game. I think that the issue is when you start with the combo outside the viewport, and you animate it back to the viewport.

The workaround I've made is starting with the combobox in screen but invisible, then in OnInitialize I move the combo outside the viewport and turn it visible. then I can animate it back to the viewport and works fine (Did this on the second combobox on the Test Project).

One way around this, whether it's a bug or not, would be to wrap the combo with a user widget and then animate that widget. Try it out and see if that helps.

This is how I have it on the main project, but I will try it on the test project and come back with an update.

thanks for your answer.

avatar image Everynone Jun 18 '19 at 04:45 PM

It's a nice catch, actually. Definitely not working as expected.

In case you decide to file a report: https://epicsupport.force.com/unrealengine/s/

avatar image Cucsijuan Jun 18 '19 at 05:29 PM

Yeah I will report it, tried wraping the combobox with a widget and didnt work either,

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

This is a bug, the issue link is the following: https://issues.unrealengine.com/issue/UE-76555

if you have this problem, a provisional solution would be to put the combobox inside the viewport, and move it off screen in OnInitialize(), then you can animate it as intended.

more ▼

answered Jun 23 '19 at 09:18 PM

avatar image

Cucsijuan
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question