Skip to content

Issue with activity help #6

@chimosky

Description

@chimosky

The help button is only supposed to show how to play the game, but it's too long and shows that and more, it also opens a new window - screenshot attached below - which doesn't close when the close button on the window is clicked, this window appears at the end of the help video.

There's also no way to close the help while viewing it, which is not good.

On second thought, we shouldn't use a video to display the help, it consumes memory more than is necessary, I looked and while the help is open, the activity memory consumption jumps from 8.1% to 15% which isn't great - you can see this with top -.

I understand that with opengl we're expected to use some memory, but viewing the help shouldn't almost double the amount of memory used.

Seems you added parts of the recording that aren't needed.

Image Image

The activity logs contain this;

Traceback (most recent call last):
  File "/home/guest/Activities/Soma-Cube/activity.py", line 179, in _setup_content
    self._setup_video_player(max_width, max_height)
  File "/home/guest/Activities/Soma-Cube/activity.py", line 235, in _setup_video_player
    self.video_widget = videosink.get_property('widget')
                        ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_property'
Traceback (most recent call last):
  File "/home/guest/Activities/Soma-Cube/glview.py", line 1319, in <lambda>
    GLib.timeout_add(2000, lambda: self.statusbar.pop(0))
                                   ^^^^^^^^^^^^^^
AttributeError: 'GLView' object has no attribute 'statusbar'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions