Bug#1019704: poedit: Error msg on startup (wxwidgets3.2 regression?)

2022-09-15 Thread Boyuan Yang
Hi,

在 2022-09-15星期四的 17:01 +0200,Andreas Rönnquist写道:
> On Tue, 13 Sep 2022 13:52:58 -0400 Boyuan Yang  wrote:
> > Thanks for uploading poedit for wxwidgets3.2 transition. However, the
> > rebuilt poedit would show the following error message as a popup window
> > when
> > opening a .PO file:
> > 
> > can't open file '/org/gtk/libgtk/icons/16x16/actions/text-x-generic.png'
> > (error 2: no such file or directory)
> > Failed to load image from file
> > "/org/gtk/libgtk/icons/16x16/actions/text-x-
> > generic.png"
> > 
> 
> Hi -
> 
> I cannot reproduce this - neither on Xfce, nor on Gnome.
> 
> Could you please give more details on how you open the .po file, and when
> the
> dialog appears? Simply opening poedit, and the selecting "Browse files"
> in the dialog that is presented, and then selecting the file?
> 
> I am guessing that it could be that the image file is missing from the
> GTK theme you are using - but this is only a guess - what GTK theme
> and icon theme are you using? And what desktop environment?
> 
> Also, that path looks a bit strange if it starts with "/org", if it is
> a full path, doesn't it?


Good catch. I am using gnome-shell with Xorg, and I could only reproduce it
with some icon theme choices, such as "Breeze" or "Papirus".

I did some debugging, and seems that the reason is that these icon themes
did not provide "text-x-generic.png", but "text-x-generic.svg" instead. When
using the Papirus icon theme, after performing the following action, the
error would be gone:


sudo cp /usr/share/icons/Adwaita/16x16/mimetypes/text-x-generic.png
/usr/share/icons/Papirus/16x16/mimetypes/text-x-generic.png
sudo update-icon-caches /usr/share/icons/Papirus


I am not sure whether it is a regression from wxwidgets3.2 or the icon theme
yet.

Thanks,
Boyuan Yang



signature.asc
Description: This is a digitally signed message part


Bug#1019704: poedit: Error msg on startup (wxwidgets3.2 regression?)

2022-09-15 Thread Andreas Rönnquist
On Tue, 13 Sep 2022 13:52:58 -0400 Boyuan Yang  wrote:
> Thanks for uploading poedit for wxwidgets3.2 transition. However, the
> rebuilt poedit would show the following error message as a popup window when
> opening a .PO file:
> 
> can't open file '/org/gtk/libgtk/icons/16x16/actions/text-x-generic.png'
> (error 2: no such file or directory)
> Failed to load image from file "/org/gtk/libgtk/icons/16x16/actions/text-x-
> generic.png"
> 

Hi -

I cannot reproduce this - neither on Xfce, nor on Gnome.

Could you please give more details on how you open the .po file, and when the
dialog appears? Simply opening poedit, and the selecting "Browse files"
in the dialog that is presented, and then selecting the file?

I am guessing that it could be that the image file is missing from the
GTK theme you are using - but this is only a guess - what GTK theme
and icon theme are you using? And what desktop environment?

Also, that path looks a bit strange if it starts with "/org", if it is
a full path, doesn't it?


-- Andreas Rönnquist
gus...@debian.org



Bug#1019704: poedit: Error msg on startup (wxwidgets3.2 regression?)

2022-09-13 Thread Boyuan Yang
Package: poedit
Severity: important
Version: 3.1.1-2
X-Debbugs-CC: locutusofb...@debian.org gus...@debian.org

Hi,

Thanks for uploading poedit for wxwidgets3.2 transition. However, the
rebuilt poedit would show the following error message as a popup window when
opening a .PO file:

can't open file '/org/gtk/libgtk/icons/16x16/actions/text-x-generic.png'
(error 2: no such file or directory)
Failed to load image from file "/org/gtk/libgtk/icons/16x16/actions/text-x-
generic.png"

Could you please look into it?

Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part