[plasmashell] [Bug 480247] Missing emojis where name includes " E"

2024-01-24 Thread Oliver Jõgar
https://bugs.kde.org/show_bug.cgi?id=480247

--- Comment #2 from Oliver Jõgar  ---
(In reply to fanzhuyifan from comment #1)
> Can confirm. Would you be interested in submitting a merge request for a
> fix? Thanks!
> 
> More information can be found at
> https://community.kde.org/Get_Involved/development

Thank you for confirming. Yes, I can make a merge request. I'm not confident
that my proposed fix is the only or best solution, but I suppose that can be
discussed in the MR.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 480247] New: Missing emojis where name includes " E"

2024-01-23 Thread Oliver Jõgar
https://bugs.kde.org/show_bug.cgi?id=480247

Bug ID: 480247
   Summary: Missing emojis where name includes " E"
Classification: Plasma
   Product: plasmashell
   Version: 5.27.10
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: minor
  Priority: NOR
 Component: Emoji Selector
  Assignee: plasma-b...@kde.org
  Reporter: m...@treier.xyz
  Target Milestone: 1.0

Created attachment 165171
  --> https://bugs.kde.org/attachment.cgi?id=165171&action=edit
Screen recording example of missing emojis

SUMMARY
Any emoji whose name includes the string " E" (space followed by uppercase E)
is missing from the Emoji Selector. For example, all flag emojis whose names
start with an uppercase E are missing. There could be other examples that I've
missed.

STEPS TO REPRODUCE
1. Open Emoji Selector
2. Search for any emoji whose name includes " E" (e.g., "flag: European Union")

OBSERVED RESULT
The emoji cannot be found in the program.

EXPECTED RESULT
The emoji should show up in the program.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
The emoji data is generated with the script emojier/data/update-emoji-data.py
(see
https://invent.kde.org/plasma/plasma-desktop/-/blob/v5.27.10/emojier/data/update-emoji-data.py?ref_type=tags#L60).
 

On line 60, a part of the emoji metadata, which includes the name, is split
using the delimiter " E". This should split the string into two, but it fails
to consider that emojis can have " E" in the name, like with "flag: European
Union", in which case the code could and does split in the middle of the emojis
name. Line 61 is then evaluated as false, which causes the emoji to be ignored
entirely and, therefore, is missing in the output files.

Initial independent testing seems to confirm this to be the culprit. I modified
line 60 to only split on the first occurrence (`split(b" E") => split(b" E",
1)`), and replacing /usr/share/plasma/emoji/* with the newly generated files
got the missing emojis to show up.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 408634] [Wayland] Nvidia Black Screen

2020-08-01 Thread Oliver Jõgar
https://bugs.kde.org/show_bug.cgi?id=408634

Oliver Jõgar  changed:

   What|Removed |Added

 CC||difite...@gmail.com

--- Comment #21 from Oliver Jõgar  ---
For me, when nvidia-drm.modeset=1 and KWIN_DRM_USE_EGL_STREAMS=1 are used, the
Wayland session freezes on my BIOS boot logo and there is no cursor. When I
switch to a tty and back, I get a moving cursor and black screen.

When I don't use KWIN_DRM_USE_EGL_STREAMS, I can log in and get a desktop, but
it runs at a completely unusable framerate.

The screen is black and you can't see anything, but programs launch fine and
input devices work, as I can hear Discord launch after login.

My computer is using the "video-nvidia-440xx" proprietary driver, more
specifically 440.100, no hybrid or Optimus used, meaning this isn't limited to
hybrid graphics solutions.

CPU: Intel i5-9600K
GPU: NVIDIA GeForce GTX 1660

Manjaro 20.0.3 Stable
KDE Plasma 5.19.3
KDE Frameworks 5.72.0
Qt 5.15.0
Kernel: 5.7.9-1-MANJARO

-- 
You are receiving this mail because:
You are watching all bug changes.