-
Notifications
You must be signed in to change notification settings - Fork 644
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
Text tool not producing visible text #412
Comments
Can you do Menu > File > Open > open test template and add screenshot here? |
Very strange, it is hard to help. Even I am not a person who wrote text module, if other tools are working, text should work too. Do you see "Hello World" here? Also check if examples here are working too: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_text It may be browser issue. |
Yes, I see Hello World there. I sent you an email, hope you got it. Thanks
for your help.
…On Thu, Sep 19, 2024 at 3:08 PM Vilius ***@***.***> wrote:
Very strange, it is hard to help. Even I am not a person who wrote text
module, if other tools are working, text should work too.
Do you see "Hello World" here?
https://www.w3schools.com/graphics/tryit.asp?filename=trycanvas_filltext
—
Reply to this email directly, view it on GitHub
<#412 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVLATU4GSJBHI72MVZTW2GLZXMOJTAVCNFSM6AAAAABOMNKXM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRHE3TANRWGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Looks like some conflict. Can you try without https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015 script? I see it in source code. |
I don't know how to do that, but I'll see if I can figure it out. Sorry, I'm used to Docker Compose, this project is the first time I've manually created a Dockerfile to build/run a container. |
The text tool works fine when I use the npm install method, which I could never get to work in debian. Now that I've switched to Ubuntu, I was able to install using that method. |
Okay, so I figured something out. In order to make the app usable over a reverse proxy, I've been adding these two lines to webpack.config.js under "devServer:"
That section now looks like this:
If I don't add those lines, loading the webpage over reverse proxy results in a mostly blank page that only contains the text: "Invalid Host header". But adding those lines is what breaks the text tool. Here's my setup: I am running minipaint on my local machine. Nothing changed when trying to run miniPaint on the AWS Lightsail system (rather than through the tailscale VPN). |
So problem solved? |
I mean I guess so? The tool isn't any use to me if I can't use it over a reverse proxy, but that isn't your problem. If you know how to get it working over a reverse proxy and maintain all functionality let me know, otherwise I'll look into what my alternatives are. Thanks for your help! |
The text tool does not work on my self-hosted version of this, but it works fine on other peoples' versions I've seen.
I used the latest docker image install method, it's running in a Debian 12 linux container in Proxmox.
Nothing useful in the logs from what I can see.
"asdfasdfasdfasdfasdf" - this is the text that I typed into the text box in the below screenshot. I was able to copy from the text box in the app, but no matter what I can't get it to become visible.
Here are the logs. As I said, nothing useful, I don't think.
`> [email protected] server
[webpack-dev-server] Project is running at:
[webpack-dev-server] Loopback: http://localhost:8080/
[webpack-dev-server] On Your Network (IPv4): http://172.17.0.3:8080/
[webpack-dev-server] Content not from webpack is served from '/usr/src/app' directory
[webpack-dev-middleware] wait until bundle finished: /
[webpack-dev-middleware] wait until bundle finished: /
asset bundle.js 2.59 MiB [emitted] (name: main) 1 related asset
runtime modules 26.5 KiB 13 modules
orphan modules 15.9 KiB [orphan] 10 modules
modules by path ./src/js/ 1.26 MiB 218 modules
modules by path ./node_modules/ 724 KiB 47 modules
modules by path ./src/css/*.css 148 KiB
./src/css/reset.css 1.38 KiB [built] [code generated]
./src/css/utility.css 1.38 KiB [built] [code generated]
./src/css/component.css 1.39 KiB [built] [code generated]
./src/css/layout.css 1.38 KiB [built] [code generated]
./src/css/menu.css 1.38 KiB [built] [code generated]
webpack 5.89.0 compiled successfully in 22808 ms`
The text was updated successfully, but these errors were encountered: