Re: Soft Feature Freeze Approaching

2023-01-09 Thread Fusion Future
Is it possible to make Hebrew/Jewish calendar available in Plasma 5.27? 
The code is largely borrowed from the Indian calendar backend so the 
actual change is small.


https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/313



Re: Rename pt to pt_PT in svn

2023-01-09 Thread Albert Astals Cid
El diumenge, 8 de gener de 2023, a les 9:57:18 (CET), hanyoung va escriure:
> Hello everyone,
> 
> I'd like to rename `pt` directory in our svn to `pt_PT` to fix the bug that
> most applications treat `pt` as `pt_BR`. My understanding is that
> `l10n-kf5/$LANGUAGE/messages/plasma-workspace/plasmashell.po` will be sync
> to `plasma-workspace/po/$LANGUAGE/plasmashell.po`. In turn, when we call
> `KLocalizedString::availableDomainTranslations("plasmashell").values()` in
> systemsetting to get the list of available languages, it essentially
> iterates over the translation directories and return the list of directory
> names that have plasmashell.po in them. And that's why we're getting ["pt",
> "pt_BR"]. Sadly, most applications (include KDE itself) treat `pt` as
> `pt_BR`.

"most applications" is not correct, as far as i understand the only thing that 
says pt -> pt_BR is QLocale (and CLDR but as far as i know there's not much 
plain CLDR usage out there). 

The rest of the glibc world treats pt as that, just pt with no country 
specialization.

> So effectively, user can't set their system language to `pt_PT` in
> systemsettings.

That's a bug in systemsettings, we've had code tha takes into account "pt in 
glibc locale world needs to be pt_PT in QLocale world" since I fixed in 2015, 
but I guess someone removed it at some point.

> As a temporary measure, we can explicitly set 'pt' to 'pt_PT' in
> systemsettings code. As I did in this MR:
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2478

That seems reasonable (except for the hand rolled search algorithm) (haven't 
tested either)

I don't see why you consider that a temporary measure, it's the correct fix 
that manages correctly the fact that glibc and qlocale disagree.

> However, I wish in the long term we can rename the 'pt' in
> https://websvn.kde.org/trunk/l10n-kf5/pt/ to 'pt_PT'. This should fix the
> root issue.

I think that would be bad idea since it would make people using the pt_MO 
locale not getting any translation.

Cheers,
  Albert

> 
> Relevant bug report, forum discussion and MR:
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2478
> https://discuss.kde.org/t/rename-pt-in-i10n-svn-to-pt-pt/118
> https://bugs.kde.org/show_bug.cgi?id=454991
> 
> Note: please reply on either MR, forum post or bug report. Forum post is
> preferred since I linked it to the MR and bug report (and also in source
> code comment)
> 
> Regards,
> Han






Monday meeting notes for 9/1/2023

2023-01-09 Thread Marco Martin
Nico
Gnome is hosting a sprint around graphics stuff (in particular HDR)
https://wiki.gnome.org/Hackfests/ShellDisplayNext2023
Might be interesting for some of us to attend (Probably Xaver will go)
Since it will involve stuff in the lower/shared levels
* Some a11y-related work in kwin_wayland:
* https://invent.kde.org/plasma/kwin/-/merge_requests/3362
* https://invent.kde.org/plasma/kwin/-/merge_requests/3365
* And a big-ish refactor in plasma-nm:
https://invent.kde.org/plasma/plasma-nm/-/merge_requests/193
* Besides that I've been working on cleaning up our X11 startup id
handling across all of KDE
* A lot of it was quite broken
* And I worked on making third-party kwin addons translatable
* That's it from me

Kai Uwe
Happy new year :) Did some bloggy things:
https://blog.broulik.de/2022/12/looking-back-at-2022/

Also finally merged the AFC KIO worker for accessing iOS devices.
Please give it a try if you have such a device:
https://blog.broulik.de/2022/11/introducing-kio-afc/ (it's in
kio-extras, git master should give it to you already)

KWin:

Been investigating various issues in the x11 windowed backend
glGetTexImage isn’t in GLES, which makes GLTexture::toImage abort KWin.
Ported it to use a framebuffer and use glReadPixels (will
upload MR shortly)
It randomly got stuck not continuing to render with no present
complete event. Turns out it doesn’t schedule a frame if damage is
fully empty, unlike all other backends, causing rendering to get stuck
as the frame never “finishes”.
(will upload MR to drop the damage region check)

Other Wayland:

Fixed KFilePlacesView context menu appearing as toplevel when
Dolphin doens’t have focus, please review:
https://invent.kde.org/frameworks/kio/-/merge_requests/1091 (should go
into kf5, too)

Notifications:

Workaround for PlasmoidHeading being a Control, which eats mouse.
Do we have a Qt bug report for that?
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2456

PowerDevil:

Turn off keyboard backlight when closing the lid, not needed on my
machine and apparently not working with this patch either, please
check it out: https://invent.kde.org/plasma/powerdevil/-/merge_requests/122

KRunner:

Add context menu (file menu) to results, so you can e.g. “Open
With” a file that you found, please review:
https://invent.kde.org/plasma/milou/-/merge_requests/51
Would be nice to have this as a shared component with
Notifications applet, but p-w already depends on Milou, so we can’t
depend on p-w, so we can’t put it in workspace components.
Improved Service vs Shell runner duplicates, environment variables
are filtered out now, and so are special cmdline args (e.g.
-qwindowtitle), makes "vlc", and "kpat", among other things, find the
proper apps instead of executables now.

plasma-browser-integration:

Some more Manifest v3 related fixes and tweaks
Turns out xesam "artist" is a string list
Fixed album art not showing up on Soundcloud. It’s a bug on their
end but our code for handling this situation was broken, too :-)


Fushan
* About https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2133
I have no idea how to reduce duplicate code without a boolean if the
two keyboard shortcuts (Move keyboard focus between panels && Activate
a panel widget) will use the same logic to focus on a panel and return
focus to window. Is the change good enough to be merged?
* This MR is begging for more acks:
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2463

Marco
* we (some Bluesystems people) are starting to look into using
accessibility stuff for gui testing
(as Harald blogged a while ago about iirc as he di the infra)
* so on the next weeks there will be mrs that do that all over the
place, should give us better test coverage also of gui stuff and
accessibility  support getting better as a bonus