FC10 window and ili9341 rotation

Any bugs you encounter with Flowcode should be discussed here.
WingNut
Posts: 254
http://meble-kuchenne.info.pl
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

FC10 window and ili9341 rotation

Post by WingNut »

Hi, when running FC10 I should be able to drag my mouse cursor to the bottom of the screen and my task bar should appear but doesn't (win11) works ok in FC9
Also when trying to rotate the display the display background rotates but the coloured component doesnt and results in any text being displayed vertically
legacy 2d panel

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: FC10 window and ili9341 rotation

Post by Steve-Matrix »

I've just tried setting my taskbar to autohide and then running FC10 and the taskbar shows correctly when I move my mouse to the bottom of the screen. I am running Windows 10, so maybe this is an issue only in win11. Are any other users having the same issue in win11?

Regarding the rotation issue, there are a number of limitations in the legacy 2D panel and we don't recommend its use in v10. It is due to the mix of 2D/3D drawing technologies used as described here. One of the problems is that 2D objects cannot be rotated whereas 3D objects can. Another is that 2D objects will always be drawn above the 3D objects. For this reason, we have moved away from this old 2D "dashboard" panel (aka "legacy 2D panel") and suggest new projects use either the 3D panel or the new 2D panels.

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: FC10 window and ili9341 rotation

Post by WingNut »

The ° symbol has also disappeared

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: FC10 window and ili9341 rotation

Post by medelec35 »

Hi, I would like to add that gLCD displays have a rotation option within properties.
Just scroll down to Simulation and Physical Orientation
You can then select 0 to 3 depending on the orientation.
Not It is best to re-add the gLCD if using an FC9 project.
Martin

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Flowcode v10 Re: FC10 window and ili9341 rotation

Post by Steve-Matrix »

WingNut wrote:
Sun Feb 19, 2023 2:37 pm
The ° symbol has also disappeared
Can you be more specific? It seems to be there for me:
degrees symbol.png
degrees symbol.png (19.01 KiB) Viewed 1095 times

Is there a specific component that shows the problem? Or if it is not a simulation issue, please give more details about hardware.

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: FC10 window and ili9341 rotation

Post by WingNut »

Its the aforementioned graphic display. The symbol is entered into the print macro as text using ALT 248 and appears in the macro but doesn't simulate or appear on the screen in hardware. I'm using a proven flowcode program from FC9 and it all functions as expected except for the symbol disappearing

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: FC10 window and ili9341 rotation

Post by Steve-Matrix »

Thanks. If it's an issue specific with a component then Martin or Ben might know what is going on and I'll leave it to them.

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: FC10 window and ili9341 rotation

Post by Steve-Matrix »

Looking into this a bit further, there is something that might work on the device itself. Instead of "25°", can you please try "25\xb0". This will not work in the simulation, but it might show the degree symbol correctly in the hardware. Please let me know if it does.

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: FC10 window and ili9341 rotation

Post by BenR »

This should work on hardware while we are looking into the problem.

"25\xA7"

The string Steve suggested has been tried and does not currently solve the problem.

As for rotations, there should be a "physical orientation" property for the GLCD component, you will need to change this and then also use the Orientation component macro to get the text etc to appear as required.

WingNut
Posts: 254
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 33 times
Been thanked: 23 times

Re: FC10 window and ili9341 rotation

Post by WingNut »

Sorry guys neither works

Post Reply