[Bug 1791] New: Battery plugin doesn't resize correctly

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] New: Battery plugin doesn't resize correctly

bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791

           Summary: Battery plugin doesn't resize correctly
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: Other
               URL: https://bugs.gentoo.org/show_bug.cgi?id=130440#c23
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: battery
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3)
Gecko/20060502 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3)
Gecko/20060502 Firefox/1.5.0.3

The battery icon doesn't resize.  This means that the panel cannot be smaller
than about 32 pixels and when it's larger, the battery plugin just looks funny.

Reproducible: Always


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #1 from [hidden email]  2006-05-10 17:07 UTC -------
I'm working on a new battery plugin (using HAL). You can find it here:

http://www.foo-projects.org/~nick/plugins/xfce4-battery-plugin-0.0.1.tar.bz2
http://www.foo-projects.org/~nick/plugins/xfce4-battery-plugin.png

Maybe it's good to replace the current battery plugin with this one since it'll
fix a lot of acpi/apm problem and the panel resize problem.

Gr. Nick


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




------- Comment #2 from [hidden email]  2006-05-10 17:48 UTC -------
Is it a good idea to keep the same name if it's different software ? Or to
restart version numbering ? Shouldn't you change the name or bump the current
plugin version ?


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #3 from [hidden email]  2006-05-10 17:56 UTC -------
Well the idea of the plugin is the same of cource, so it would be a bit
misleading to change the software name and the version numbers is only 0.0.1 to
make clear it's not finished yet, but this will (if it's going to replace the
current plugin) change to 4.0.0 or maybe 5.0.0.

The biggest problem atm is the lack of tester to give me some feedback.

Nick


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #4 from [hidden email]  2006-05-10 21:38 UTC -------
I've installed it, I'll test it for some days and report any bug I find. But,
first, the plugin doesnt resize the panel, it keeps the right size, but the
progressbar doesn't have the same size as other one.

