Bug 352039 - knetwalk: bogus initialization right after launch
Summary: knetwalk: bogus initialization right after launch
Status: CONFIRMED
Alias: None
Product: knetwalk
Classification: Applications
Component: general (show other bugs)
Version: 3.3.22043
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Ashwin Rajeev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 22:41 UTC by Martin Walch
Modified: 2024-11-09 10:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screen capture of bug demonstration (202.71 KB, video/ogg)
2015-09-01 08:24 UTC, Martin Walch
Details
And sometimes happens this. (271.42 KB, image/png)
2015-10-08 20:43 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2015-08-30 22:41:45 UTC
1. Launch knetwalk, a game starts immediately

* Notice slightly bigger host and world symbols.
* In very rare cases a cable is on top of instead of under a host.

2. Do not do anything, but start a new game with ctrl+N

* Notice that symbols have shrunk.
* It is not a new game, but exactly the same as the first one.

See attached screen capture for a demonstration.

This is KNetWalk 3.3.0:
> Using:
> KDE Frameworks 5.13.0
> Qt 5.5.0 (built against 5.4.2)
> The xcb windowing system
Comment 1 Martin Walch 2015-08-30 22:47:40 UTC
I forgot: the program prints out these messages when starting up:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-neo'
Module 'org.kde.games.core' does not contain a module identifier directive - it cannot be protected from external registrations.
games.ui: KStandardGameAction::create(  1 = game_new , KActionCollection(0x24f19c0, name = "KXMLGUIClient-KActionCollection")  )
games.ui: KStandardGameAction::create(  7 = game_pause , KActionCollection(0x24f19c0, name = "KXMLGUIClient-KActionCollection")  )
games.ui: KStandardGameAction::create(  25 = move_solve , KActionCollection(0x24f19c0, name = "KXMLGUIClient-KActionCollection")  )
games.ui: KStandardGameAction::create(  8 = game_highscores , KActionCollection(0x24f19c0, name = "KXMLGUIClient-KActionCollection")  )
games.ui: KStandardGameAction::create(  11 = game_quit , KActionCollection(0x24f19c0, name = "KXMLGUIClient-KActionCollection")  )

And nine times this message whenever running a new game afterwards:
file:///usr/share/knetwalk/qml/Cable.qml:22: TypeError: Cannot read property of null

(btw: The second game is not always the same as the first one. Only maybe in 50% of the cases.)
Comment 2 Martin Walch 2015-09-01 08:24:39 UTC
Created attachment 94318 [details]
Screen capture of bug demonstration

Sorry, seems I forgot the attachment.
Comment 3 Martin Walch 2015-10-08 20:43:04 UTC
Created attachment 94902 [details]
And sometimes happens this.
Comment 4 Justin Zobel 2022-10-17 00:41:04 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Martin Walch 2022-10-18 20:56:55 UTC
Still reproducible with 3.3.22043.
Comment 6 Karsten Berg 2024-11-09 10:52:07 UTC
Bug is still present in 3.3.23085