Details
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
Issue Links
- links to