Opened 18 years ago

Closed 18 years ago

#1111 closed defect (fixed)

NetworkControl cannot handle Poups and PIN-Dialogs

Reported by: Webmaachter@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: networkcontrol popups pin
Cc: Ticket locked: no

Description

Example:

  1. go to mythmusic and Play a Song
  2. telnet localhost 6546
  3. key m (you get the Menu)
  4. key down (works fine)
  5. key enter (nothing happens)

Other Example: (You have to enable PIN for videomanager)

  1. telnet localhost 6546
  2. jump videomanager (you got the PIN-Question)
  3. key 6 (nothing happens)

Infos: mythfrontend --version:

Library API version: 0.19.20060121-2 Source code version: 8690M Options compiled in:

linux release using_v4l using_oss using_alsa using_jack using_ivtv using_dbox2 using_lirc using_joystick_menu using_x11 using_xv using_dvdnav using_xrandr using_frontend using_backend

Attachments (1)

.fvwm2rc (384 bytes) - added by Webmaachter@… 18 years ago.
In the hope it isnt a Problem with the windowmanager

Download all attachments as: .zip

Change History (6)

comment:1 Changed 18 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 18 years ago by cpinkham

Resolution: worksforme
Status: newclosed

Marking this as "Works For Me" because it does work although it may not work the way you're expecting in your testing. The popup dialogs require mythfrontend to have focus, so it appears that you are testing this by running telnet in another window on the same machine you are running mythfrontend on. This means that your telnet window has focus and not mythfrontend, so the popup widget doesn't have focus . The code in mythdialogs.cpp doesn't allow key up/down/left/right actions unless the widget has focus. If you run mythfrontend on one box and mythfrontend has focus and you telnet in from another box, then you can properly control the popup dialgos. If you still have issues while mythfrontend has focus, you can reopen the ticket.

comment:3 Changed 18 years ago by Webmaachter@…

Resolution: worksforme
Status: closedreopened

It should not be a fokus-problem. I was telnet-ing from another Computer. I only wrote "localhost" because i wanted to keep the example simple.. my fault.

2 things that indicate it shouldnt be an fokus-Problem:

In the first example the key down works fine (up/left/right too). Only enter doesnt work.

While trying it with telnet the keyboard on the mythbox can use all keys. (I should have mention that in the first place)

Infos: I'm using fvwm as windowmanager (I'll attach my .fvwm2rc)

Changed 18 years ago by Webmaachter@…

Attachment: .fvwm2rc added

In the hope it isnt a Problem with the windowmanager

comment:4 Changed 18 years ago by cpinkham

(In [8740]) Fix NetworkControl? sending keypresses to certain widgets and the EPG. Instead of posting events to the MainWindow?, just post them to the widget that has focus.

References #1111. This fixes the popup menus for me, but the lineedit widgets still do not work so I'm keeping the ticket open for now.

comment:5 Changed 18 years ago by cpinkham

Resolution: fixed
Status: reopenedclosed

(In [8772]) Fix NetworkControl? alphanumeric key commands in LineEdit? widgets. Also add a few other valid keys such as space, slash, backslash, etc. which might be useful in these widgets.

Closes #1111.

Note: See TracTickets for help on using tickets.