Jaunty Thinkpad fn-f7 does nothing (should toggle video)

Bug #323433 reported by Chris Bainbridge
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qt
Fix Released
Wishlist
kde4libs (Ubuntu)
Fix Released
Wishlist
Unassigned
qt4-x11 (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Testing Kubuntu alpha 3 live CD and install on Thinkpad T42p with dock, external monitor, wifi.
Boot live CD and install on a fresh partition (so no homedir/upgrade issues).

fn-f7 does nothing. It should toggle output video as in http://www.thinkwiki.org/wiki/Sample_Fn-F7_script

This happens on alpha 3 CD and jaunty with updates as of 20080130.

Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

As a T60 user working on a hotkey-handling spec for Ubuntu this cycle, I've followed the status of ThinkPad hotkeys very closely. I can assure you that the hotkey event is being generated correctly in jaunty:

$ xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'
keycode 235 = (keysym 0x1008ff59, XF86Display), state = 0x10
keycode 235 = (keysym 0x1008ff59, XF86Display), state = 0x10
^C
$

If kubuntu is not handling the XF86Display key, that's a kubuntu-specific issue; reassigning accordingly.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ah, Qt and KDE don't have support for the key yet. Opensuse has a few patches though.

openSUSE qt4 patch: https://api.opensuse.org/public/source/openSUSE:Factory/libqt4/display-key-support.diff
openSUSE kde4libs patch (4.2.0 based): https://api.opensuse.org/public/source/openSUSE:Factory/kdelibs4/display-key-support.diff

Changed in kubuntu-meta:
importance: Undecided → Wishlist
status: New → Triaged
Changed in kde4libs:
importance: Undecided → Wishlist
status: New → Triaged
Changed in qt:
status: Unknown → New
Revision history for this message
In , Chris Bainbridge (chris-bainbridge) wrote :

Version: (using KDE 4.2.0)
OS: Linux
Installed from: Ubuntu Packages

http://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/323433

fn-f7 does nothing. It should toggle output video as in http://www.thinkwiki.org/wiki/Sample_Fn-F7_script

From the launchpad bug: "Opensuse has a few patches though.

openSUSE qt4 patch: https://api.opensuse.org/public/source/openSUSE:Factory/libqt4/display-key-support.diff
openSUSE kde4libs patch (4.2.0 based): https://api.opensuse.org/public/source/openSUSE:Factory/kdelibs4/display-key-support.diff"

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Those patches also needed a kdebase-workspace patch that is no longer applied to KDE. (We had the kdebase-workspace patch in 8,10 for randr support, but removed it in Jaunty since it introduced some severe bugs.)

So degrading to confirmed.

Changed in kde4libs:
status: Triaged → Confirmed
Changed in qt4-x11:
status: Triaged → Confirmed
Revision history for this message
Bogdan Mitrea (megabitdragon) wrote :

I have the same problem here. I am using Ubuntu Jaunty with the updates from Feb 25th 2009. When I do:

$ xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'

no keycode is returned for fn-f7 combination.

Any solutions?

Thanks

Revision history for this message
Tillmann Falck (tfalck) wrote :

I posted a script in

https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/281284/comments/22

that takes care of this and a couple of other hotkeys.

Changed in kde4libs (Ubuntu):
status: Confirmed → Triaged
Changed in qt4-x11 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The fn-f7 keys have now been aded the the KDE and Qt keymaps, but KDE still needs to make them actually do something. But this should be tracked upstream.

Changed in kde4libs (Ubuntu):
status: Triaged → Fix Released
Changed in qt4-x11 (Ubuntu):
status: Triaged → Fix Released
Changed in qt:
importance: Unknown → Wishlist
Revision history for this message
In , Nate-b (nate-b) wrote :

Now it does! :)

Changed in qt:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.