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

Test Mode Not showing texts #2010

Closed
3 tasks done
renanbirlem opened this issue Dec 14, 2023 · 14 comments
Closed
3 tasks done

Test Mode Not showing texts #2010

renanbirlem opened this issue Dec 14, 2023 · 14 comments
Assignees
Labels
status: not a bug This is not a bug.

Comments

@renanbirlem
Copy link

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When running projects in Test Mode (emulator), some texts contained in the layout do not appear.

Expected Behavior

The expectation is that the testing mode works correctly, showing all elements contained in the layout

Steps to Reproduce

  1. Create some layout
  2. Execute Test Mode to validate

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4wk+fl4c51n7xH1rr+Kflv9SkXIjskbbsn0NUaeCs8GZT0B4kcYs+kfklUOc/jYwhhMGKZuDoX/Mr9keHLVu0pFzKYY65PzLlcWjrgbGWVaL7WEb63b3dPP8JQJlyk4aW3ghF4Iu9scng+1DmEHt+9QnHBJqLsClY3JeaoXdeK2SrDX1iXc2URm05KZDPz

Context

We have "Times" mode enabled. This problem does not occur with me (user owner), but it does occur with other team members.

We have already tested it on Mac, Windows and Linux.
We have already tested it on two browsers: Chrome (main) and Safari.
I currently use Mac, Intel processor (works).

We have already tested the hypothesis that they are translations. We enable, disable, add all translations. This is currently disabled.

The screen I gave as an example is the Login screen, but it happens on all others. Even on certain screens some texts still appear, but not all.

Visual documentation

CURRENT
EXPECTED

Additional Info

No response

Environment

FlutterFlow version: v3.1 (released Feb 27, 2023)
Platform (e.g. Web, MacOS Desktop): Web
Browser name and version (web): Chrome 107.0.5304.110
Operating system and version (desktop): macOS Monterey 12.2.1
@renanbirlem renanbirlem added the status: needs triage A potential issue that has not been confirmed as a bug. label Dec 14, 2023
@renanbirlem
Copy link
Author

renanbirlem commented Dec 14, 2023

