Bug 425062 - Apps does not run properly. no window open.
Summary: Apps does not run properly. no window open.
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: macOS (DMG) macOS
: NOR major
Target Milestone: ---
Assignee: animtim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-06 06:06 UTC by Hendra Kwee
Modified: 2020-08-07 07:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-31997-0.html (7.62 KB, text/html)
2020-08-07 06:21 UTC, Hendra Kwee
Details
attachment-664-0.html (1.47 KB, text/html)
2020-08-07 06:49 UTC, Hendra Kwee
Details
attachment-901-0.html (1.05 KB, text/html)
2020-08-07 06:58 UTC, Hendra Kwee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendra Kwee 2020-08-06 06:06:39 UTC
SUMMARY
The gcompris that I downloaded is Gcompris 0.97-Darwin. I open it on my macbook, but does not run properly. 

STEPS TO REPRODUCE
1. I open the gcompris. 


OBSERVED RESULT
There is a welcome message (sound) : "welcome to gcompris". But nothing happen afterward. It seems that the apps is running in my laptop, but it does not have any screen appear. If I click "show all windows" in the dock, there is a blue transparent box, but can not be clicked. 

EXPECTED RESULT
screen open and can be used. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.13.6
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jazeix Johnny 2020-08-06 06:49:03 UTC
Hi,

I don't have a macOS to test, so I assigned it to Timothée, maybe he'll be able to help
Comment 2 animtim 2020-08-06 13:58:33 UTC
This is weird, here the application launches properly, using macOS 10.13.6 too, and I had report from other users that it works fine for them too.

It could be an issue with the OpenGL support on your computer...
Please try this:

-open the configuration file gcompris-qt.conf with TextEdit (or another simple text editor of your choice), which is in /Users/username/Library/Preferences/gcompris/

-replace the line renderer=auto with renderer=software
-save the file, and restart gcompris

This will activate the software-rendering mode, which is not using OpenGL at all.

I hope this will fix this issue on your computer.

Side note: while checking again, I noticed that actually I didn't sign properly the latest application (the .dmg was signed but not the .app inside). I just fixed it and updated a new .dmg . It was probably not the cause of your issue, but it's still better to have it properly signed...
Comment 3 Jazeix Johnny 2020-08-06 15:36:34 UTC
Hi,

can you also run it in command line and check if there are logs outputted?

Thank you
Comment 4 Hendra Kwee 2020-08-07 06:21:49 UTC
Created attachment 130694 [details]
attachment-31997-0.html

Thank you for your kind response. I have try this:
-open the configuration file gcompris-qt.conf with TextEdit (or another
simple
text editor of your choice), which is in
/Users/username/Library/Preferences/gcompris/

-replace the line renderer=auto with renderer=software
-save the file, and restart gcompris

but still the same result.

I have actually removed the apps, and reinstalled it, still the same. In
the past (last week), it actually working, but starting yesterday, it did
not work anymore.

I have run it with the command prompt, and got this log.

 /Applications/gcompris-qt.app/Contents/MacOS/gcompris-qt

exeCount set to:  41

qml: enter main.qml (run #41, ratio=1.5384615384615385,
fontRatio=2.1621621621621623, dpi=114,
userDataPath=/Users/hendrakwee/Library/Application Support/GCompris)

Downloading resource file "data2/voices-aac/voices-en_US.rcc"

Downloading resource file "data2/backgroundMusic/backgroundMusic-aac.rcc"

Successfully registered resource
"/Users/hendrakwee/Library/Caches/KDE/gcompris-qt/data2/backgroundMusic/backgroundMusic-aac.rcc"

Found box2d in  "/Applications/gcompris-qt.app/Contents/lib/qml"

qt.qpa.window: Window position QRect(332,-1073741412 615x-2147483648)
outside any known screen, using primary screen

invalid window content view size, check your window geometry

Local resource is up-to-date: "voices-en_US.rcc"

Successfully registered resource
"/Users/hendrakwee/Library/Caches/KDE/gcompris-qt/data2/voices-aac/voices-en_US.rcc"

Local resource is up-to-date: "backgroundMusic-aac.rcc"



any suggestion? thank you


best regards

Hendra

On Thu, Aug 6, 2020 at 10:36 PM Jazeix Johnny <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=425062
>
> --- Comment #3 from Jazeix Johnny <jazeix@gmail.com> ---
> Hi,
>
> can you also run it in command line and check if there are logs outputted?
>
> Thank you
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Jazeix Johnny 2020-08-07 06:24:13 UTC
Please can you try to remove your ~/.config/gcompris* files? (I don't know the exact path on mac OS but there should be a gcompris-qt.conf inside your ~/.config)
Comment 6 Hendra Kwee 2020-08-07 06:49:53 UTC
Created attachment 130698 [details]
attachment-664-0.html

I could not find the file.

In a directory with that has file
gcompris-qt.conf

only has one more file
gcompris-qt.conf.cBZctP

While in directory ~/.config/
there are 2 directories:
gtk-2.0
inkscape



On Fri, Aug 7, 2020, 1:24 PM Jazeix Johnny <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=425062
>
> --- Comment #5 from Jazeix Johnny <jazeix@gmail.com> ---
> Please can you try to remove your ~/.config/gcompris* files? (I don't know
> the
> exact path on mac OS but there should be a gcompris-qt.conf inside your
> ~/.config)
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 7 Jazeix Johnny 2020-08-07 06:55:32 UTC
Remove the gcompris-qt.conf and the one other and start again the application, it should be better
Comment 8 Hendra Kwee 2020-08-07 06:58:53 UTC
Created attachment 130699 [details]
attachment-901-0.html

Wonderful, it works now

Many many thanks

My boy will be very happy

Best regards
Hendra

On Fri, Aug 7, 2020, 1:55 PM Jazeix Johnny <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=425062
>
> --- Comment #7 from Jazeix Johnny <jazeix@gmail.com> ---
> Remove the gcompris-qt.conf and the one other and start again the
> application,
> it should be better
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 9 Jazeix Johnny 2020-08-07 07:11:47 UTC
Great to hear! Have a nice day