Menu ▾ ▴

#5450 APCUPSD Webmin module causing refreshof entire webmin interface

1.970
open
nobody
None
5
2023-08-28
2021-01-26
Doc
No

APC UPS Daemon apparently has a CSS or Javascript refresh within its detailed window which once displayed, causes the entire webmin interface to be refreshed according to the APCUPSD refresh setting. Once the APC UPS D detailed deisplay is opened, every following webmin interface will refresh on this same schedule, making (for example) editing a file or working on a long shell command impossible.

Closing out Webmin, logging out and re-logging into webmin will allow use of other webmin modules without the interfering refresh, until one opens the detailed APCUPSD window.

Operating system: Ubuntu Linux 16.04
Webmin version: 1.971
Authentic theme version: 19.70

Related

Bugs: #5450

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-01-27

    Does this happen regardless of which Webmin theme you're using?

     
    • Doc

      Doc - 2021-01-27

      It appears to be on all themes...but I really dont know what I'm doing with
      the themes, I have never used any of them but the default. I changed to
      "gray framed theme" and the problem persists.

      On Tue, Jan 26, 2021 at 10:54 PM Jamie Cameron jcameron@users.sourceforge.net wrote:

      Does this happen regardless of which Webmin theme you're using?


      ** [bugs:#5450] APCUPSD Webmin module causing refreshof entire webmin
      interface**

      Status: open
      Group: 1.970
      Created: Tue Jan 26, 2021 02:32 PM UTC by Doc
      Last Updated: Tue Jan 26, 2021 02:32 PM UTC
      Owner: nobody

      APC UPS Daemon apparently has a CSS or Javascript refresh within its
      detailed window which once displayed, causes the entire webmin interface to
      be refreshed according to the APCUPSD refresh setting. Once the APC UPS D
      detailed deisplay is opened, every following webmin interface will refresh
      on this same schedule, making (for example) editing a file or working on a
      long shell command impossible.

      Closing out Webmin, logging out and re-logging into webmin will allow use
      of other webmin modules without the interfering refresh, until one opens
      the detailed APCUPSD window.

      Operating system: Ubuntu Linux 16.04
      Webmin version: 1.971
      Authentic theme version: 19.70


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/webadmin/bugs/5450/>

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

       

      Related

      Bugs: #5450

  • Jamie Cameron

    Jamie Cameron - 2021-01-27

    I think you'll need to report this to the author of the APC UPS module, as it's not a core part of Webmin.

     
    • Doc

      Doc - 2021-01-28

      OK, trying to figure out how to do that. But...should webmin allow a
      single module to dictate the behavior of the whole application interface?
      Should not the impact of a single module's refresh function be limited to
      that module, by the design of Webmin?

      Herndon Elliott
      Signal Mtn, Tn
      ΜΟΛΩΝ ΛΑΒΕ "molon labe"

      On Wed, Jan 27, 2021 at 6:02 PM Jamie Cameron jcameron@users.sourceforge.net wrote:

      I think you'll need to report this to the author of the APC UPS module, as
      it's not a core part of Webmin.


      ** [bugs:#5450] APCUPSD Webmin module causing refreshof entire webmin
      interface**

      Status: open
      Group: 1.970
      Created: Tue Jan 26, 2021 02:32 PM UTC by Doc
      Last Updated: Wed Jan 27, 2021 03:54 AM UTC
      Owner: nobody

      APC UPS Daemon apparently has a CSS or Javascript refresh within its
      detailed window which once displayed, causes the entire webmin interface to
      be refreshed according to the APCUPSD refresh setting. Once the APC UPS D
      detailed deisplay is opened, every following webmin interface will refresh
      on this same schedule, making (for example) editing a file or working on a
      long shell command impossible.

      Closing out Webmin, logging out and re-logging into webmin will allow use
      of other webmin modules without the interfering refresh, until one opens
      the detailed APCUPSD window.

      Operating system: Ubuntu Linux 16.04
      Webmin version: 1.971
      Authentic theme version: 19.70


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/webadmin/bugs/5450/>

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

       

      Related

      Bugs: #5450

  • Ilia

    Ilia - 2021-01-28

    But...should webmin allow a
    single module to dictate the behavior of the whole application interface?
    Should not the impact of a single module's refresh function be limited to
    that module, by the design of Webmin?

    A module must use Webmin UI lib to avoid various type of issues, and in this particular case rely on js_redirect() sub to perform redirect correctly across different themes.

     
    • Doc

      Doc - 2021-01-28

      I will research. The APCUPSD module is pretty old (2015, I think?) so I am
      trying to figure out what needs updated to solve the problem. I think the
      OP of the module has abandoned it, no response to contact yet.

      Is there a guide for the module interface development? The UPS module is
      very useful (to me, at least), so it would seem worth bringing forward.
      Perhaps I can figure out how to do that.

      Herndon Elliott
      Signal Mtn, Tn
      ΜΟΛΩΝ ΛΑΒΕ "molon labe"

      On Thu, Jan 28, 2021 at 10:31 AM Ilia Rostovtsev rostovtsev@users.sourceforge.net wrote:

      But...should webmin allow a
      single module to dictate the behavior of the whole application interface?
      Should not the impact of a single module's refresh function be limited to
      that module, by the design of Webmin?

      A module must use Webmin UI lib to avoid various type of issues, and in
      this particular case rely on js_redirect() sub to perform redirect
      correctly across different themes.


      ** [bugs:#5450] APCUPSD Webmin module causing refreshof entire webmin
      interface**

      Status: open
      Group: 1.970
      Created: Tue Jan 26, 2021 02:32 PM UTC by Doc
      Last Updated: Wed Jan 27, 2021 11:02 PM UTC
      Owner: nobody

      APC UPS Daemon apparently has a CSS or Javascript refresh within its
      detailed window which once displayed, causes the entire webmin interface to
      be refreshed according to the APCUPSD refresh setting. Once the APC UPS D
      detailed deisplay is opened, every following webmin interface will refresh
      on this same schedule, making (for example) editing a file or working on a
      long shell command impossible.

      Closing out Webmin, logging out and re-logging into webmin will allow use
      of other webmin modules without the interfering refresh, until one opens
      the detailed APCUPSD window.

      Operating system: Ubuntu Linux 16.04
      Webmin version: 1.971
      Authentic theme version: 19.70


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/webadmin/bugs/5450/>

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

       

      Related

      Bugs: #5450

  • Ilia

    Ilia - 2021-01-30

    Is there a guide for the module interface development?

    Please have a look at the following link:

    https://doxfer.webmin.com/Webmin/Module_Development

     
  • Voldemar

    Voldemar - 2023-08-18

    The problem is not solved, but to work around it, I open a new Webmin tab in the browser, and close the old one.

     
    • Ilia

      Ilia - 2023-08-18

      If APC UPS Webmin module used ui_page_refresh() Perl sub it would work correctly. Most probably, it's using location.reload(); method directly, and in this case it wouldn't work as expected in Authentic theme (or any other SPA application).

      So, the problem is solved on our side. Please contact module developer and pass my message. It should be trivial to fix.

       
  • Voldemar

    Voldemar - 2023-08-28

    Unfortunately, this module is no longer supported...

     
    • Ilia

      Ilia - 2023-08-28

      In this case scenario you should patch the module yourself and/or use Framed Theme, which would work just fine with full window reload.

       

Log in to post a comment.