See screenshot attached for details.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #5 from [hidden email]  2006-05-10 21:38 UTC -------
Created an attachment (id=544)
 --> (http://bugzilla.xfce.org/attachment.cgi?id=544&action=view)
Battery plugin


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




------- Comment #6 from [hidden email]  2006-05-10 21:52 UTC -------
I tried to install it but have

checking for gtk+-2.0 >= 2.6.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.6.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

though I have libgtk2.0-dev installed on Ubuntu Dapper


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #7 from [hidden email]  2006-05-11 01:47 UTC -------
Hmh, ok, the plugin doesnt work at all, it reports 100% / on AC, even when
using battery, and battery is discharged.

I'm using pmu and apm emulation, don't know if it's a problem.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #8 from [hidden email]  2006-05-11 05:04 UTC -------
I've just uploaded the 0.0.2 version, this should fix some problem with other
laptops. You can compare the output of the plugin with lshal | grep battery. If
it different please attach or send me the lshal output and some lshal -m output
(wait a couple of minutes).

Nick


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #9 from [hidden email]  2006-05-11 08:31 UTC -------
This version needs libxfce4util 4.3.90.2 (beta 2 ??) which I don't have and
don't want to install svn versions, so I'll test it another time.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #10 from [hidden email]  2006-05-11 08:34 UTC -------
Uhm, before replacing the old plugin, the new plugin should atleast support all
the platforms that were supported by the previous one.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




------- Comment #11 from [hidden email]  2006-05-11 17:09 UTC -------
> This version needs libxfce4util 4.3.90.2 (beta 2 ??) which I don't have and
> don't want to install svn versions, so I'll test it another time.

I've uploaded 0.0.3 without this dependancy. There is a BUGS file to explaing
how to report bugs (and compare / test the plugin with lshal).

> Uhm, before replacing the old plugin, the new plugin should atleast support all
> the platforms that were supported by the previous one.

Of cource, but most of the platform support is for HAL now isn't it?


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #12 from [hidden email]  2006-05-11 21:38 UTC -------
Tried 0.0.3.

Infos stay at what they were when plugin was loaded (here, 95% charged). And
progressbar still doesnt have the same size as other ones.

corsac@hidalgo: lshal | grep battery                                        [~]
udi = '/org/freedesktop/Hal/devices/pmu_battery_0_0'
  battery.remaining_time = 786  (0x312)  (int)
  info.udi = '/org/freedesktop/Hal/devices/pmu_battery_0_0'  (string)
  battery.charge_level.percentage = 96  (0x60)  (int)
  battery.charge_level.rate = 581  (0x245)  (int)
  battery.charge_level.design = 3199  (0xc7f)  (int)
  battery.charge_level.last_full = 3199  (0xc7f)  (int)
  battery.charge_level.current = 3072  (0xc00)  (int)
  battery.rechargeable.is_discharging = false  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  battery.type = 'primary'  (string)
  info.product = 'Battery Bay'  (string)
  linux.pmu_path = '/proc/pmu/battery_0'  (string)


corsac@hidalgo: lshal -m                                                    [~]

Start monitoring devicelist:
-------------------------------------------------
pmu_battery_0_0 property battery.remaining_time = 8099 (0x1fa3)
pmu_battery_0_0 property battery.charge_level.rate = 1381 (0x565)
pmu_battery_0_0 property battery.charge_level.percentage = 96 (0x60)
pmu_battery_0_0 property battery.remaining_time = 8083 (0x1f93)
pmu_battery_0_0 property battery.charge_level.current = 3101 (0xc1d)
pmu_battery_0_0 property battery.remaining_time removed
pmu_battery_0_0 property battery.rechargeable.is_discharging = false
pmu_info_1 property ac_adapter.present = true
pmu_battery_0_0 property battery.remaining_time = 440 (0x1b8) (new)
pmu_battery_0_0 property battery.charge_level.rate = 801 (0x321)
pmu_battery_0_0 property battery.rechargeable.is_charging = true
pmu_battery_0_0 property battery.remaining_time = 449 (0x1c1)
pmu_battery_0_0 property battery.charge_level.current = 3099 (0xc1b)
pmu_battery_0_0 property battery.remaining_time = 530 (0x212)
pmu_battery_0_0 property battery.charge_level.rate = 678 (0x2a6)
pmu_battery_0_0 property battery.remaining_time = 515 (0x203)
pmu_battery_0_0 property battery.charge_level.current = 3102 (0xc1e)
pmu_battery_0_0 property battery.remaining_time = 565 (0x235)
pmu_battery_0_0 property battery.charge_level.rate = 617 (0x269)
pmu_battery_0_0 property battery.charge_level.percentage = 97 (0x61)
pmu_battery_0_0 property battery.remaining_time = 554 (0x22a)
pmu_battery_0_0 property battery.charge_level.current = 3104 (0xc20)
pmu_battery_0_0 property battery.remaining_time = 590 (0x24e)
pmu_battery_0_0 property battery.charge_level.rate = 579 (0x243)
pmu_battery_0_0 property battery.remaining_time = 572 (0x23c)
pmu_battery_0_0 property battery.charge_level.current = 3107 (0xc23)
pmu_battery_0_0 property battery.remaining_time = 598 (0x256)
pmu_battery_0_0 property battery.charge_level.rate = 553 (0x229)
pmu_battery_0_0 property battery.remaining_time = 585 (0x249)
pmu_battery_0_0 property battery.charge_level.current = 3109 (0xc25)
pmu_battery_0_0 property battery.remaining_time = 607 (0x25f)
pmu_battery_0_0 property battery.charge_level.rate = 533 (0x215)
pmu_battery_0_0 property battery.remaining_time = 594 (0x252)
pmu_battery_0_0 property battery.charge_level.current = 3111 (0xc27)


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #13 from [hidden email]  2006-05-12 06:21 UTC -------
Uploaded 0.0.4:

* Plugin border to 4px
* Change hal property change behaviour, this will probably
  work for most people now.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #14 from [hidden email]  2006-05-12 09:39 UTC -------
Still doesnt work on my (pmu based) box. Value is the one when plugin is loaded
(or panel started), but doesnt change after.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #15 from [hidden email]  2006-05-15 07:50 UTC -------
Released test version 0.0.5, some HAL fixes and it
seems to work for Corsac now.

http://foo-projects.org/~nick/plugins/xfce4-battery-plugin-0.0.5.tar.bz2

I'm going to finish the plugin now so it will support (most) of the
current battery plugin stuff. If people still have problems with
HAL please fill a bug report or send me an email.
The following version will have a version number like 0.5.x.

Nick


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #16 from [hidden email]  2006-05-15 09:00 UTC -------
Now the plugin works here. The only thing (yet seen with nick) is the time
format displayed next to the progress bar.

Currently it's minutes:seconds, while in tooltip it's ##hr ##min.

A format like "hours:minutes" would be better, I guess.

Regards,

Yves-Alexis Perez


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791





------- Comment #17 from [hidden email]  2006-05-18 05:39 UTC -------
I've started a testing branch for the new battery plugin, you can find in the
goodies svn: xfce4-battery-plugin/branches/XERVERIUS.


--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
Reply | Threaded
Open this post in threaded view
|

[Bug 1791] Battery plugin doesn't resize correctly

bugzilla-daemon
In reply to this post by bugzilla-daemon
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1791


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
xfce-goodies-dev mailing list
[hidden email]
http://bat.berlios.de/mailman/listinfo/xfce-goodies-dev