flawiddsouza / Restfox

Offline-First Minimalistic HTTP & Socket Testing Client for the Web & Desktop

Home Page:https://restfox.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken characters in export file dialog

severinsimmler opened this issue · comments

When I click on the "Export" button, the characters seem to be broken:

image

I am on Ubuntu 23.04 and use:

$ snap info restfox
name:      restfox
summary:   Lightweight REST / HTTP Client
publisher: Artelin (flawid)
store-url: https://snapcraft.io/restfox
license:   unset
description: |
  A lightweight REST / HTTP Client based on Insomnia and Postman.
  
  Features:
  - Workspaces
  - Tabs
  - Nested Folders
  - Lots of context menus
  - Response history
  - Plugins
  - GraphQL support
  - Import collections exported from Postman and Insomnia
  - Simple user friendly interface
commands:
  - restfox
snap-id:      5F3RdI1tJO2Fj4oHj05gtSmT7osdZmDm
tracking:     latest/stable
refresh-date: today at 08:01 CEST
channels:
  latest/stable:    0.1.0 2023-09-28 (13) 80MB -
  latest/candidate: ↑                          
  latest/beta:      ↑                          
  latest/edge:      ↑                          
installed:          0.1.0            (13) 80MB -

Hi, I'm not sure if this a Restfox issue. Restfox just uses electron. This is your native ubuntu file selector. Can you try Ctrl + S in a browser you use. Does it also look like this?

Hi @flawiddsouza, thank you for the quick response. In my browser (Chromium 117.0.5938.92) the dialog looks fine and also in other Electron apps (e.g. VS Code).

Maybe it's related to the Electron version Restfox is using?

I see. I'll try to give you a build with the latest electron version in a few days. You can check and let me know.

I have the same issue, and until now it only happened with RestFox.

This seems like a recurring issue for ubuntu snap: electron-userland/electron-builder#5217. Don't see any official fix except some commands. I'll try updating Restfox to the latest electron version. Hopefully that fixes it.

Hi @severinsimmler @paulwellnerbou, version 0.2.0 was released yesterday. It has the latest electron version. Let me know if the issue is fixed or still persists.

Unfortunately it still looks like before with version 0.2.0.

Well, that's very sad to hear. I wish I could fix this but it seems very out of my control.

Can you try running these commands and restart Restfox and see if it helps?

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r

It's mentioned here: electron-userland/electron-builder#5217 (comment).

Unfortunately this also does not work for me. However, closing this issue since it's apparently not a problem with Restfox, but with Snap and/or Gnome.