After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692383 - Allow editing of box name in the title
Allow editing of box name in the title
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: properties
unspecified
Other Linux
: Normal normal
: 3.22
Assigned To: Adrien Plazas
GNOME Boxes maintainer(s)
Depends on: 726252
Blocks: 696727
 
 
Reported: 2013-01-23 13:33 UTC by Alexander Larsson
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
machine: Set the status as the name on name change (760 bytes, patch)
2014-03-12 16:58 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of "name" property (3.18 KB, patch)
2014-03-12 17:20 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of "name" property (3.18 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
needs-work Details | Review
remote-machine: Save name on change of "name" property (1.57 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
needs-work Details | Review
Add properties-toolbar (3.67 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
needs-work Details | Review
Use properties-toolbar (4.33 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
Remove name entry from properties (2.17 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Center the title (1.31 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Set the "title" style to the title (830 bytes, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
editable-entry: Add a way to align all the texts the same way (1.44 KB, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
machine: Set the status as the name on name change (760 bytes, patch)
2014-03-12 17:38 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of name property (3.70 KB, patch)
2014-03-13 13:10 UTC, Adrien Plazas
needs-work Details | Review
remote-machine: Save name on change of "name" property (1.74 KB, patch)
2014-03-13 13:10 UTC, Adrien Plazas
needs-work Details | Review
Add properties-toolbar (3.67 KB, patch)
2014-03-13 13:10 UTC, Adrien Plazas
none Details | Review
Use properties-toolbar (4.40 KB, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
Remove name entry from properties (2.31 KB, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Center the title (1.45 KB, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Set the "title" style to the title (904 bytes, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
editable-entry: Add a way to align all the texts the same way (1.57 KB, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
machine: Set the status as the name on name change (836 bytes, patch)
2014-03-13 13:11 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of the "name" property (3.71 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
remote-machine: Save name on change of "name" property (1.85 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
Add properties-toolbar (3.91 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
Use properties-toolbar (4.58 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
Remove name entry from properties (2.31 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Center the title (1.45 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Set the "title" style to the title (935 bytes, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
editable-entry: Add a way to align all the texts the same way (1.60 KB, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
machine: Set the status as the name on name change (862 bytes, patch)
2014-03-13 14:54 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of the "name" property (3.71 KB, patch)
2014-03-13 17:29 UTC, Adrien Plazas
accepted-commit_now Details | Review
remote-machine: Save name on change of "name" property (1.85 KB, patch)
2014-03-13 17:29 UTC, Adrien Plazas
accepted-commit_now Details | Review
Add the title entry to the properties toolbar (3.58 KB, patch)
2014-03-13 17:29 UTC, Adrien Plazas
needs-work Details | Review
Remove name entry from properties (2.31 KB, patch)
2014-03-13 17:29 UTC, Adrien Plazas
accepted-commit_now Details | Review
properties-toolbar: Center the title (1.45 KB, patch)
2014-03-13 17:29 UTC, Adrien Plazas
needs-work Details | Review
properties-toolbar: Set the "title" style to the title (935 bytes, patch)
2014-03-13 17:29 UTC, Adrien Plazas
needs-work Details | Review
editable-entry: Add a way to align all the texts the same way (1.60 KB, patch)
2014-03-13 17:30 UTC, Adrien Plazas
needs-work Details | Review
machine: Set the status as the name on name change (862 bytes, patch)
2014-03-13 17:30 UTC, Adrien Plazas
needs-work Details | Review
Add the title entry to the properties toolbar (5.53 KB, patch)
2014-03-16 20:45 UTC, Adrien Plazas
none Details | Review
libvirt-machine: Save name on change of the "name" property (3.71 KB, patch)
2014-06-06 15:55 UTC, Adrien Plazas
needs-work Details | Review
remote-machine: Save name on change of "name" property (1.84 KB, patch)
2014-06-06 15:55 UTC, Adrien Plazas
none Details | Review
Add the title entry to the properties toolbar (5.44 KB, patch)
2014-06-06 15:55 UTC, Adrien Plazas
none Details | Review
Remove name entry from properties (2.32 KB, patch)
2014-06-06 15:55 UTC, Adrien Plazas
none Details | Review
libvirt-machine-properties: Save machine's name on change (1.12 KB, patch)
2014-08-14 08:15 UTC, Adrien Plazas
reviewed Details | Review
remote-machine: Save name on change (1.60 KB, patch)
2014-08-14 08:15 UTC, Adrien Plazas
accepted-commit_now Details | Review
properties-toolbar: Add name title entry (4.99 KB, patch)
2014-08-14 08:15 UTC, Adrien Plazas
needs-work Details | Review
Remove name entry from machine properties (2.21 KB, patch)
2014-08-14 08:15 UTC, Adrien Plazas
rejected Details | Review
libvirt-machine-properties: Save machine's name on change (1.13 KB, patch)
2014-08-14 15:08 UTC, Adrien Plazas
accepted-commit_now Details | Review
remote-machine: Save name on change (1.60 KB, patch)
2014-08-14 15:09 UTC, Adrien Plazas
needs-work Details | Review
properties-toolbar: Add name title entry (5.00 KB, patch)
2014-08-14 15:09 UTC, Adrien Plazas
needs-work Details | Review
i-properties-provider: Update name property according to machine's name (2.30 KB, patch)
2014-08-14 15:09 UTC, Adrien Plazas
accepted-commit_now Details | Review
remote-machine: Save name on change (1.61 KB, patch)
2014-08-15 11:47 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Add name title entry (5.00 KB, patch)
2014-08-15 11:47 UTC, Adrien Plazas
none Details | Review
i-properties-provider: Update name property according to machine's name (2.30 KB, patch)
2014-08-15 11:47 UTC, Adrien Plazas
none Details | Review
libvirt-machine-properties: Save machine's name on change (1.19 KB, patch)
2014-08-15 12:26 UTC, Adrien Plazas
none Details | Review
remote-machine: Save name on change (1.67 KB, patch)
2014-08-15 12:26 UTC, Adrien Plazas
none Details | Review
properties-toolbar: Add name title entry (5.07 KB, patch)
2014-08-15 12:26 UTC, Adrien Plazas
none Details | Review
i-properties-provider: Update name property according to Machine.name (2.29 KB, patch)
2014-08-15 12:26 UTC, Adrien Plazas
none Details | Review
libvirt-machine-properties: Save machine's name on change (1.22 KB, patch)
2014-08-15 12:29 UTC, Adrien Plazas
accepted-commit_now Details | Review
remote-machine: Save name on change (1.71 KB, patch)
2014-08-15 12:29 UTC, Adrien Plazas
accepted-commit_now Details | Review
properties-toolbar: Add name title entry (5.07 KB, patch)
2014-08-15 12:29 UTC, Adrien Plazas
needs-work Details | Review
i-properties-provider: Update name property according to Machine.name (2.29 KB, patch)
2014-08-15 12:29 UTC, Adrien Plazas
needs-work Details | Review
libvirt-machine-properties: Save machine's name on change (1.22 KB, patch)
2014-08-15 15:45 UTC, Adrien Plazas
committed Details | Review
remote-machine: Save name on change (1.71 KB, patch)
2014-08-15 15:45 UTC, Adrien Plazas
committed Details | Review
editable-entry: Add text alignment props (1.27 KB, patch)
2014-08-15 15:45 UTC, Adrien Plazas
committed Details | Review
properties-toolbar: Add name title entry (4.40 KB, patch)
2014-08-15 15:46 UTC, Adrien Plazas
needs-work Details | Review
i-properties-provider: Add 'text' prop (1019 bytes, patch)
2014-08-15 15:46 UTC, Adrien Plazas
accepted-commit_now Details | Review
libvirt-machine-properties: Update the name property on name change (1.22 KB, patch)
2014-08-15 15:46 UTC, Adrien Plazas
needs-work Details | Review
remote-machine: Update the name property on name change (1.04 KB, patch)
2014-08-15 15:46 UTC, Adrien Plazas
needs-work Details | Review
properties-toolbar: Add name title entry (4.44 KB, patch)
2014-08-15 19:20 UTC, Adrien Plazas
committed Details | Review
i-properties-provider: Add 'text' prop (1019 bytes, patch)
2014-08-15 19:20 UTC, Adrien Plazas
committed Details | Review
libvirt-machine-properties: Update property on name change (1.21 KB, patch)
2014-08-15 19:21 UTC, Adrien Plazas
committed Details | Review
remote-machine: Update property on name change (1.04 KB, patch)
2014-08-15 19:21 UTC, Adrien Plazas
committed Details | Review

Description Alexander Larsson 2013-01-23 13:33:54 UTC
As per bug 686939:

With that in place, we would probably be better off with a simple back button
(no label) and removing the Name [            ] entry, allowing the name to be
changed directly in the toolbar title (granted the 'properties') would be
visually separate.
Comment 1 Adrien Plazas 2014-03-12 16:58:43 UTC
Created attachment 271623 [details] [review]
machine: Set the status as the name on name change
Comment 2 Adrien Plazas 2014-03-12 17:20:17 UTC
Created attachment 271625 [details] [review]
libvirt-machine: Save name on change of "name" property
Comment 3 Adrien Plazas 2014-03-12 17:38:21 UTC
Created attachment 271626 [details] [review]
libvirt-machine: Save name on change of "name" property
Comment 4 Adrien Plazas 2014-03-12 17:38:25 UTC
Created attachment 271627 [details] [review]
remote-machine: Save name on change of "name" property
Comment 5 Adrien Plazas 2014-03-12 17:38:28 UTC
Created attachment 271628 [details] [review]
Add properties-toolbar
Comment 6 Adrien Plazas 2014-03-12 17:38:32 UTC
Created attachment 271629 [details] [review]
Use properties-toolbar
Comment 7 Adrien Plazas 2014-03-12 17:38:36 UTC
Created attachment 271630 [details] [review]
Remove name entry from properties
Comment 8 Adrien Plazas 2014-03-12 17:38:39 UTC
Created attachment 271631 [details] [review]
properties-toolbar: Center the title
Comment 9 Adrien Plazas 2014-03-12 17:38:43 UTC
Created attachment 271632 [details] [review]
properties-toolbar: Set the "title" style to the title
Comment 10 Adrien Plazas 2014-03-12 17:38:47 UTC
Created attachment 271633 [details] [review]
editable-entry: Add a way to align all the texts the same way
Comment 11 Adrien Plazas 2014-03-12 17:38:51 UTC
Created attachment 271634 [details] [review]
machine: Set the status as the name on name change
Comment 12 Zeeshan Ali 2014-03-12 21:21:44 UTC
Review of attachment 271626 [details] [review]:

Some justification in commit log would be nice.
Comment 13 Zeeshan Ali 2014-03-12 21:22:50 UTC
Review of attachment 271627 [details] [review]:

same thing here
Comment 14 Zeeshan Ali 2014-03-12 21:25:45 UTC
Review of attachment 271628 [details] [review]:

I don't think we need to use a different headerbar for this. The title of the GtkHeaderbar could be any widget AFAICT.

If I'm wrong, you still need to provide some justification for this in the commit log.

::: src/properties-toolbar.vala
@@ +31,3 @@
+    /**
+     * Set the name of the current machine when the title entry changed.
+     */

* If its just one liner comment, please use '//'.
* changed -> changes.
Comment 15 Zeeshan Ali 2014-03-12 21:27:25 UTC
(In reply to comment #14)
> Review of attachment 271628 [details] [review]:
> 
> I don't think we need to use a different headerbar for this. The title of the
> GtkHeaderbar could be any widget AFAICT.
> 
> If I'm wrong, you still need to provide some justification for this in the
> commit log.

Since rest of your changes depend on this change, I'll stop reviewing until these comments are addressed.
Comment 16 Adrien Plazas 2014-03-13 11:54:11 UTC
Comment on attachment 271626 [details] [review]
libvirt-machine: Save name on change of "name" property

>From 318cbde6e9692d6e161fd2fd3c71961fdc44bc42 Mon Sep 17 00:00:00 2001
>From: Adrien Plazas <kekun.plazas@laposte.net>
>Date: Wed, 12 Mar 2014 15:16:02 +0100
>Subject: [PATCH] libvirt-machine: Save name on change of "name" property
>
>If a piece of code want to set the name of a machine, it shouldn't need to know what extra
>actions this particular implementation of "Machine" needs to do to properly set it.
>
>This patch replaces the private try_change_name wich have to be explicitly called to properly
>set the name of a libvirt machine (and can't be accessed directly from outside LibVirtMachine)
>with the private save_name wich is called automatically on every modification of the name.
>
>Prepares the ground for future changes in the machine name setting mechanism.
>
>https://bugzilla.gnome.org/show_bug.cgi?id=692383
>---
> src/libvirt-machine-properties.vala | 20 ++------------------
> src/libvirt-machine.vala            | 16 ++++++++++++++++
> 2 files changed, 18 insertions(+), 18 deletions(-)
>
>diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
>index 2e71d17..e8cf1ab 100644
>--- a/src/libvirt-machine-properties.vala
>+++ b/src/libvirt-machine-properties.vala
>@@ -11,23 +11,6 @@ public LibvirtMachineProperties (LibvirtMachine machine) {
>         this.machine = machine;
>     }
> 
>-    private bool try_change_name (string name) {
>-        try {
>-            var config = machine.domain.get_config (GVir.DomainXMLFlags.INACTIVE);
>-            // Te use libvirt "title" for free form user name
>-            config.title = name;
>-            // This will take effect only after next reboot, but we use pending/inactive config for name and title
>-            machine.domain.set_config (config);
>-
>-            machine.name = name;
>-            return true;
>-        } catch (GLib.Error error) {
>-            warning ("Failed to change title of box '%s' to '%s': %s",
>-                     machine.domain.get_name (), name, error.message);
>-            return false;
>-        }
>-    }
>-
>     private void try_enable_usb_redir () throws GLib.Error {
>         var config = machine.domain.get_config (GVir.DomainXMLFlags.INACTIVE);
> 
>@@ -113,7 +96,8 @@ private string collect_logs () {
>             var property = add_string_property (ref list, _("Name"), machine.name);
>             property.editable = true;
>             property.changed.connect ((property, name) => {
>-                return try_change_name (name);
>+            	machine.name = name;
>+            	return true;
>             });
>             add_string_property (ref list, _("Virtualizer"), machine.source.uri);
>             if (machine.display != null)
>diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
>index 414ee61..ab128e1 100644
>--- a/src/libvirt-machine.vala
>+++ b/src/libvirt-machine.vala
>@@ -176,6 +176,8 @@ else if (force_stopped) {
>         if (state != MachineState.STOPPED)
>             load_screenshot ();
>         set_screenshot_enable (true);
>+        
>+        notify["name"].connect (save_name);
>     }
> 
>     private void update_cpu_stat (DomainInfo info, ref MachineStat stat) {
>@@ -611,4 +613,18 @@ public override void restart () {
> 
>         try_shutdown ();
>     }
>+    
>+    private void save_name () {
>+        try {
>+            var config = domain.get_config (GVir.DomainXMLFlags.INACTIVE);
>+            // Te use libvirt "title" for free form user name
>+            config.title = name;
>+            // This will take effect only after next reboot, but we use pending/inactive config for name and title
>+            domain.set_config (config);
>+        } catch (GLib.Error error) {
>+            warning ("Failed to change title of box '%s' to '%s': %s",
>+                     domain.get_name (), name, error.message);
>+        }
>+    }
>+
> }
>-- 
>1.8.5.3
Comment 17 Adrien Plazas 2014-03-13 13:10:50 UTC
Created attachment 271708 [details] [review]
libvirt-machine: Save name on change of name property

If a piece of code want to set the name of a machine, it shouldn't need
to know what extra actions this particular implementation of Machine
needs to do to properly set it.

This patch replaces the private try_change_name wich have to be
explicitly called to properly set the name of a libvirt machine (and
can't be accessed directly from outside LibVirtMachine) with the private
save_name wich is called automatically on every modification of the
name.

Prepares the ground for future changes in the machine name setting
mechanism.
Comment 18 Adrien Plazas 2014-03-13 13:10:53 UTC
Created attachment 271709 [details] [review]
remote-machine: Save name on change of "name" property

Sets the name of the source of a  remote machine as the "name" property
of the machine changed.

Prepares the ground for future changes in the machine name setting
mechanism.
Comment 19 Adrien Plazas 2014-03-13 13:10:57 UTC
Created attachment 271711 [details] [review]
Add properties-toolbar
Comment 20 Adrien Plazas 2014-03-13 13:11:00 UTC
Created attachment 271712 [details] [review]
Use properties-toolbar

Avoids cluttering the topbar by relying on a specialized widget.
Comment 21 Adrien Plazas 2014-03-13 13:11:03 UTC
Created attachment 271714 [details] [review]
Remove name entry from properties

Removes the name entries from the properties pages of libvirt and
remote machines.

They are no more needed as the titlebar serves their purpose.
Comment 22 Adrien Plazas 2014-03-13 13:11:07 UTC
Created attachment 271716 [details] [review]
properties-toolbar: Center the title

Centers the title entry ofthe properties toolbar.

It is achieved by adding a method to set the alignments of the texts
of an editable entry.
Comment 23 Adrien Plazas 2014-03-13 13:11:11 UTC
Created attachment 271717 [details] [review]
properties-toolbar: Set the "title" style to the title

The title entry of the properties toolbar now looks like a proper
title.
Comment 24 Adrien Plazas 2014-03-13 13:11:15 UTC
Created attachment 271718 [details] [review]
editable-entry: Add a way to align all the texts the same way

Modify the method to set the alignment of the texts of an editable
entry to also set the alignment of the entry the same way.
Comment 25 Adrien Plazas 2014-03-13 13:11:19 UTC
Created attachment 271719 [details] [review]
machine: Set the status as the name on name change

Updates the name displaed in the display's titlebar when the name
changed.
Comment 26 Zeeshan Ali 2014-03-13 14:16:00 UTC
(In reply to comment #17)
> Created an attachment (id=271708) [details] [review]
> libvirt-machine: Save name on change of name property
> 
> If a piece of code want to set the name of a machine, it shouldn't need
> to know what extra actions this particular implementation of Machine
> needs to do to properly set it.
>
> This patch replaces the private try_change_name wich have to be
> explicitly called to properly set the name of a libvirt machine (and
> can't be accessed directly from outside LibVirtMachine) with the private
> save_name wich is called automatically on every modification of the
> name.

I think now you are providing way too much information. There is no need to describe each an every detail of the code in English here.

Just summarize the change and say why its needed. In this particular case the reason is that in a following patch we'll need it for XYZ (make sure you replace XYX accordingly). :)
 

> Prepares the ground for future changes in the machine name setting
> mechanism.

Now this is the important bit but you don't say anything about what kind of future changes will need this change.
Comment 27 Zeeshan Ali 2014-03-13 14:19:26 UTC
Review of attachment 271709 [details] [review]:

For this one you can just c&p the details from previous patch.
Comment 28 Zeeshan Ali 2014-03-13 14:21:15 UTC
(In reply to comment #19)
> Created an attachment (id=271711) [details] [review]
> Add properties-toolbar

I think you totally missed the most important part of the review: comment#14.
Comment 29 Adrien Plazas 2014-03-13 14:54:12 UTC
Created attachment 271728 [details] [review]
libvirt-machine: Save name on change of the "name" property

If a piece of code want to set the name of a machine, it shouldn't need
to know what extra actions this particular implementation of Machine
needs to do to properly set it.

Replaces try_change_name wich have to be explicitly called to properly
set the name of a libvirt machine with save_name wich is called
automatically on every modification of the name.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 30 Adrien Plazas 2014-03-13 14:54:16 UTC
Created attachment 271729 [details] [review]
remote-machine: Save name on change of "name" property

Sets the name of the source of a remote machine as the "name" property
of the machine changed.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 31 Adrien Plazas 2014-03-13 14:54:20 UTC
Created attachment 271730 [details] [review]
Add properties-toolbar

Adds the default files of the properties toolbar.

This is needed because the properties toolbar will become more complex
in response to bug #692383, and we should avoid cluttering the topbar
with implementation details of the properties toolbar.
Comment 32 Adrien Plazas 2014-03-13 14:54:24 UTC
Created attachment 271731 [details] [review]
Use properties-toolbar

Replaces the current implementation of the properties toolbar in
topbar by a separate on to avoid cluttering the topbar.

THe new toolbar can set the name of the machine by clicking on its
title to reaveale a text entry, needed for bug #692383.
Comment 33 Adrien Plazas 2014-03-13 14:54:27 UTC
Created attachment 271732 [details] [review]
Remove name entry from properties

Removes the name entries from the properties pages of libvirt and
remote machines.

They are no more needed as the titlebar serves their purpose.
Comment 34 Adrien Plazas 2014-03-13 14:54:31 UTC
Created attachment 271733 [details] [review]
properties-toolbar: Center the title

Centers the title entry of the properties toolbar.

Allows to make the title entry of the properties toolbar look more
like a proper title.
Comment 35 Adrien Plazas 2014-03-13 14:54:34 UTC
Created attachment 271734 [details] [review]
properties-toolbar: Set the "title" style to the title

The title entry of the properties toolbar now looks like a proper
title (as it should for bug #692383).
Comment 36 Adrien Plazas 2014-03-13 14:54:37 UTC
Created attachment 271735 [details] [review]
editable-entry: Add a way to align all the texts the same way

Modify the method to set the alignment of the texts of an editable
entry to also set the alignment of the entry the same way, make the
title look more coherent.
Comment 37 Adrien Plazas 2014-03-13 14:54:41 UTC
Created attachment 271736 [details] [review]
machine: Set the status as the name on name change

Updates the name displayed in the display's titlebar when the name
changed.

Needed for bug #692383.
Comment 38 Adrien Plazas 2014-03-13 17:29:34 UTC
Created attachment 271763 [details] [review]
libvirt-machine: Save name on change of the "name" property

If a piece of code want to set the name of a machine, it shouldn't need
to know what extra actions this particular implementation of Machine
needs to do to properly set it.

Replaces try_change_name wich have to be explicitly called to properly
set the name of a libvirt machine with save_name wich is called
automatically on every modification of the name.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 39 Adrien Plazas 2014-03-13 17:29:39 UTC
Created attachment 271764 [details] [review]
remote-machine: Save name on change of "name" property

Sets the name of the source of a remote machine as the "name" property
of the machine changed.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 40 Adrien Plazas 2014-03-13 17:29:44 UTC
Created attachment 271765 [details] [review]
Add the title entry to the properties toolbar

Adds an editable entry as the title of the properties toolbar.

It allows to edit the name of the machine simply by clicking on it, as
needed by bug #692383.

https://bugzilla.gnome.org/show_bug.cgi?id=692383

Conflicts:
	src/properties-toolbar.vala
Comment 41 Adrien Plazas 2014-03-13 17:29:48 UTC
Created attachment 271766 [details] [review]
Remove name entry from properties

Removes the name entries from the properties pages of libvirt and
remote machines.

They are no more needed as the titlebar serves their purpose.
Comment 42 Adrien Plazas 2014-03-13 17:29:53 UTC
Created attachment 271767 [details] [review]
properties-toolbar: Center the title

Centers the title entry of the properties toolbar.

Allows to make the title entry of the properties toolbar look more
like a proper title.
Comment 43 Adrien Plazas 2014-03-13 17:29:58 UTC
Created attachment 271768 [details] [review]
properties-toolbar: Set the "title" style to the title

The title entry of the properties toolbar now looks like a proper
title (as it should for bug #692383).
Comment 44 Adrien Plazas 2014-03-13 17:30:03 UTC
Created attachment 271769 [details] [review]
editable-entry: Add a way to align all the texts the same way

Modify the method to set the alignment of the texts of an editable
entry to also set the alignment of the entry the same way, make the
title look more coherent.
Comment 45 Adrien Plazas 2014-03-13 17:30:07 UTC
Created attachment 271770 [details] [review]
machine: Set the status as the name on name change

Updates the name displayed in the display's titlebar when the name
changed.

Needed for bug #692383.
Comment 46 Adrien Plazas 2014-03-13 17:33:31 UTC
Patches from attachment #271763 [details] to #271770 depends on patches #271755 and #271757 for bug #726252.
Comment 47 Zeeshan Ali 2014-03-13 19:11:44 UTC
Review of attachment 271763 [details] [review]:

ack, I'll change your commits logs though before pushing.
Comment 48 Zeeshan Ali 2014-03-13 19:12:18 UTC
Review of attachment 271764 [details] [review]:

same for this one.
Comment 49 Zeeshan Ali 2014-03-13 19:21:25 UTC
Review of attachment 271765 [details] [review]:

::: src/properties-toolbar.vala
@@ +14,3 @@
+        
+        title_entry = new EditableEntry ();
+        title_entry.editable = true;

why not setup from .ui file?

@@ +17,3 @@
+        
+        title_entry.show ();
+        set_custom_title (title_entry);

you won't have to do this manually either if you setup from .ui file.

@@ +21,3 @@
+        App.app.notify["ui-state"].connect (ui_state_changed);
+        
+        title_entry.editing_done.connect (title_entry_changed);

this can also be done from .ui file.

@@ +30,3 @@
+
+    /**
+     * Set the name of the current machine when the title entry changed.

* redundant doc, its a simple function with simple one line in it so comment makes it less readable rather. Remember, there is always the danger of over-documenting.
* changed -> changes.

@@ +32,3 @@
+     * Set the name of the current machine when the title entry changed.
+     */
+    private void title_entry_changed () {

title_entry_changed -> on_title_entry_changed

@@ +37,3 @@
+    
+    /**
+     * Set the text entry when when entering the properties state.

Same for this comment.

@@ +47,3 @@
+    
+    /**
+     * Set the text entry when the current machine changed.

same here.

@@ +49,3 @@
+     * Set the text entry when the current machine changed.
+     */
+    private void name_changed () {

name_changed -> on_name_changed

::: src/topbar.vala
@@ -46,3 @@
 
-    [GtkChild]
-    private Gtk.HeaderBar props_toolbar;

I would imagine all these changes would have been part of the refactoring patch in bug#726252 ?
Comment 50 Zeeshan Ali 2014-03-13 19:22:26 UTC
Review of attachment 271766 [details] [review]:

looks good
Comment 51 Zeeshan Ali 2014-03-13 19:24:52 UTC
Review of attachment 271767 [details] [review]:

I think this should be part of the patch that adds the PropertiesToolbar.title_entry
Comment 52 Zeeshan Ali 2014-03-13 19:25:14 UTC
Review of attachment 271768 [details] [review]:

This one too!
Comment 53 Zeeshan Ali 2014-03-13 19:27:07 UTC
Review of attachment 271769 [details] [review]:

This too, also all these small changes to style etc can and should be done from .ui file as well.
Comment 54 Zeeshan Ali 2014-03-13 19:28:25 UTC
Review of attachment 271770 [details] [review]:

pretty sure this should also be a part of a previous change. Too many changes to remember, which. :)
Comment 55 Zeeshan Ali 2014-03-13 19:28:59 UTC
Review of attachment 271769 [details] [review]:

wrong status
Comment 56 Zeeshan Ali 2014-03-13 19:29:16 UTC
Review of attachment 271768 [details] [review]:

wrong status
Comment 57 Zeeshan Ali 2014-03-13 19:29:36 UTC
Review of attachment 271767 [details] [review]:

wrong status
Comment 58 Adrien Plazas 2014-03-16 20:45:49 UTC
Created attachment 272096 [details] [review]
Add the title entry to the properties toolbar

Adds an editable entry as the title of the properties toolbar, centered
and whith the "title" style applyed to make it mimic a title.

It allows to edit the name of the machine simply by clicking on it.

https://bugzilla.gnome.org/show_bug.cgi?id=692383

Conflicts:
	src/properties-toolbar.vala
Comment 59 Adrien Plazas 2014-03-16 20:49:18 UTC
Comment on attachment 272096 [details] [review]
Add the title entry to the properties toolbar

+        set_custom_title (title_entry);

It is still present because on my machine, it is needed to actually set it as a child, despite of

+    <child type="title">
Comment 60 Zeeshan Ali 2014-03-17 19:33:00 UTC
(In reply to comment #59)
> (From update of attachment 272096 [details] [review])
> +        set_custom_title (title_entry);
> 
> It is still present because on my machine, it is needed to actually set it as a
> child, despite of
> 
> +    <child type="title">

Have you tried seeking help on this on #gtk+ IRC channel? This could be a bug/limitation in gtk+ in which case you want to file a bug and add a FIXME comment here:

// FIXME: Workaround for: URL_OF_BUG
Comment 61 Zeeshan Ali 2014-03-17 19:34:08 UTC
BTW, this is a UI change and I'll be reluctant to ask for an exception this late in the cycle (we are in code-freeze as soon as I roll out the release).
Comment 62 Adrien Plazas 2014-06-06 15:55:05 UTC
Created attachment 278040 [details] [review]
libvirt-machine: Save name on change of the "name" property

If a piece of code want to set the name of a machine, it shouldn't need
to know what extra actions this particular implementation of Machine
needs to do to properly set it.

Replaces try_change_name wich have to be explicitly called to properly
set the name of a libvirt machine with save_name wich is called
automatically on every modification of the name.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 63 Adrien Plazas 2014-06-06 15:55:11 UTC
Created attachment 278041 [details] [review]
remote-machine: Save name on change of "name" property

Sets the name of the source of a remote machine as the "name" property
of the machine changed.

Prepares the ground for future changes in the machine name setting
mechanism, we want a simple and public way to set the name of a
machine: its name property.
Needed for bug #692383.
Comment 64 Adrien Plazas 2014-06-06 15:55:17 UTC
Created attachment 278042 [details] [review]
Add the title entry to the properties toolbar

Adds an editable entry as the title of the properties toolbar, centered
and whith the "title" style applyed to make it mimic a title.

It allows to edit the name of the machine simply by clicking on it.
Comment 65 Adrien Plazas 2014-06-06 15:55:21 UTC
Created attachment 278043 [details] [review]
Remove name entry from properties

Removes the name entries from the properties pages of libvirt and
remote machines.

They are no more needed as the titlebar serves their purpose.
Comment 66 Zeeshan Ali 2014-06-06 18:55:15 UTC
Review of attachment 278040 [details] [review]:

* Kudos for trying to put as much info as you can in commit log.

* How about shorter shortlog: Save 'name' prop on change

* 'setting mechanism, we' -> 'setting mechanism. We'.

* 'wich' -> 'which'.

* Duplicate bug references. The URL at the end is enough to indicate this patch is needed for/related to that bug.

::: src/libvirt-machine.vala
@@ +178,3 @@
         set_screenshot_enable (true);
+
+        notify["name"].connect (save_name);

Why can't LibvirtMachineProperties do this? The point of that class is to keep all the code handling LibvirtMachine's settings and keeping this class as simple as possible (its pretty complicated already).

@@ +615,3 @@
     }
+
+    private void save_name () {

the 'try_' prefix was used for a reason: To keep it clear that this can fail.

@@ +618,3 @@
+        try {
+            var config = domain.get_config (GVir.DomainXMLFlags.INACTIVE);
+            // Te use libvirt "title" for free form user name

Might as well fix the typo here while moving the code. :)

@@ +624,3 @@
+        } catch (GLib.Error error) {
+            warning ("Failed to change title of box '%s' to '%s': %s",
+                     domain.get_name (), name, error.message);

If we failed to change the name of machine, we want 'name' property to reflect the old name to not give false illusion to user that change was successful.
Comment 67 Adrien Plazas 2014-08-14 08:15:06 UTC
Created attachment 283363 [details] [review]
libvirt-machine-properties: Save machine's name on change

This is needed to edit the machine's name in title.
Comment 68 Adrien Plazas 2014-08-14 08:15:13 UTC
Created attachment 283364 [details] [review]
remote-machine: Save name on change

This is needed to edit the machine's name in title.
Comment 69 Adrien Plazas 2014-08-14 08:15:19 UTC
Created attachment 283365 [details] [review]
properties-toolbar: Add name title entry

This is needed to edit the machine's name in title.
Comment 70 Adrien Plazas 2014-08-14 08:15:26 UTC
Created attachment 283366 [details] [review]
Remove name entry from machine properties

This is needed to edit the machine's name in title.
Comment 71 Zeeshan Ali 2014-08-14 13:49:28 UTC
Review of attachment 283363 [details] [review]:

Isn't this just a fix that we want even if we don't want to edit machine's name in title?

If answer to that is 'yes' I'd update the log description to reflect that.

::: src/libvirt-machine-properties.vala
@@ +18,2 @@
     private bool try_change_name (string name) {
+        if (machine.name == name)

do we really need this? Is it really a part of this patch?
Comment 72 Zeeshan Ali 2014-08-14 13:59:58 UTC
Review of attachment 283364 [details] [review]:

ack
Comment 73 Adrien Plazas 2014-08-14 14:00:23 UTC
Review of attachment 283363 [details] [review]:

What about:

libvirt-machine-properties: Save machine's name on change
This allows to automatically save the machine's name everytime it changes.
Comment 74 Zeeshan Ali 2014-08-14 14:09:30 UTC
Review of attachment 283365 [details] [review]:

"This is needed to edit the machine's name in title."

From what I can tell from the code in the patch and previous patches, we are already doing that, aren't we?

::: src/properties-toolbar.vala
@@ +15,3 @@
                                                                         "go-previous-symbolic";
+
+        set_custom_title (title_entry);

why would you need to call this? <child type="title"> should handle that for you.
Comment 75 Zeeshan Ali 2014-08-14 14:11:53 UTC
Review of attachment 283366 [details] [review]:

"This is needed to edit the machine's name in title."

Not really. We already do that before this patch and this patch is removing name property as there is another way to edit the name.

I think the name should still be kept though and its not wrong to allow multiple ways of editing the name.
Comment 76 Zeeshan Ali 2014-08-14 14:16:00 UTC
Review of attachment 283363 [details] [review]:

Good but i think ever better would be:

With this patch, we now allow editing name through window's title.
Comment 77 Adrien Plazas 2014-08-14 15:08:55 UTC
Created attachment 283392 [details] [review]
libvirt-machine-properties: Save machine's name on change

With this patch, we now allow editing name through window's title.
Comment 78 Adrien Plazas 2014-08-14 15:09:02 UTC
Created attachment 283393 [details] [review]
remote-machine: Save name on change

This is needed to edit the machine's name in title.
Comment 79 Adrien Plazas 2014-08-14 15:09:09 UTC
Created attachment 283394 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 80 Adrien Plazas 2014-08-14 15:09:15 UTC
Created attachment 283395 [details] [review]
i-properties-provider: Update name property according to machine's name

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 81 Zeeshan Ali 2014-08-15 11:39:14 UTC
Review of attachment 283392 [details] [review]:

ack
Comment 82 Zeeshan Ali 2014-08-15 11:41:49 UTC
Review of attachment 283393 [details] [review]:

same is true for this patch as previous one, isn't it? Just that previous one was about LibvirtMachine and this is about RemoteMachine. I think log needs update.
Comment 83 Zeeshan Ali 2014-08-15 11:47:13 UTC
Review of attachment 283394 [details] [review]:

Hmm.. so if this patch comes after the previous two, its not true that first patch makes it possible to edit name in title (yet).

::: src/properties-toolbar.vala
@@ +15,3 @@
                                                                         "go-previous-symbolic";
+
+        set_custom_title (title_entry);

As i said in previous review to this patch, we shouldnt' need this. Let me know if/why its needed if so.
Comment 84 Adrien Plazas 2014-08-15 11:47:13 UTC
Created attachment 283473 [details] [review]
remote-machine: Save name on change

With this patch, we now allow editing name through window's title.
Comment 85 Adrien Plazas 2014-08-15 11:47:19 UTC
Created attachment 283474 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 86 Adrien Plazas 2014-08-15 11:47:25 UTC
Created attachment 283475 [details] [review]
i-properties-provider: Update name property according to machine's name

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 87 Zeeshan Ali 2014-08-15 11:50:36 UTC
Review of attachment 283395 [details] [review]:

ack. For future ref, feel free to use identifiers to keep shortlog short. In thise case Machine.name.
Comment 88 Adrien Plazas 2014-08-15 12:26:20 UTC
Created attachment 283477 [details] [review]
libvirt-machine-properties: Save machine's name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, this allows editing name through window's title.
Comment 89 Adrien Plazas 2014-08-15 12:26:30 UTC
Created attachment 283478 [details] [review]
remote-machine: Save name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, this allows editing name through window's title.
Comment 90 Adrien Plazas 2014-08-15 12:26:37 UTC
Created attachment 283479 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 91 Adrien Plazas 2014-08-15 12:26:44 UTC
Created attachment 283480 [details] [review]
i-properties-provider: Update name property according to Machine.name

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 92 Adrien Plazas 2014-08-15 12:29:15 UTC
Created attachment 283481 [details] [review]
libvirt-machine-properties: Save machine's name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, together with following patches this allows editing name through
window's title.
Comment 93 Adrien Plazas 2014-08-15 12:29:22 UTC
Created attachment 283482 [details] [review]
remote-machine: Save name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, together with following patches this allows editing name through
window's title.
Comment 94 Adrien Plazas 2014-08-15 12:29:29 UTC
Created attachment 283483 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 95 Adrien Plazas 2014-08-15 12:29:36 UTC
Created attachment 283484 [details] [review]
i-properties-provider: Update name property according to Machine.name

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 96 Zeeshan Ali 2014-08-15 14:14:40 UTC
Review of attachment 283481 [details] [review]:

ack
Comment 97 Zeeshan Ali 2014-08-15 14:15:38 UTC
Review of attachment 283482 [details] [review]:

ack
Comment 98 Zeeshan Ali 2014-08-15 14:22:46 UTC
Review of attachment 283483 [details] [review]:

good otherwise.

::: src/editable-entry.vala
@@ +53,3 @@
     }
 
+    public float text_xalign {

These new API should theoretically be in separate patch.

::: src/properties-toolbar.vala
@@ +36,3 @@
+    private void ui_state_changed () {
+        if (window.ui_state == UIState.PROPERTIES) {
+            window.current_item.notify["name"].connect (() => {

when/where do you disconnect this signal handler?
Comment 99 Zeeshan Ali 2014-08-15 14:26:08 UTC
Review of attachment 283484 [details] [review]:

Good otherwise

::: src/i-properties-provider.vala
@@ +125,3 @@
     }
 
+    public string text {

probably justified to put that in separate patch too. :)
Comment 100 Adrien Plazas 2014-08-15 15:45:50 UTC
Created attachment 283517 [details] [review]
libvirt-machine-properties: Save machine's name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, together with following patches this allows editing name through
window's title.
Comment 101 Adrien Plazas 2014-08-15 15:45:55 UTC
Created attachment 283518 [details] [review]
remote-machine: Save name on change

This patch ensures that the machine's name is saved everytime it changes.

Also, together with following patches this allows editing name through
window's title.
Comment 102 Adrien Plazas 2014-08-15 15:45:59 UTC
Created attachment 283519 [details] [review]
editable-entry: Add text alignment props

This patch will allow to align the title entry's text to look like a
title, and therefore, together with following patches this allows editing
name through window's title.
Comment 103 Adrien Plazas 2014-08-15 15:46:04 UTC
Created attachment 283520 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 104 Adrien Plazas 2014-08-15 15:46:09 UTC
Created attachment 283521 [details] [review]
i-properties-provider: Add 'text' prop

This allows to set a StringProperty's text.

With the next patches, this will allow to keep the properties page's name
entry and the title's name entry consistent.
Comment 105 Adrien Plazas 2014-08-15 15:46:13 UTC
Created attachment 283522 [details] [review]
libvirt-machine-properties: Update the name property on name change

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 106 Adrien Plazas 2014-08-15 15:46:18 UTC
Created attachment 283523 [details] [review]
remote-machine: Update the name property on name change

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 107 Zeeshan Ali 2014-08-15 17:00:50 UTC
Review of attachment 283517 [details] [review]:

ack
Comment 108 Zeeshan Ali 2014-08-15 17:01:19 UTC
Review of attachment 283518 [details] [review]:

ack
Comment 109 Zeeshan Ali 2014-08-15 17:03:11 UTC
Review of attachment 283519 [details] [review]:

ack
Comment 110 Zeeshan Ali 2014-08-15 17:05:53 UTC
Review of attachment 283520 [details] [review]:

good otherwise.

::: src/properties-toolbar.vala
@@ +12,3 @@
 
+    private CollectionItem item;
+    private ulong item_name_id = 0;

vala initializes to 0 for you.

@@ +40,3 @@
+        if (window.ui_state == UIState.PROPERTIES) {
+            if (item_name_id != 0)
+                item.disconnect (item_name_id);

so if we never re-enter props, signal never gets disconnected? I think we should disconnect on all other UI states then properties rather.
Comment 111 Zeeshan Ali 2014-08-15 17:06:49 UTC
Review of attachment 283521 [details] [review]:

ack
Comment 112 Zeeshan Ali 2014-08-15 17:08:53 UTC
Review of attachment 283522 [details] [review]:

"Update the name" -> "Update" should be enough for shorlog from context. Good otherwise.
Comment 113 Zeeshan Ali 2014-08-15 17:09:19 UTC
Review of attachment 283523 [details] [review]:

same comment as for prev patch.
Comment 114 Adrien Plazas 2014-08-15 19:20:47 UTC
Created attachment 283562 [details] [review]
properties-toolbar: Add name title entry

This allows to edit the machine's name in the title.
Comment 115 Adrien Plazas 2014-08-15 19:20:53 UTC
Created attachment 283563 [details] [review]
i-properties-provider: Add 'text' prop

This allows to set a StringProperty's text.

With the next patches, this will allow to keep the properties page's name
entry and the title's name entry consistent.
Comment 116 Adrien Plazas 2014-08-15 19:21:01 UTC
Created attachment 283564 [details] [review]
libvirt-machine-properties: Update property on name change

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 117 Adrien Plazas 2014-08-15 19:21:09 UTC
Created attachment 283565 [details] [review]
remote-machine: Update property on name change

This is necessary to keep the properties page's name entry and the title's
name entry consistent.
Comment 118 Zeeshan Ali 2014-08-16 16:19:06 UTC
Review of attachment 283562 [details] [review]:

good otherwise

::: src/properties-toolbar.vala
@@ +39,3 @@
+    private void ui_state_changed () {
+        if (item_name_id != 0) {
+                item.disconnect (item_name_id);

extra indentation
Comment 119 Zeeshan Ali 2014-08-16 16:19:43 UTC
Review of attachment 283563 [details] [review]:

still ack
Comment 120 Zeeshan Ali 2014-08-16 16:20:18 UTC
Review of attachment 283564 [details] [review]:

ack
Comment 121 Zeeshan Ali 2014-08-16 16:21:23 UTC
Review of attachment 283565 [details] [review]:

ack
Comment 122 Zeeshan Ali 2014-08-16 16:29:19 UTC
Push all with some minor corrections. However some of the patches introduce some new warnings, please fix those:

(gnome-boxes:24570): GLib-GObject-WARNING **: The property GtkMisc:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(gnome-boxes:24570): Gtk-WARNING **: GtkEntry 0x27ea900 is mapped but not child_visible

(gnome-boxes:24570): Gtk-WARNING **: GtkEntry 0x27ea900 is mapped but visible=1 child_visible=0 parent BoxesEditableEntry 0x27ea6b0 mapped=1

Attachment 283517 [details] pushed as a8eeab0 - libvirt-machine-properties: Save machine's name on change
Attachment 283518 [details] pushed as fa7b652 - remote-machine: Save name on change
Attachment 283519 [details] pushed as e60d4c7 - editable-entry: Add text alignment props
Attachment 283562 [details] pushed as b0c71c5 - properties-toolbar: Add name title entry
Attachment 283563 [details] pushed as 75981a0 - i-properties-provider: Add 'text' prop
Attachment 283564 [details] pushed as 5972e46 - libvirt-machine-properties: Update property on name change
Attachment 283565 [details] pushed as 7deb612 - remote-machine: Update property on name change
Comment 123 Adrien Plazas 2015-02-21 12:14:18 UTC
Shouldn't we mark this bug as solved?
Comment 124 Lasse Schuirmann 2015-02-21 12:15:32 UTC
If the warnings still exist would be good to fix them, wouldn't it?
Comment 125 Adrien Plazas 2015-02-21 12:38:38 UTC
I haven't been able to find any of them, if someone can confirm that they still exist and explain how to reproduce them then I'll investigate.
Comment 126 Zeeshan Ali 2015-02-21 22:13:34 UTC
(In reply to Adrien Plazas from comment #123)
> Shouldn't we mark this bug as solved?

Well I think i fixed them after you completely disappeared and then of course I didn't remember this bug being open. :)