Just curious if other people have observed the following issues with love.window.showMessageBox.
On my system (Windows 7) with Love 0.10.1 and Love.0.10.2, I observe the following:
-- Without a trailing space in message, the last work isn't displayed.
-- Button numbering is consistent with order in the button table but displayed in reversed order.
Message Box Button Order
Message Box Button Order
- Attachments
-
- messageBox.love
- Shows default setting and rearranged order
- (649 Bytes) Downloaded 81 times
Re: Message Box Button Order
I only tested with 0.10.1, but for me, the button display order for each is backwards from the way it's listed. For both, the text returned is correct and the button is backwards (i.e. the first button is button 3). In other words, the text returned matches the text of the button, but the button returned is opposite what is should be.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Re: Message Box Button Order
Thanks for reply!
Thought maybe by system was somehow screwed up.
Not a big deal if you know how to deal with it.
Just confusing the first time you encountered it.
Thought maybe by system was somehow screwed up.
Not a big deal if you know how to deal with it.
Just confusing the first time you encountered it.
- slime
- Solid Snayke
- Posts: 3172
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Message Box Button Order
Do you use DPI scaling in your Windows global display settings? If so, it's likely a bug in Microsoft's Windows APIs. See here: https://bugzilla.libsdl.org/show_bug.cgi?id=2425Ref wrote:-- Without a trailing space in message, the last work isn't displayed.
Re: Message Box Button Order
Thanks Slime!Do you use DPI scaling in your Windows global display settings? If so, it's likely a bug in Microsoft's Windows APIs. See here: https://bugzilla.libsdl.org/show_bug.cgi?id=2425
That eliminated the need for a trailing space.
It would be nice if the button display order was the same as that in the button table but that would be too logical.
Best
- slime
- Solid Snayke
- Posts: 3172
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Message Box Button Order
I believe SDL places the buttons in "logical order" (in order by the standard for primary/secondary/etc. on the OS) rather than left-to-right. Not positive though.
Who is online
Users browsing this forum: No registered users and 1 guest