BUG:MATLAB2024b got a bug about "uigridlayout"

When I use 2024b to run code:
a = uifigure;
b = uigridlayout(a);
b.RowHeight = {'1x'};
c = uipanel(b);
result is:
Obviously, the border line in the bottom of the uipanel cannot be shown correctly.
For comparison, I use MATLAB 2023b to run the same code, the result is correct:
So strange.
I hope there is something I can do to solve this problem, cause I got a big project and the 2024b cannot be used for this reason.

12 件のコメント

Stephen23
Stephen23 2024 年 11 月 7 日
Sumukh
Sumukh 2024 年 11 月 7 日
編集済み: Sumukh 2024 年 11 月 7 日
I am unable to reproduce this issue on my PC of Windows 11 MATLAB R2024b.
Can you share the type of operating system (Windows/Mac/Linux) you are using, or the output of the following command on your MATLAB R2024b command window?
computer
Heran Wang
Heran Wang 2024 年 11 月 7 日
'PCWIN64'
Heran Wang
Heran Wang 2024 年 11 月 7 日
Windows 11
Bruno Luong
Bruno Luong 2024 年 11 月 7 日
What report the command
rendererinfo
?
Bruno Luong
Bruno Luong 2024 年 11 月 7 日
編集済み: Bruno Luong 2024 年 11 月 7 日
I have tested the code on 2 PCs one with Nvidia graphic card and onother with Intel ARC. Only the Intel ARC has an issue. Note both run on R2024b and Windows 11.
I have reported the issue with Intel ARC somewhere else.
Heran Wang
Heran Wang 2024 年 11 月 8 日
GraphicsRenderer: 'OpenGL Hardware'
Vendor: 'NVIDIA Corporation'
Version: '4.6.0 NVIDIA 528.79'
RendererDevice: 'NVIDIA RTX A3000 Laptop GPU/PCIe/SSE2'
Details: [1×1 struct]
Heran Wang
Heran Wang 2024 年 11 月 8 日
Updated the graphics card driver (Version: '4.6.0 NVIDIA 553.24'), but the issue remains unchanged.
Heran Wang
Heran Wang 2024 年 11 月 8 日
I use two different computer, the problem gone.
It seems my computer is the problem, but why? What can I do to solve this?
Stephen23
Stephen23 2024 年 11 月 8 日
"It seems my computer is the problem, but why? What can I do to solve this?"
Bruno Luong
Bruno Luong 2024 年 11 月 8 日
There are often bugs related to graphical card, its driver, screen resolution, display scale etc... It seems like a mess to me.
Heran Wang
Heran Wang 2024 年 11 月 9 日
The issue persists even after using another computer:
GraphicsRenderer: 'OpenGL Hardware'
Vendor: 'NVIDIA Corporation'
Version: '4.6.0 NVIDIA 551.68'
RendererDevice: 'NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2'
Details: [1×1 struct]
'PCWIN64'

サインインしてコメントする。

回答 (1 件)

Sumukh
Sumukh 2024 年 11 月 7 日

0 投票

The issue is not reproducible on my end. The code appears to be working correctly on Windows 11 MATLAB R2024b and the "uipanel" generated is correct. It is possible that this is a low-level UI graphics issue. Kindly refer to the following documentation to debug and resolve this:
If the issue still persists, as stated by @Stephen23, you can contact Technical Support and report this as a bug.

4 件のコメント

Heran Wang
Heran Wang 2024 年 11 月 8 日
Updated the graphics card driver (Version: '4.6.0 NVIDIA 553.24'), but the issue remains unchanged.
Heran Wang
Heran Wang 2024 年 11 月 8 日
I change the code into:a = uifigure;
a = uifigure;
b = uigridlayout(a);
b.RowHeight = {'8x','1x'};
c = uipanel(b);
result:
Currently, I am using this solution, but I would much prefer an official fix.
Heran Wang
Heran Wang 2024 年 11 月 8 日
I use two different computer, the problem gone.
It seems my computer is the problem, but why? What can I do to solve this?
Stephen23
Stephen23 2024 年 11 月 8 日
"Currently, I am using this solution, but I would much prefer an official fix."
Then make an official bug report: https://www.mathworks.com/support/contact_us.html
This is just a forum of random volunteers. We cannot fix bugs.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2024b

質問済み:

2024 年 11 月 7 日

コメント済み:

2024 年 11 月 9 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by