Lecturing on keyboard shortcuts when windows media player is the only video player in the world not using the space bar as a shortcut for play/pause.
Really? What key does it use instead?
Comments by a developer inside the Windows Media Player source code
91–100 of 135 posts
Re: Comments by a developer inside the Windows Media Player source code
#92One of the ugly hacks you do in SAP to make it work is reading/changing variables and structures inside the SAP standard code because there is no API exposing them. It is blessed officially as doing a "dirty" assign.
> there is no API exposing them. If there's no API exposing them but there's a way to make use of the internals with a dirty assign then sounds like the internals are now part of the API.
It's a fucking mess, but boy do they print money.
Re: Comments by a developer inside the Windows Media Player source code
#93Earlier quoted context omitted.
I think you’re mistaken, YouTube (in all the forms I use it with a keyboard at least) supports spacebar as a pause key. Your browser might try to pop you down half a page if the thing that is selected or highlighted on the page is not the video player itself though. But it works 100% of the time in fullscreen.
Run into a strange behavior though. When I pause the video with the mouse (and consequently, leave the pointer above the play button), and later try to continue the play with space, it will double-press the play button and pause the video again.
Re: Comments by a developer inside the Windows Media Player source code
#94Pretty much what I am expecting from Windows based software considering the mess windows always was and is to this day.
Eh, I've seen similar stuff in the Linux/UNIX world. Whenever different software components interact there's a chance you need some stupid stuff to get them to play nice. As some issues get fixed over time, new ones arrive since something gets swapped out for the next big thing. The interaction of X, the display manager, logind and dbus on session start comes to mind. There's been stupid stuff in Xsession.d et al ove…
Re: Comments by a developer inside the Windows Media Player source code
#95Earlier quoted context omitted.
Then you'd lose useful functionality like dragging a file from your file manager to an application window to open it there.
That's your mouse button, not a keyboard key. Although modifier keys occasionally are used, what's important here is the state of those keys (ctrl for copy, shift/alt or whatever for shortcut); nothing happens when you release them.
Anyway, there's a way to fix this: send a reference to the key-down event when you send the key-up event. Then the receiving window can determine if it cares about it or not. If this is a security hole, send a reference to the window where the key-up event was sent instead.
Re: Comments by a developer inside the Windows Media Player source code
#96Re: Comments by a developer inside the Windows Media Player source code
#97Earlier quoted context omitted.
Gonna take a gander and guess the developer might have an Indian origin! Or at least studied for the GRE!
"pulcher" is a fairly elementary piece of Latin vocab. It's in Book I of the Cambridge Latin Course , for example. This is much the same in other courses. So anyone, Indian or not, who has done basic Latin in school is likely to have encountered it and hence be aware of "pulchritude". * https://www.dl.cambridgescp.com/dl_course/book-i A random other example: https://www.ocr.org.uk/Images/221512-gcse-latin-j282-define…
Re: Comments by a developer inside the Windows Media Player source code
#98The bug here is in media player to listen on key-up events. Mouse-button-up makes sense because the user can move the mouse to cancel the click. But key events should be on key-down and that's how it is done most of the time. So if you use key-up you run into these problems.
“But key events should be on key-down” Should they, in general? If you want to press a key combination, you never press the two keys at exactly the same time. So, if key events were on key-down, you would have to press modifiers before letters to type capital letters, use keyboard shortcuts, etc. I think that would be annoying and slow typists down. It also rules out using bare modifier key presses as input methods,…
Re: Comments by a developer inside the Windows Media Player source code
#99What is the best library to use these days for developing in Visual C++? I had to write some VCpp code a few days ago using the Winhttp api and it was a nightmare. I'm not sure if its because I've been spoiled rotten by python where you can do a get/post request with a few lines of code, and that this is just how CPP is, but most of the complications are to do with calling and using the (not very well) documented API…
Re: Comments by a developer inside the Windows Media Player source code
#100> so we need to add yet more ugliness in the form of assembler to an app which is already hardly a paragon of pulchritude Throwing some serious vocab shade in these comments, love it.