Am Freitag, 31. März 2017, 21:47:28 CEST schrieb Stéphane Gourichon: > Le 31/03/2017 à 18:38, Stéphane Gourichon a écrit : > > It looks like darktable UI implements some sort of > > focus-follows-pointer behavior, which is uncommon these days. I do not > > know of any other gtk app that does this (or any recent app, what was > > the last one I saw behaving like this ... a Motif app maybe, 20 years > > ago?). > > Thank you all for your examples of UI behavior. > > I was surprised no one mentioned side panels in lighttable, because it > hit me many times. > > Then I tested (it hit me actually always on the same spot). I observed > the others are not affected and on experimenting I finally figured out > what happens. > > TL;DR: drop-downs steal focus and that's a pain on "export selected" module. > > Where ? lighttable, right panel, module "export selected" > > How to reproduce : > > * open lighttable, move mouse to right panel, expand "export selected" > * click on export path textbox (between "target storage" and "on conflict"). > * type some characters, they appear > * move mouse pointer away > * type some more characters > > Expected : more characters appear > Observed : as soon as the pointer is moved away, textbox is no longer > focused, no characters are inserted
[...] > Nevertheless, IHMO focus is not expected to be stolen away from textbox > when move is moved away. [...] The reason why we take away keyboard focus when the mouse leaves a widget (or enters the central area) is quite simple: to make keyboard shortcuts work. In the past we had a ton of issues where shortcuts stopped working once you entered any text into a textbox. They came back when you clicked on certain parts of the gui to give back keyboard focus to the whole program. Those were dark times. What we have now isn't ideal either, but it's better than what there was before. Now, metadata editor is a little special as it both shows the data from the selected images as well as allows editing. For that reason it applies your entry whenever focus goes away so you don't need to confirm your edit. Tobias
signature.asc
Description: This is a digitally signed message part.
