Easily way to change the colour of the note

Bug #1019843 reported by Olivier Girard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-stickynotes
Fix Released
Wishlist
Umang Varma

Bug Description

Hi,
It will be fine/great if, like Rhinote, the user could change the colour of the note in a easy and simple way.
Thanks.

Tags: colour
Changed in indicator-stickynotes:
status: New → Confirmed
tags: added: colour
Revision history for this message
Umang Varma (umang) wrote :

Sure. Sounds like a good idea. It was definitely on my mind as something to work on in the coming weeks. I still don't know whether I want to allow the user only to modify global settings or modify settings for individual notes. I've got a lot of work in the next couple weeks don't expect anything in a few days.

Changed in indicator-stickynotes:
importance: Undecided → Wishlist
Revision history for this message
Olivier Girard (eolinwen) wrote :

As it is a GTK3 application, I 'll suggest to use the GtkHSV widget which is better and easier than the traditional GtkColorSelection widget.
Thanks. I'll keep a look at your progress.

Umang Varma (umang)
Changed in indicator-stickynotes:
assignee: nobody → Umang Varma (umang)
Revision history for this message
Umang Varma (umang) wrote :

Since GtkHSV is deprecated, I'm afraid I don't want to use it.

Anyway, I'm making some progress on this. I think the way this is going to work is that there will be a "default" color that you can change. For the next version, that might be the only thing that you can control.

In a future version, I can work on having notes be categorized, and each category can have its own background color. That will be dealt with in lp:1027544

Changed in indicator-stickynotes:
milestone: none → 0.3
Revision history for this message
Olivier Girard (eolinwen) wrote : Re: [Bug 1019843] Re: Easily way to change the colour of the note

That's great to hear that.

>>>Since GtkHSV is deprecated, I'm afraid I don't want to use it.

Oh Are you sure of that ? I am a bit surprised. It is a new widget which
comes only with GTK3 i.e he is not present in GTK2.
Perhaps, are you speaking of GtkColorSelectionDialog or GtkColorSelection
or GtkFontSelection ?

I hope because it is a nice and simple widget which provides a professional
look too.
2012/7/22 Umang Varma <email address hidden>

> Since GtkHSV is deprecated, I'm afraid I don't want to use it.
>
> Anyway, I'm making some progress on this. I think the way this is going
> to work is that there will be a "default" color that you can change. For
> the next version, that might be the only thing that you can control.
>
> In a future version, I can work on having notes be categorized, and each
> category can have its own background color. That will be dealt with in
> lp:1027544
>
> ** Changed in: indicator-stickynotes
> Milestone: None => 0.3
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1019843
>
> Title:
> Easily way to change the colour of the note
>
> Status in Indicator Stickynotes:
> Confirmed
>
> Bug description:
> Hi,
> It will be fine/great if, like Rhinote, the user could change the colour
> of the note in a easy and simple way.
> Thanks.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/indicator-stickynotes/+bug/1019843/+subscriptions
>

--
Olivier
Cenwen un elfe sur la banquise/ an elve on the ice
Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot :
http://linuxevolution.wordpress.com/
Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
http://openshotusers.com/forum/index.php
Nothing is lost until the last second.
The family motto : When we want, we can.
Astuces, Actualités, Logiciels, bref sur tout ce que je ne fais d'articles
dessus Google+ <https://plus.google.com/u/0/111472725110173916234/posts>

Revision history for this message
Umang Varma (umang) wrote :

To quote GTK documentation: "GtkHSV has been deprecated together with GtkColorSelection, where it was used." [1]
Further, the GtkColorButton and related widgets seem to be the only color selection widgets that have not been deprecated. [2]

Thankfully, the part that seemed to be that hardest was getting the colors to work correctly, and that is almost done. If GtkHSV or GtkColorSection aren't deprecated or can still be used for a long time, then it shouldn't be too hard to switch back to them.

Also, I had asked about this on the GTK+ IRC channel, and here's the response I got:

ebassi : umang: GtkColorChooserWidget implements GtkColorChooser, where the whole API lives
ebassi : umang: GtkColorChooser is also implemented by GtkColorChooserDialog and GtkColorButton
ebassi : umang: the reaon why GtkColorSelection was deprecated is that the class was developed for the gtk2 API, and the dialog has been completely redesigned
ebassi : umang: instead of changing the existing dialog appearance (and possibly break expectations from developers) a new widget was added, with a better API, using gtk3 data structures like GdkRGBA

Anyway, let me stick to the widgets that haven't been deprecated for now. Once the next version is released, I would love to hear your feedback. My initial reaction, though, is with you: the HSV widget looks better than the GtkColorChooserWidget. However, I have been liking the color chooser more now that I've seen it in action.

[1]: http://developer.gnome.org/gtk3/stable/GtkHSV.html
[2]: http://developer.gnome.org/gtk3/stable/SelectorWidgets.html

Revision history for this message
Olivier Girard (eolinwen) wrote :

Strange that they have deprecated this one and it is very damage (to my
mind). I find GtkColorChooserDialog less sexy/beautiful and handy.

No problem to test and give you some feedbacks. Just to be sure that I
don't miss something., send me a mail to said me. [?] [?]

2012/7/22 Umang Varma <email address hidden>

> To quote GTK documentation: "GtkHSV has been deprecated together with
> GtkColorSelection, where it was used." [1]
> Further, the GtkColorButton and related widgets seem to be the only color
> selection widgets that have not been deprecated. [2]
>
> Thankfully, the part that seemed to be that hardest was getting the
> colors to work correctly, and that is almost done. If GtkHSV or
> GtkColorSection aren't deprecated or can still be used for a long time,
> then it shouldn't be too hard to switch back to them.
>
> Also, I had asked about this on the GTK+ IRC channel, and here's the
> response I got:
>
> ebassi : umang: GtkColorChooserWidget implements GtkColorChooser,
> where the whole API lives
> ebassi : umang: GtkColorChooser is also implemented by
> GtkColorChooserDialog and GtkColorButton
> ebassi : umang: the reaon why GtkColorSelection was deprecated is
> that the class was developed for the gtk2 API, and the dialog has been
> completely redesigned
> ebassi : umang: instead of changing the existing dialog appearance
> (and possibly break expectations from developers) a new widget was added,
> with a better API, using gtk3 data structures like GdkRGBA
>
> Anyway, let me stick to the widgets that haven't been deprecated for
> now. Once the next version is released, I would love to hear your
> feedback. My initial reaction, though, is with you: the HSV widget looks
> better than the GtkColorChooserWidget. However, I have been liking the
> color chooser more now that I've seen it in action.
>
>
> [1]: http://developer.gnome.org/gtk3/stable/GtkHSV.html
> [2]: http://developer.gnome.org/gtk3/stable/SelectorWidgets.html
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1019843
>
> Title:
> Easily way to change the colour of the note
>
> Status in Indicator Stickynotes:
> Confirmed
>
> Bug description:
> Hi,
> It will be fine/great if, like Rhinote, the user could change the colour
> of the note in a easy and simple way.
> Thanks.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/indicator-stickynotes/+bug/1019843/+subscriptions
>

--
Olivier
Cenwen un elfe sur la banquise/ an elve on the ice
Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot :
http://linuxevolution.wordpress.com/
Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
http://openshotusers.com/forum/index.php
Nothing is lost until the last second.
The family motto : When we want, we can.
Astuces, Actualités, Logiciels, bref sur tout ce que je ne fais d'articles
dessus Google+ <https://plus.google.com/u/0/111472725110173916234/posts>

Revision history for this message
Umang Varma (umang) wrote :

I've committed this to the repository. Depending on how it works out, I might tweak it for the next version. For now, it seems to work smoothly in my experience.

Changed in indicator-stickynotes:
status: Confirmed → Fix Committed
Umang Varma (umang)
Changed in indicator-stickynotes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.