orangeshirt / gnome-shell-extension-touchpad-indicator

A touchpad indicator extension for gnome-shell
GNU General Public License v2.0
23 stars 13 forks source link

Lots of notifications generated #30

Open fropeter opened 10 years ago

fropeter commented 10 years ago

I have a wireless mouse connected to my laptop, and when the screen is locked, 6 new notifications are generated. When unlocking the screen, they are displayed one after the the other, all telling me that "Mouse plugged in - touchpad disabled". One would suffice, but wouldn't it be more natural that only plugging the mouse in or out would trigger the notifications?

I could turn off these notifications, but I'd like to be notified of real state changes.

Fedora 19/Gnome 3.8.4 / extension version 18 Touchpad: AlpsPS/2 ALPS DualPoint TouchPad Synclient: Is installed and in use. Xinput: Is installed Switch method: Gconf

Settings: Autoswitch touchpad: on Autoswitch trackpoint: off Show notifications: on

fropeter commented 10 years ago

I just noticed the reviews on the extension page pertaining to this. I removed the version I had, and installed the code from the zip-file in the .local... directory, but the problem is still there, only I get more notifications each time I lock the screen. Also, I noticed the delay mentioned in that review (it was there before, too).

orangeshirt commented 10 years ago

You found the notice from ex-oicio on the extension page. I tried to fix this, but in case of ex-oficio the extension was enabled and disabled by gnome-shell about 8 times. We could figure out that fast. Please enable logging in the Indicatorsettings, close the settings, lock the screen, unlock and sent me the log from the extension. Then I could figure out if this is an issue of the extension or from gnome-shell. Thanks

fropeter commented 10 years ago

Just to make clear what I did: I

Hope this helps! Just out of curiosity: If debugging is enabled, but without enabling output to file, how is the log accessible?

fropeter commented 10 years ago

