Bug 362376 - python error in browser when using scroll wheel
Summary: python error in browser when using scroll wheel
Status: RESOLVED FIXED
Alias: None
Product: kajongg
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.13.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Wolfgang Rohdewald
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 21:32 UTC by Hein
Modified: 2016-08-24 12:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 16.08.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hein 2016-04-27 21:32:35 UTC
When using the scroll wheel the following python error appears in browser:

<type 'exceptions.TypeError'>	Python 2.7.11+: /usr/bin/python
Wed Apr 27 23:02:12 2016

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
 /usr/share/kde4/apps/kajongg/board.py in wheelEvent(self=<board.FittingView object>, event=<PyQt4.QtGui.QWheelEvent object>)
    773         Instead scrolling down changes perspective like in kmahjongg"""
    774         if event.orientation() == Qt.Vertical and event.delta() < 0:
=>  775             Internal.scene.changeAngle()
    776         # otherwise do not call ignore() because we do want
    777         # to consume this
global Internal = <common.Internal object>, Internal.scene = <scene.PlayingScene object>, Internal.scene.changeAngle = <bound method PlayingScene.changeAngle of <scene.PlayingScene object>>

<type 'exceptions.TypeError'>: changeAngle() takes exactly 2 arguments (1 given)
      args = ('changeAngle() takes exactly 2 arguments (1 given)',)
      message = 'changeAngle() takes exactly 2 arguments (1 given)' --> --

Reproducible: Always

Steps to Reproduce:
1. Start game
2. Use mouse wheel
3. Switch to browser


Expected Results:  
Change the visual angle?

The game still works as expected, so no not a big problem.
Comment 1 Wolfgang Rohdewald 2016-08-24 12:04:37 UTC
Git commit a3076908e15c06bdc474af80d0f596a65416b9ce by Wolfgang Rohdewald.
Committed on 06/08/2016 at 07:08.
Pushed by wrohdewald into branch 'master'.

Scrolling the mouse down triggered a bug
FIXED-IN: 16.08.1

M  +1    -1    src/mainwindow.py

http://commits.kde.org/kajongg/a3076908e15c06bdc474af80d0f596a65416b9ce