D28378: [kcmkwin/kwindesktop] Fix inability to create more than one row on the "Virtual Desktops" settings page

Eugene Popov noreply at phabricator.kde.org
Mon Mar 30 14:44:26 BST 2020


epopov added a comment.


  There's no easy way to do this. I can use something like this:
  
    return Number.fromLocaleString(locale, text.match(new RegExp("[" + locale.groupSeparator + "\\d]+")))
  
  But currently, the number of rows is a positive integer in the range [1..20], so we don't need to take into account the locale when parsing it.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D28378

To: epopov, ngraham, zzag, davidedmundson
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200330/902fbac5/attachment-0001.html>


More information about the kwin mailing list