the submitted log, yeah, right.... hrrm... here it is: (I couldn't find a way to attach a text file, so I put it in a code block)


2013-11-16T23:00:51Z    disable()
2013-11-16T23:00:51Z    Synclient._cancel()
2013-11-16T23:00:52Z    enable()
2013-11-16T23:00:52Z    touchpadIndicatorButton._init()
2013-11-16T23:00:52Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:00:52Z    XInput._init(): Found Device - true 13
2013-11-16T23:00:52Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:00:52Z    XInput._init(): Found Device - true 12
2013-11-16T23:00:52Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:00:52Z    XInput._init(): Found Device - false 
2013-11-16T23:00:52Z    XInput._init(finger touch)
2013-11-16T23:00:52Z    XInput._init(): Found Device - false 
2013-11-16T23:00:52Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:00:53Z    XInput._init(): Found Device - false 
2013-11-16T23:00:53Z    Synclient._init()
2013-11-16T23:00:53Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:00:53Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:00:53Z    XInput._is_device_enabled()
2013-11-16T23:00:53Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:00:53Z    Lib.list_mouses()
2013-11-16T23:00:53Z    Lib.list_mouse_devices()
2013-11-16T23:00:53Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:00:53Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:53Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:53Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:53Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:00:53Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:53Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:53Z    Mouse plugged in - touchpad disabled
2013-11-16T23:00:53Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:00:53Z    disable()
2013-11-16T23:00:53Z    Synclient._cancel()
2013-11-16T23:00:54Z    enable()
2013-11-16T23:00:54Z    touchpadIndicatorButton._init()
2013-11-16T23:00:54Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:00:54Z    XInput._init(): Found Device - true 13
2013-11-16T23:00:54Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:00:54Z    XInput._init(): Found Device - true 12
2013-11-16T23:00:54Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:00:54Z    XInput._init(): Found Device - false 
2013-11-16T23:00:54Z    XInput._init(finger touch)
2013-11-16T23:00:54Z    XInput._init(): Found Device - false 
2013-11-16T23:00:55Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:00:55Z    XInput._init(): Found Device - false 
2013-11-16T23:00:55Z    Synclient._init()
2013-11-16T23:00:55Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:00:55Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:00:55Z    XInput._is_device_enabled()
2013-11-16T23:00:55Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:00:55Z    Lib.list_mouses()
2013-11-16T23:00:55Z    Lib.list_mouse_devices()
2013-11-16T23:00:55Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:00:55Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:55Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:55Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:55Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:00:55Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:55Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:55Z    Mouse plugged in - touchpad disabled
2013-11-16T23:00:55Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:00:55Z    disable()
2013-11-16T23:00:55Z    Synclient._cancel()
2013-11-16T23:00:56Z    enable()
2013-11-16T23:00:56Z    touchpadIndicatorButton._init()
2013-11-16T23:00:56Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:00:56Z    XInput._init(): Found Device - true 13
2013-11-16T23:00:56Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:00:56Z    XInput._init(): Found Device - true 12
2013-11-16T23:00:56Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:00:56Z    XInput._init(): Found Device - false 
2013-11-16T23:00:56Z    XInput._init(finger touch)
2013-11-16T23:00:56Z    XInput._init(): Found Device - false 
2013-11-16T23:00:56Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:00:56Z    XInput._init(): Found Device - false 
2013-11-16T23:00:57Z    Synclient._init()
2013-11-16T23:00:57Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:00:57Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:00:57Z    XInput._is_device_enabled()
2013-11-16T23:00:57Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:00:57Z    Lib.list_mouses()
2013-11-16T23:00:57Z    Lib.list_mouse_devices()
2013-11-16T23:00:57Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:00:57Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:57Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:57Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:57Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:00:57Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:57Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:57Z    Mouse plugged in - touchpad disabled
2013-11-16T23:00:57Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:00:57Z    disable()
2013-11-16T23:00:57Z    Synclient._cancel()
2013-11-16T23:00:57Z    enable()
2013-11-16T23:00:57Z    touchpadIndicatorButton._init()
2013-11-16T23:00:57Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:00:58Z    XInput._init(): Found Device - true 13
2013-11-16T23:00:58Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:00:58Z    XInput._init(): Found Device - true 12
2013-11-16T23:00:58Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:00:58Z    XInput._init(): Found Device - false 
2013-11-16T23:00:58Z    XInput._init(finger touch)
2013-11-16T23:00:58Z    XInput._init(): Found Device - false 
2013-11-16T23:00:58Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:00:58Z    XInput._init(): Found Device - false 
2013-11-16T23:00:58Z    Synclient._init()
2013-11-16T23:00:58Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:00:59Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:00:59Z    XInput._is_device_enabled()
2013-11-16T23:00:59Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:00:59Z    Lib.list_mouses()
2013-11-16T23:00:59Z    Lib.list_mouse_devices()
2013-11-16T23:00:59Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:00:59Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:59Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:59Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:59Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:00:59Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:00:59Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:00:59Z    Mouse plugged in - touchpad disabled
2013-11-16T23:00:59Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:00:59Z    disable()
2013-11-16T23:00:59Z    Synclient._cancel()
2013-11-16T23:00:59Z    enable()
2013-11-16T23:00:59Z    touchpadIndicatorButton._init()
2013-11-16T23:00:59Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:00:59Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:00Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:00Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:00Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:00Z    XInput._init(): Found Device - false 
2013-11-16T23:01:00Z    XInput._init(finger touch)
2013-11-16T23:01:00Z    XInput._init(): Found Device - false 
2013-11-16T23:01:00Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:00Z    XInput._init(): Found Device - false 
2013-11-16T23:01:00Z    Synclient._init()
2013-11-16T23:01:00Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:00Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:00Z    XInput._is_device_enabled()
2013-11-16T23:01:00Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:01Z    Lib.list_mouses()
2013-11-16T23:01:01Z    Lib.list_mouse_devices()
2013-11-16T23:01:01Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:01Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:01Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:01Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:01Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:01Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:01Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:01Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:01Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:01:01Z    disable()
2013-11-16T23:01:01Z    Synclient._cancel()
2013-11-16T23:01:01Z    enable()
2013-11-16T23:01:02Z    touchpadIndicatorButton._init()
2013-11-16T23:01:02Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:01:02Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:02Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:02Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:02Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:02Z    XInput._init(): Found Device - false 
2013-11-16T23:01:02Z    XInput._init(finger touch)
2013-11-16T23:01:02Z    XInput._init(): Found Device - false 
2013-11-16T23:01:02Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:02Z    XInput._init(): Found Device - false 
2013-11-16T23:01:03Z    Synclient._init()
2013-11-16T23:01:03Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:03Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:03Z    XInput._is_device_enabled()
2013-11-16T23:01:03Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:03Z    Lib.list_mouses()
2013-11-16T23:01:03Z    Lib.list_mouse_devices()
2013-11-16T23:01:03Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:03Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:03Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:03Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:03Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:03Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:03Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:03Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:03Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:01:03Z    disable()
2013-11-16T23:01:03Z    Synclient._cancel()
2013-11-16T23:01:03Z    enable()
2013-11-16T23:01:03Z    touchpadIndicatorButton._init()
2013-11-16T23:01:03Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:01:04Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:04Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:04Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:04Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:04Z    XInput._init(): Found Device - false 
2013-11-16T23:01:04Z    XInput._init(finger touch)
2013-11-16T23:01:04Z    XInput._init(): Found Device - false 
2013-11-16T23:01:04Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:04Z    XInput._init(): Found Device - false 
2013-11-16T23:01:04Z    Synclient._init()
2013-11-16T23:01:04Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:05Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:05Z    XInput._is_device_enabled()
2013-11-16T23:01:05Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:05Z    Lib.list_mouses()
2013-11-16T23:01:05Z    Lib.list_mouse_devices()
2013-11-16T23:01:05Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:05Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:05Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:05Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:05Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:05Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:05Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:05Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:05Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:01:05Z    disable()
2013-11-16T23:01:05Z    Synclient._cancel()
2013-11-16T23:01:05Z    enable()
2013-11-16T23:01:05Z    touchpadIndicatorButton._init()
2013-11-16T23:01:05Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:01:06Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:06Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:06Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:06Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:06Z    XInput._init(): Found Device - false 
2013-11-16T23:01:06Z    XInput._init(finger touch)
2013-11-16T23:01:06Z    XInput._init(): Found Device - false 
2013-11-16T23:01:06Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:06Z    XInput._init(): Found Device - false 
2013-11-16T23:01:06Z    Synclient._init()
2013-11-16T23:01:06Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:07Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:07Z    XInput._is_device_enabled()
2013-11-16T23:01:07Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:07Z    Lib.list_mouses()
2013-11-16T23:01:07Z    Lib.list_mouse_devices()
2013-11-16T23:01:07Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:07Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:07Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:07Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:07Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:07Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:07Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:07Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:07Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:01:07Z    disable()
2013-11-16T23:01:07Z    Synclient._cancel()
2013-11-16T23:01:07Z    enable()
2013-11-16T23:01:07Z    touchpadIndicatorButton._init()
2013-11-16T23:01:07Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:01:08Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:08Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:08Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:08Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:08Z    XInput._init(): Found Device - false 
2013-11-16T23:01:08Z    XInput._init(finger touch)
2013-11-16T23:01:08Z    XInput._init(): Found Device - false 
2013-11-16T23:01:08Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:08Z    XInput._init(): Found Device - false 
2013-11-16T23:01:08Z    Synclient._init()
2013-11-16T23:01:08Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:08Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:09Z    XInput._is_device_enabled()
2013-11-16T23:01:09Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:09Z    Lib.list_mouses()
2013-11-16T23:01:09Z    Lib.list_mouse_devices()
2013-11-16T23:01:09Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:09Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:09Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:09Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:09Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:09Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:09Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:09Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:09Z    touchpadIndicatorButton._onChangeIcon()
2013-11-16T23:01:09Z    disable()
2013-11-16T23:01:09Z    Synclient._cancel()
2013-11-16T23:01:19Z    enable()
2013-11-16T23:01:19Z    touchpadIndicatorButton._init()
2013-11-16T23:01:19Z    XInput._init(touchpad,glidepoint,fingersensingpad,bcm5974,trackpad,smartpad)
2013-11-16T23:01:19Z    XInput._init(): Found Device - true 13
2013-11-16T23:01:19Z    XInput._init(trackpoint,accu point,trackstick,touchstyk,pointing stick,dualpoint stick)
2013-11-16T23:01:19Z    XInput._init(): Found Device - true 12
2013-11-16T23:01:19Z    XInput._init(touchscreen,maxtouch)
2013-11-16T23:01:19Z    XInput._init(): Found Device - false 
2013-11-16T23:01:19Z    XInput._init(finger touch)
2013-11-16T23:01:20Z    XInput._init(): Found Device - false 
2013-11-16T23:01:20Z    XInput._init(pen stylus,pen eraser)
2013-11-16T23:01:20Z    XInput._init(): Found Device - false 
2013-11-16T23:01:20Z    Synclient._init()
2013-11-16T23:01:20Z    Synclient._is_synclient_in_use(): synclient found and ready to use
2013-11-16T23:01:20Z    touchpadIndicatorButton._init(): Xinput is installed
2013-11-16T23:01:20Z    XInput._is_device_enabled()
2013-11-16T23:01:20Z    touchpadIndicatorButton._onMousePlugged()
2013-11-16T23:01:20Z    Lib.list_mouses()
2013-11-16T23:01:20Z    Lib.list_mouse_devices()
2013-11-16T23:01:20Z    Lib.list_mouse_devices(): Device found: DualPoint Stick
2013-11-16T23:01:20Z    Lib.list_mouse_devices(): Device found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:20Z    Lib.list_mouse_devices(): Device found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:20Z    Lib.list_mouses(): true,DualPoint Stick,AlpsPS/2 ALPS DualPoint TouchPad,Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:20Z    Lib.list_mouses(): Trackpoint found: DualPoint Stick
2013-11-16T23:01:20Z    Lib.list_mouses(): Touchpad found: AlpsPS/2 ALPS DualPoint TouchPad
2013-11-16T23:01:20Z    Lib.list_mouses(): Mouse found: Logitech Unifying Device. Wireless PID:1017
2013-11-16T23:01:20Z    Mouse plugged in - touchpad disabled
2013-11-16T23:01:21Z    touchpadIndicatorButton._onChangeIcon()
orangeshirt commented 10 years ago

Ok as I suspected it, the log shows for every notification you reach an enable() and disable() in the log. That means: The extension is disabled and reenabled from outside of the extension. I could not reproduce this with an Ubuntu 13.04 and Gnome 3.8 nor with Gnome 3.4 or 3.10 under Ubuntu.

Could you please help me again, to get sure that the issue belongs really not to the extension. I've writen a small extension which only writes some logging to a file if the extension is enabled or disabled. You can dowonload it here: http://netload.in/dateieCYoXAswqG/sometestloggingorangeshirt.zip.htm Could you please disable the touchpad-indicator extension, install the logging extension and enable it, then lock and unlock the screen and sent the logging file from the logging extension to me or post it here.

Many thanks for your help!

orangeshirt commented 10 years ago

Just out of curiosity: If debugging is enabled, but without enabling output to file, how is the log accessible?

They are only logged to the global log from Gnome-Shell If you use the shortkey ALT+F2 and then type lg and Enter you could see them.

fropeter commented 10 years ago

Could you please disable the touchpad-indicator extension, install the logging extension and enable it, then lock and unlock the screen and sent the logging file from the logging extension to me or post it here.

I tried installing the extension manually in .local... as well as through gnome tweak tool. The first wasn't picked up by Gnome shell with AltF2+r, and the second complained that it was an invalid* extension. (*=translated from my language). I checked the metadata.json file, and the version was set to 3.4.1. Changing that to the same as in touchpad-indicator's metadata.json (3.6,3.8,3.10) didn't help.

The manual install was to a directory called "sometestlogging@orangeshirt" in .local/.../extensions, the same as gnome tweak tool created for the extension.

Am I doing something wrong?

fropeter commented 10 years ago

I got the logging extension cleaned out thoroughly, and tried again. I have modified the zip-file's metadata.json file to have the same version tag as the touchpad-indicator's equivalent. Gnome tweak tool complained as before, when I installed the extension through it, but the directory was created, and I was able to activate the tool. After locking and unlocking the screen, all I got in the log was

 2013-11-17T18:48:49Z    sometestlogging.init()
fropeter commented 10 years ago

I just noticed that gnome tweak tool reports that the sometestlogging extension gives "error loading the extension". Maybe the log file isn't generated as intended?

orangeshirt commented 10 years ago

Upps, sorry. I test the logging extension again on my Gnome 3.8 test machine.

orangeshirt commented 10 years ago

Sorry again. The new version of the logging extension, tested for Gnome 3.8 you'll find here: http://netload.in/dateiP78SMeCywJ/sometestloggingorangeshirt.zip.htm

In the previous version there was a little bug with Gnome 3.8. (Sorry I forgot to test for 3.8, I'm still working with 3.4) Now gnome-tweak-tool shouldn't report an error and in the log file there must be a minimum of two lines after the extension is enabled. One with "init()" and one with "enabled()".

Thanks.

fropeter commented 10 years ago

Now gnome-tweak-tool shouldn't report an error

It does, but things seem to work, nevertheless.

Ok as I suspected it, the log shows for every notification you reach an enable() and disable() in the log. That means: The extension is disabled and reenabled from outside of the extension.

If I understand correctly, you mean that the behaviour is outside your control, yet it is the only extension that does this, as far as I know. Do you have an idea about what causes this, or where this should be directed?

Here's the new log: (Is there a way to make this collapsible?)

2013-11-17T21:07:33Z    sometestlogging.init()
2013-11-17T21:07:33Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:07:58Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:59Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:07:59Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:59Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:07:59Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:07:59Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:00Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:01Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:01Z    sometestlogging.enable() - Extension was enabled
2013-11-17T21:08:01Z    sometestlogging.enable() - Extension was disabled
2013-11-17T21:08:10Z    sometestlogging.enable() - Extension was enabled

And, of course, there was an extra entry after I disabled the extension.

orangeshirt commented 10 years ago

Thanks for testing again. You are right. The behaviour is outside of my control and outside of the (any) extension. Touchpad-Indicator is the only extension you recognize this behaviour. I think in all other cases you don't become a prompt on your screen. As you can see in the log above the logging extension was also disabled and enabled 11 times while unlocking your screen. I don't know what causes this, but I can't produce this behaviour under Ubuntu, that's why I think its perhaps a Fedora specific thing. Could you report this bug at Fedora and point the developers to this thread?

fropeter commented 10 years ago

I have filed a bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1032291