Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scene Manager: Fix variable name #4268

Merged

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Fix access to width of geometry in ScrollMessageBox.

Description

The ScrollMessageBox tried to access width of desktop by accessing width attribute but it is a method so comparison failed.
Also renamed variable max_len to message_len.

Additional info

We should maybe rewrite the whole dialog as the logic of size definition is not readable much. The dialog also contains "Copy to clipboard" button which is on right side next to OK and Cancel which is not very intuitive. Dialog does not have enabled close.

Testing notes:

  1. Use the dialog (Currently used only in Maya look loader)

Resolves #4243 (comment)

@ynbot
Copy link
Contributor

ynbot commented Dec 28, 2022

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 28, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Dec 28, 2022
@LiborBatek
Copy link
Member

From user POV seems normal. but will keep decision for ya devs...
image

@BigRoy
Copy link
Collaborator

BigRoy commented Jan 4, 2023

@LiborBatek is that the wrong screenshot you uploaded?

@LiborBatek
Copy link
Member

@BigRoy well I guess it seems ok to me...I wasnt sure cos its probably more about code review I guess? The dialog works fine no any glitches,

To your question, no its not that wrong one (with issue) ...I just tested this PR in maya2023 and seems normal.
So in the end I think its more of a review for you devs.

@antirotor antirotor merged commit 077cc3a into develop Jan 4, 2023
@antirotor antirotor deleted the bugfix/OP-4666_Scene-Manager-Update-all-to-latest-bug branch January 4, 2023 10:50
@github-actions github-actions bot added this to the next-patch milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host: Maya type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scene Manager: Update all to latest bug
5 participants