Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2293

Using numeric keys in Mypictures plugin opens layout menu

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.0
    • 1.3.0 Alpha
    • Plugins
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      <p>In Windowpluginbase.cs there is check for following in public override bool OnMessage(GUIMessage message):</p><p>if (message.TargetControlId == btnLayouts.GetID)</p><p>In case of sms search, message.TargetControlId holds sender window id and in case for Mypictures it is "2" exactly as btnLayouts id and as condition is "true"<br />folowing is executed:<br />// Set the new layout and select the currently selected item in the layout.<br />SetLayout((Layout)btnLayouts.SelectedItemValue);<br />SelectCurrentItem();</p><p>// Refocus on the layout button control.<br />GUIControl.FocusControl(GetID, message.TargetControlId);</p><p>msgHandled = true;</p><p>which opens side menu for layout, sort....</p><h4><a data-cke-saved-name="StepstoReproduce" name="StepstoReproduce"></a>Steps to Reproduce</h4><p>Open MyPictures and start to use numeric keyboard , side menu will open.<br />This is also a case if using "0" (delete) key.</p><h4><a data-cke-saved-name="AdditionalInformation" name="AdditionalInformation"></a>Additional Information</h4><p>Switching<br />if (message.TargetControlId == btnLayouts.GetID)</p><p>with</p><p>if (message.SenderControlId == btnLayouts.GetID)</p><p>gives good result (didn't found any problems in other plugins), layouts are switching correctly and SMS search works ok, "0" delete key also</p>

      Attachments

        Activity

          People

            deda deda (Inactive)
            deda deda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: