Menu

#15 Color Picker and Plasma KDE

1.0
wont-fix
nobody
None
2024-03-01
2023-09-21
No

I'm running a Plasma desktop (with XSNOW 2023 xsnow-3.7.5 built locally. It's great.

When changing snow color, it seems the "eye dropper" button function in the "Pick a Color" dialog fails to function.

It selects color black no matter what, with log messages

(xsnow:708219): GLib-CRITICAL : 22:17:18.754: the GVariant format string '(u)' has a type of '(u)' but the given value has a type of '((u))'
(xsnow:708219): GLib-CRITICAL
: 22:17:18.754: g_variant_get: assertion 'valid_format_string (format_string, TRUE, value)' failed

Trying version xsnow 3.3.2 installed from |sudo apt install xsnow| acts the same, with the same log messages.

Related

Tickets: #15

Discussion

  • Willem Vermin

    Willem Vermin - 2024-02-25

    Sorry for late response, I missed this ticket.
    You are right, the 'eye dropper' fails to function. It selects black, but the snow color is not changed.

    Btw, in xfce, the 'eye dropper' is not shown.

    Thanks for mentioning,
    I'll have a look.

     
    • Mark Capella

      Mark Capella - 2024-02-25

      Hello!

      I really like this app and Plasma KDE is the best afaikt.

      I forked a version and added a QT module to the build to replace the

      GTK colorpicker with the Qt picker which works cross desktop.

      I've done quite a bit of work you might to peek @

      https://github.com/markcapella/plasmasnow.

      Improvements in the windows.c area are helping much with realtime bugs.

      This is a lot of fun. I want to add Xmas lights module next :-)

      mark

      On 2/24/24 21:03, Willem Vermin wrote:

      Sorry for late response, I missed this ticket.
      You are right, the 'eye dropper' fails to function. It selects black,
      but the snow color is not changed.

      Btw, in xfce, the 'eye dropper' is not shown.

      Thanks for mentioning,
      I'll have a look.


      [tickets:#15] https://sourceforge.net/p/xsnow/tickets/15/ Color
      Picker and Plasma KDE

      Status: open
      Milestone: 1.0
      Created: Thu Sep 21, 2023 02:27 AM UTC by Mark Capella
      Last Updated: Thu Sep 21, 2023 02:27 AM UTC
      Owner: nobody

      I'm running a Plasma desktop (with XSNOW 2023 xsnow-3.7.5 built
      locally. It's great.

      When changing snow color, it seems the "eye dropper" button function
      in the "Pick a Color" dialog fails to function.

      It selects color black no matter what, with log messages

      (xsnow:708219): GLib-CRITICAL : 22:17:18.754: the GVariant format
      string '(u)' has a type of '(u)' but the given value has a type of '((u))'
      (xsnow:708219): GLib-CRITICAL
      : 22:17:18.754: g_variant_get:
      assertion 'valid_format_string (format_string, TRUE, value)' failed

      Trying version xsnow 3.3.2 installed from |sudo apt install xsnow|
      acts the same, with the same log messages.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xsnow/tickets/15/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #15

  • Willem Vermin

    Willem Vermin - 2024-02-25

    In gnome, the 'eye dropper' works as expected.

    In KDE, the bug is probably related to https://bugs.kde.org/show_bug.cgi?id=456418

     
  • Willem Vermin

    Willem Vermin - 2024-02-25

    Hi!

    you did an impressive job on xsnow!
    I also love your fresh scenery pictures.

    You state that you corrected many realtime bugs. Can you name some
    that are present in xsnow-3.7.5? Using your code I could try to
    repair them in my version, despite my two left hands when coding for
    gtk and X11.

    About vintage:

    • xsnow-1.42 came with a copyright, prohibiting
      changing the code, apart from adapting to other environments.
      Rick Jansen and I agreed that I could develop xsnow
      provided that there is a 'vintage' setting, which
      restores the look of xsnow-1.42.
      Well, since you call your program 'plasmasnow' this
      does not apply to your version, but it would be nice to
      restore that setting.

    Regards,

    Willem

     
    • Mark Capella

      Mark Capella - 2024-02-26

      :-)

      This was a huge fun win

      https://github.com/markcapella/plasmasnow/issues/24

      It's a big patch as i update random annoying things sometimes in my commits.

      This was huge too but Plasma specific.

      https://github.com/markcapella/plasmasnow/issues/25

      This was nice to clean, and you can do it quick.

      https://github.com/markcapella/plasmasnow/issues/9

      It's full of other stuff but one line fixs it.

      https://github.com/markcapella/plasmasnow/commit/65c145cafcbf40e894f806f37dfa89f6a391690c#diff-990dae1344899558d7ffaa533086e34702bf4c0705be048baa2d081dc2fe0fd9

      Nice to talk to you !

      🙂 mark

      On 2/25/24 17:09, Willem Vermin wrote:

      Hi!

      you did an impressive job on xsnow!
      I also love your fresh scenery pictures.

      You state that you corrected many realtime bugs. Can you name some
      that are present in xsnow-3.7.5? Using your code I could try to
      repair them in my version, despite my two left hands when coding for
      gtk and X11.

      About vintage:
      - xsnow-1.42 came with a copyright, prohibiting
      changing the code, apart from adapting to other environments.
      Rick Jansen and I agreed that I could develop xsnow
      provided that there is a 'vintage' setting, which
      restores the look of xsnow-1.42.
      Well, since you call your program 'plasmasnow' this
      does not apply to your version, but it would be nice to
      restore that setting.

      Regards,

      Willem


      [tickets:#15] https://sourceforge.net/p/xsnow/tickets/15/ Color
      Picker and Plasma KDE

      Status: open
      Milestone: 1.0
      Created: Thu Sep 21, 2023 02:27 AM UTC by Mark Capella
      Last Updated: Sun Feb 25, 2024 03:06 PM UTC
      Owner: nobody

      I'm running a Plasma desktop (with XSNOW 2023 xsnow-3.7.5 built
      locally. It's great.

      When changing snow color, it seems the "eye dropper" button function
      in the "Pick a Color" dialog fails to function.

      It selects color black no matter what, with log messages

      (xsnow:708219): GLib-CRITICAL : 22:17:18.754: the GVariant format
      string '(u)' has a type of '(u)' but the given value has a type of '((u))'
      (xsnow:708219): GLib-CRITICAL
      : 22:17:18.754: g_variant_get:
      assertion 'valid_format_string (format_string, TRUE, value)' failed

      Trying version xsnow 3.3.2 installed from |sudo apt install xsnow|
      acts the same, with the same log messages.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xsnow/tickets/15/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #15

  • Willem Vermin

    Willem Vermin - 2024-02-26

    Hi again,

    I implemented the fallensnow->flakes conversion when moving or resizing a window.
    Looks good.
    I also made the gui window non-resizable.
    The problem you mentioned with fallensnow staying fixed on the screen, I could
    not reproduce, even with your fxClock as test window. Did not try it in KDE though.
    Thanks for your input. Let me know if there are more issues.

    BTW: I put the new version on
    https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html

     
  • Willem Vermin

    Willem Vermin - 2024-03-01

    Back to the original issue:

    • the eyedropper button is not visible in all desktop environments
    • when visible, the behavior is erroneous
    • the eyedropper is not important for xsnow
    • Mark Capella has a solution, using QT
    • having QT next to GTK3 only for the eyedropper seems to me an exaggeration

    So, I leave the color button as it is.

    Expect a new version of xsnow within a few weeks or so.

     
  • Willem Vermin

    Willem Vermin - 2024-03-01
    • status: open --> wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB