Menu

#23 Initial 4pane window is huge on multi-monitor

v1.0_(example)
open
nobody
ui (1)
5
2025-04-20
2025-02-05
Paul Walker
No

I've got a multi-monitor setup; three monitors (all different sizes and resolutions, because of course they are). When I open 4Pane the initial window is huge, spanning across at least all three monitors, which is sub-optimal. :-)

Possibly related - I couldn't see any scroll-bars in the secondary (file) pane, so I wasn't able to see times etc, just filenames. That might be a separate issue though, happy to raise a second ticket if it persists after this is fixed.

xdpyinfo output is attached - I suspect the problem is here:

screen #0:
  dimensions:    7280x1349 pixels (1926x356 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xc1

I don't know enough wxWidgets to know if there's a way to get details of how the screen's composed, though.

1 Attachments

Discussion

  • Paul Walker

    Paul Walker - 2025-02-05

    wxDisplay::GetCount() returns 1, which I suppose isn't surprising given xdpyinfo output, so there might not be much you can do here I guess. :-(

     
  • David Hart

    David Hart - 2025-02-06

    Thank you for your bug-report.

    so there might not be much you can do here I guess.

    Indeed; it's unlikely to be a problem with 4Pane itself, but rather coming from the wxWidgets toolkit. And I won't be able to reproduce the bug as I don't multi-monitor.

    Anyway, which distro/version are you using? And which wxWidgets version? (You can find the latter by doing Ctrl-Alt-Middleclick inside any wxWidgets app.)

    The latest wxWidgets release is 3.2.6. If you are using something much earlier, it would be worth upgrading as there have been multiple fixes for this sort of issue over the last few years.

     
  • Paul Walker

    Paul Walker - 2025-04-20

    Hi

    Apologies for leaving this for a while; the X server says it's got a huge width, so wxWidgets (and therefore 4Pane) can only believe it.

    Is there a way (in a config file, or command-line arguments) to set the initial window size on opening? I couldn't see one in the online manual but I may have just missed it.

    Thanks
    Paul

     

Log in to post a comment.

MongoDB Logo MongoDB