Complements:

  • We have been trying to resolve this problem for two weeks.
  • We made a copy/paste in Login Screen to a blank project and it`s worked corretly in Test Mode.

@renanbirlem
Copy link
Author

Other important update: We copied all screens to other blank project and will continue developing in this new project, because here we the Test Mode runs correctly. We will keep the "problematic" project for troubleshooting questions.

@Emvipy
Copy link

Emvipy commented Dec 15, 2023

Other important update: We copied all screens to other blank project and will continue developing in this new project, because here we the Test Mode runs correctly. We will keep the "problematic" project for troubleshooting questions.

Do you have more than one language ? I had the same problem a few days ago and in my case was that I had 2 languages but only one full completed...

@renanbirlem
Copy link
Author

Other important update: We copied all screens to other blank project and will continue developing in this new project, because here we the Test Mode runs correctly. We will keep the "problematic" project for troubleshooting questions.

Do you have more than one language ? I had the same problem a few days ago and in my case was that I had 2 languages but only one full completed...

Hello! We tested with one or more languages enabled, but the problem persists.

@hariprasadms
Copy link
Collaborator

Hi @renanbirlem - Thanks for submitting the issue. I looked at your project I see translation is missing for the given languages. When you change primary language you see below message. Make sure you have re generated translations for all the language.

Please confirm.

image

@hariprasadms
Copy link
Collaborator

Other important update: We copied all screens to other blank project and will continue developing in this new project, because here we the Test Mode runs correctly. We will keep the "problematic" project for troubleshooting questions.

Compare this working project configurations with the project where you see the issue. I hope you have already done it.

@renanbirlem
Copy link
Author

Hi @renanbirlem - Thanks for submitting the issue. I looked at your project I see translation is missing for the given languages. When you change primary language you see below message. Make sure you have re generated translations for all the language.

Please confirm.

image

Helo @hariprasadms , thanks for the reply.
We added this configurations (2nd language), just for test. At this moments I returned the primary config, setting PT-BR language.

Our language config are like this:
Captura de Tela 2023-12-15 às 13 37 59

One importante detail: as we mentioned, we created a new project and start to migrate screens. This new project started running corretly (Test Mode), without text problems yesterday. By the way, in this new project we only changed the Firebase config and nothing more. (No language configs, for example). And today, when we started the Test Mode, the problem are also ocurring in this new project. Anyway, we revised the language configurations and set PT-BR by default.

About compare the projects configs, as I mentioned, in this new project (now with the same problem too), we changed ONLY Firebase config (and now language to Portuguese). In short, this new project it's exactly the same as the print above about language settings.

@renanbirlem
Copy link
Author

@hariprasadmssome more evidence for you, now on the new project that "stopped working":
Bug Report Code in this new project: IT5fk8nf7Y9Om9tc15DUbPl7/T8RJkM7apIFiutuew4aIurqPKQIYcnSRE5JYsOGdwlIJFmj8XgK0qHNheDxFvoBCwuBaYNeyqV+aDyWWTmgbpObBs+8TnJDL+Bhf36wy7SOmA9QHMRfSVID1DqEIuStShHAHu63DFQdLf6IB5PApHDiHSTCGRFFwmNecCfn

  1. What the login screen looks like:
    Captura de Tela 2023-12-15 às 14 03 04

1.1. As it is in Test Mode (it is perfectly correct, with all the texts).
Captura de Tela 2023-12-15 às 14 03 30

  1. Now the initial screen (after login), as it is coded (note the Label properties, it does not have the "globe" of translations, as we only have one language enabled):
    Captura de Tela 2023-12-15 às 14 04 11

2.1 Now how it appears in Test Mode (we circled the elements that should appear in red):
Captura de Tela 2023-12-15 às 14 04 00

@renanbirlem
Copy link
Author

@hariprasadmssome more evidence for you, now on the new project that "stopped working": Bug Report Code in this new project: IT5fk8nf7Y9Om9tc15DUbPl7/T8RJkM7apIFiutuew4aIurqPKQIYcnSRE5JYsOGdwlIJFmj8XgK0qHNheDxFvoBCwuBaYNeyqV+aDyWWTmgbpObBs+8TnJDL+Bhf36wy7SOmA9QHMRfSVID1DqEIuStShHAHu63DFQdLf6IB5PApHDiHSTCGRFFwmNecCfn

  1. What the login screen looks like:
    Captura de Tela 2023-12-15 às 14 03 04

1.1. As it is in Test Mode (it is perfectly correct, with all the texts). Captura de Tela 2023-12-15 às 14 03 30

  1. Now the initial screen (after login), as it is coded (note the Label properties, it does not have the "globe" of translations, as we only have one language enabled):
    Captura de Tela 2023-12-15 às 14 04 11

2.1 Now how it appears in Test Mode (we circled the elements that should appear in red): Captura de Tela 2023-12-15 às 14 04 00

Sorry, I reversed the 1 with 1.1 figure.

@gutomec
Copy link

gutomec commented Dec 15, 2023

I have the same issue, but it only occurs for me in Google Chrome. In Safari, everything works perfectly. I've uninstalled all extensions thinking the problem was some incompatibility with an extension, but that wasn't it.

@renanbirlem
Copy link
Author

I have the same issue, but it only occurs for me in Google Chrome. In Safari, everything works perfectly. I've uninstalled all extensions thinking the problem was some incompatibility with an extension, but that wasn't it.

Interestingly we have the same problem in Chrome and Safari. 😞

@renanbirlem
Copy link
Author

renanbirlem commented Dec 18, 2023

@hariprasadms @sbis04 Could you help us better understand this problem? Projects are available to check at any time.

@sbis04
Copy link
Collaborator

sbis04 commented Dec 19, 2023

Hey @renanbirlem, this just looks like a color issue. So, for the HomePage you can explicitly set the color of the background to white but the texts are using PrimaryText color which is white in dark mode (and in test mode by default the theme is selected based on your system theme, and that looks like set to dark mode). So, if you just fix the PrimaryText color to something darker it should fix the issue.

@sbis04 sbis04 added status: not a bug This is not a bug. and removed status: needs triage A potential issue that has not been confirmed as a bug. waiting for user response Languages labels Dec 19, 2023
@sbis04 sbis04 closed this as completed Dec 20, 2023
@Diogo23Sousa
Copy link

Had the same problem. Basically if you have more than one language you have to give all the translations for the textBox to appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: not a bug This is not a bug.
Projects
None yet
Development

No branches or pull requests

6 participants