<div dir="ltr">Updated patch attached. Replies inline :)<br><br><div class="gmail_quote"><div dir="ltr">On Wed, May 9, 2018 at 3:02 AM David Fuhrmann <<a href="mailto:david.fuhrmann@gmail.com">david.fuhrmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hello Daksh,<div><br></div><div>Maybe your misunderstood my question a bit. I was asking if you should set the same value for both NSAccessibilityDescriptionAttribute and NSAccessibilityTitleAttribute, or whether setting only one attribute would be enough as well. But if you do now know, then we can also leave it as is.</div></div></blockquote><div>About that, I had a look at <a href="https://stackoverflow.com/q/8423465/2806163">https://stackoverflow.com/q/8423465/2806163</a> and it seems like it is exactly what you described. The Description used there is related to VoiceOver. I tried using it myself but I could not get VoiceOver to work on the buttons in Full Screen. Maybe there is a bug or I was doing it wrong, but that is what it is intended to do, as far as my understanding is. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>Also see inline.</div><div><br></div><div><br></div><div><blockquote type="cite"><div>From 0716d8e311f4199fbb45fef5205bbe76ede4af22 Mon Sep 17 00:00:00 2001</div><div>From: Daksh Shah <<a href="mailto:daksh17336@iiitd.ac.in" target="_blank">daksh17336@iiitd.ac.in</a>></div><div>Date: Sun, 6 May 2018 19:13:41 +0530</div><div>Subject: [PATCH] macosx: Make toolTips on Full Screen consistent</div><div><br></div><div>Fix #19993. Now the tooltips which are shown in the Normal View are same</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>as the ones which are shown in Full-Screen View. Adapted the shorter version.</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>And also, changed the Normal View toolTip of "Fullscreen" to "Enter fullscreen“</div></blockquote><div><br></div><div>You should write „fixes #19993“ as a separate and last paragraph of you commit message.</div></div></div></blockquote><div>Done </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>---</div><div> modules/gui/macosx/VLCControlsBarCommon.m |  2 +-</div><div> modules/gui/macosx/VLCFSPanelController.m | 13 ++++++++-----</div><div> 2 files changed, 9 insertions(+), 6 deletions(-)</div><div><br></div><div>diff --git a/modules/gui/macosx/VLCControlsBarCommon.m b/modules/gui/macosx/VLCControlsBarCommon.m</div><div>index 996b9aa92f..93de7151d0 100644</div><div>--- a/modules/gui/macosx/VLCControlsBarCommon.m</div><div>+++ b/modules/gui/macosx/VLCControlsBarCommon.m</div><div>@@ -78,7 +78,7 @@ - (void)awakeFromNib</div><div>     if (_darkInterface)</div><div>         [self.timeSlider setSliderStyleDark];</div><div> </div><div>-    [self.fullscreenButton setToolTip: _NS("Fullscreen")];</div><div>+    [self.fullscreenButton setToolTip: _NS("Enter fullscreen")];</div><div>     [[self.fullscreenButton cell] accessibilitySetOverrideValue:[self.fullscreenButton toolTip] forAttribute:NSAccessibilityDescriptionAttribute];</div><div> </div><div>     if (!_darkInterface) {</div><div>diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m</div><div>index b16f47fafe..3a83665239 100644</div><div>--- a/modules/gui/macosx/VLCFSPanelController.m</div><div>+++ b/modules/gui/macosx/VLCFSPanelController.m</div><div>@@ -92,7 +92,7 @@ - (void)windowDidLoad</div><div>                              forAttribute:NSAccessibilityTitleAttribute];             \</div><div>     [target accessibilitySetOverrideValue:desc                                        \</div><div>                              forAttribute:NSAccessibilityDescriptionAttribute];       \</div><div>-    [target setToolTip:desc];</div><div>+    [target setToolTip:title];</div></blockquote><div><br></div><div>Ok, this looks fine.</div><br><blockquote type="cite"><div> </div><div> - (void)setupControls</div><div> {</div><div>@@ -107,17 +107,17 @@ - (void)setupControls</div><div>                 _NS("Previous"),</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>                 _NS("Go to the previous item"));</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>     setupButton(_forwardButton,</div><div>-                _NS("Forward"),</div><div>+                _NS("Seek Forward"),</div><div>                 _NS("Seek forward"));</div></blockquote><div><br></div><div>This does not unify things, but actually makes the text different between fullscreen controller and controls bar now.</div><div>In controls bar, we already use „Forward“ and "Seek forward“.</div><div><br></div><div>I would probably keep it as is for now.</div></div></div></blockquote><div>The reason I changed it was, it would clear the slight ambiguity which comes owing to the Next and Previous buttons which show up only in the Full screen by default.</div><div>But maybe it is better to stick with the old Heading. Updated in the commit </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>     setupButton(_backwardButton,</div><div>-                _NS("Backward"),</div><div>+                _NS("Seek Backward"),</div><div>                 _NS("Seek backward"));</div></blockquote><div><br></div><div>Same as above.</div></div></div></blockquote><div>Updated </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><div><br></div><div>Also, having both „Seek Backward“, and „Seek backward“ (with lower case b) does not make much sense.</div></div></div></blockquote><div>The second one would have been in VoiceOver, so I thought it would not make any difference. But changing the title to original as you suggested </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>     setupButton(_fullscreenButton,</div><div>-                _NS("Toggle Fullscreen mode"),</div><div>+                _NS("Leave Fullscreen"),</div><div>                 _NS("Leave fullscreen mode"));</div></blockquote><div><br></div><div>The change itself seems to be ok. But why should we have both „Leave fullscreen“, and then „Leave fullscreen mode“ below? Both sound too similar for me.</div></div></div></blockquote><div>Just that the description is to be read out loud by the computer, so it would blend in more, was my reasoning to having kept it as is </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>     setupButton(_volumeSlider,</div><div>                 _NS("Volume"),</div><div>-                _NS("Adjust the volume"));</div><div>+                _NS("Adjust the Volume"));</div></blockquote><div><br></div>Why? Volume should stay lower case here I think.</div></div></blockquote><div>Updated </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br><blockquote type="cite"><div>     setupButton(_timeSlider,</div><div>                 _NS("Position"),</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>                 _NS("Adjust the current playback position"));</div></blockquote></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><blockquote type="cite"><div>@@ -221,11 +221,13 @@ - (IBAction)volumeSliderUpdate:(id)sender</div><div> - (void)setPlay</div><div> {</div><div>     [_playPauseButton setState:NSOffState];</div><div>+    [_playPauseButton setToolTip: _NS("Play")];</div><div> }</div></blockquote><div><br></div>Ok.</div><div><br><blockquote type="cite"><div> </div><div> - (void)setPause</div><div> {</div><div>     [_playPauseButton setState:NSOnState];</div><div>+    [_playPauseButton setToolTip: _NS("Pause")];</div><div> }</div></blockquote><div><br></div>Ok.<br><blockquote type="cite"><div> </div><div> - (void)setStreamTitle:(NSString *)title</div><div>@@ -292,6 +294,7 @@ - (void)setSeekable:(BOOL)seekable</div><div> - (void)setVolumeLevel:(int)value</div><div> {</div><div>     [_volumeSlider setIntValue:value];</div><div>+    [_volumeSlider setToolTip: [NSString stringWithFormat:_NS("Volume: %i %%"), (value*200)/AOUT_VOLUME_MAX]];</div><div> }</div><div> </div></blockquote><div><br></div>Ok.</div><div><br><blockquote type="cite"><div> #pragma mark -</div><div>-- </div><div>2.15.1 (Apple Git-101)</div><div><br></div></blockquote><br></div><div>Best regards,</div><div>David</div><div><br></div><div><div><br><blockquote type="cite"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>Am 06.05.2018 um 16:27 schrieb Daksh Shah <<a href="mailto:daksh17336@iiitd.ac.in" target="_blank">daksh17336@iiitd.ac.in</a>>:</div><br class="m_4262495554261952669Apple-interchange-newline"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><div dir="ltr">Hi, <div><br></div><div>I have updated the patch, kindly have a look. Yes, you were right about it not making a lot of sense to set the description same as  I found out that in the normal view, the tooltip was being set to title(NSAccessibilityTitleAttribute). But in FullScreen, it was being set to description. So I changed the setupButton function and now the tooltip is being set to the title rather than the description (For FS View as well)</div><div><br>I also updated some of the values for that. Let me know if any changes are needed :)<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 21, 2018 at 11:23 PM David Fuhrmann <<a href="mailto:david.fuhrmann@gmail.com" target="_blank">david.fuhrmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">HI Daksh,<div><br></div><div>See below.<br><div></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><br><blockquote type="cite"><div>Am 21.03.2018 um 12:00 schrieb Daksh Shah <<a href="mailto:daksh17336@iiitd.ac.in" target="_blank">daksh17336@iiitd.ac.in</a>>:</div><br class="m_4262495554261952669m_-813062079578191380Apple-interchange-newline"><div><div dir="ltr">Thanks for your feedback. Kindly have a look at the replies in-line<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 21, 2018 at 4:28 AM David Fuhrmann <<a href="mailto:david.fuhrmann@gmail.com" target="_blank">david.fuhrmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
-                _NS("Go to next item"));<br>
+                _NS("Forward"));<br>
<br>
This looks very misleading. This button is about jumping to next item, not about forwarding the same item.</blockquote><div>I am sorry. I will fix that and change the toolTip to "Next" </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Just below, there is another button for "Seek forward“. So you should not choose a description which is too close to the other button (as its done in your proposal).<br></blockquote><div>By proposal you mean this patch right? </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If you compare to the buttons descriptions in the main window: Please note that those buttons have different features, depending if only a back and forward button is shown, or if  „next“ / „prev“ buttons are shown additionally.<br></blockquote><div>I understood that now. I think that it is another place where some enhancement can be done. When the two new buttons show up, the toolTips remain the same. And the functionalities change. This does not seem intuitive for new users. <br>The only reason I realized that was because you pointed it out.</div><div><br></div><div>Should I try to change this?</div></div></div></div></blockquote><div><br></div></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><div>Sure, if you want to.</div></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
-                _NS("Go to the previous item"));<br>
+                _NS("Backward"));<br>
<br>
Same here.<br>
<br>
     setupButton(_timeSlider,<br>
                 _NS("Position"),<br>
-                _NS("Adjust the current playback position"));<br>
+                _NS("Position"));<br>
<br>
Are you sure choosing the same string for Accessibility title and accessibility description is the correct thing to do? I would rather assume one might leave the description blank if you actually have no description (but I’m just guessing here…)<br></blockquote><div>I could not understand properly. The title is what shows up in the toolTip. But is there a place where the description shows up? I kept it just in case it might be describing the button in some other place.</div><div>If not, I think we should remove it. </div></div></div></div></blockquote><div><br></div></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div>Your patch modifies the attribute NSAccessibilityDescriptionAttribute, mainly. Would be great if you can check what this is and where its used in detail, and if you can find any guidelines how it should be filled. (IIRC is has something to do if you use accessibility options like voice control or similar, but I do not remember details out of my head.)</div><div><br></div><div>Just from the naming of both attributes, I find it weird to have a „title“ and a „description“ with the same content.</div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><br><blockquote type="cite"><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(120,73,42)"><br></div></blockquote><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
BR. David<br>
<br>
> Am 19.03.2018 um 12:02 schrieb Daksh Shah <<a href="mailto:daksh17336@iiitd.ac.in" target="_blank">daksh17336@iiitd.ac.in</a>>:<br>
><br>
> Now the tooltips which are shown in the Normal View are same as the ones which are shown in Full-Screen View. Adapted the shorter version.<br>
> And also, changed the Normal View toolTip of "Fullscreen" to "Enter fullscreen"<br>
><br>
> <0001-Fixed-19993-Made-toolTips-on-Full-Screen-consistent.patch>_______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div>
_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></div></blockquote></div><br></div></div>_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div></div>
</div></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><span id="m_4262495554261952669cid:16335d4a1623f7bf3031"><0001-macosx-Make-toolTips-on-Full-Screen-consistent.patch></span></div></blockquote></div><br></div></div></blockquote></div></div>