Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartIconic/IconGeometry bugs with dual monitor/dual pagers #1044

Open
ileGITimo opened this issue Jul 5, 2024 · 7 comments
Open

StartIconic/IconGeometry bugs with dual monitor/dual pagers #1044

ileGITimo opened this issue Jul 5, 2024 · 7 comments
Assignees
Labels
relates:module Issue is in module code type:bug Something's broken!

Comments

@ileGITimo
Copy link
Contributor

ileGITimo commented Jul 5, 2024

fvwm3 1.1.0 (1.0.9-77-g94da9d16)
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS

Linux 6.9.6-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 21 15:48:21 UTC 2024 x86_64 GNU/Linux

I only specify the x and y position for my pagers, not width nor height.

With both 1.1.0 and Head (1.1.1 xxx) when I start pagers on the left and right monitors, in iconic state, they both show up on the left monitor, in positions that don't seem to respect the IconGeometry x and y spec, but different for each pager.

When I right click on them to make them normal state, they end up on the correct monitor, obeying the Geometry option x an y spec.

When I again minimize them, they now stay in the correct monitor, which is strange, and both are i n the same x, y location, still not the one in IconGeometry.

(To make things a bit more confusing, 1.1.0 shows desks -1,0,1, as requested, but 1.1.1 (as of around 8 am PDT) only shows desks 0 and 1??.

Relevant config options below, for two 1920x1080 left and right monitors:

DeskTopSize 12x1
DesktopConfiguration per-monitor

Style "FvwmPager" CirculateSkip, WindowListSkip, Sticky, StickyIcon, !Handles

DestroyModuleConfig FvwmPagerL:*
DestroyModuleConfig FvwmPagerR:*

*FvwmPagerL: Monitor DisplayPort-0
*FvwmPagerL: Back LightSteelBlue4
*FvwmPagerL: Fore LightSteelBlue3
*FvwmPagerL: Hilight LightSteelBlue2
*FvwmPagerL: Rows 1
*FvwmPagerL: Columns 1
*FvwmPagerL: Geometry -1921-1
*FvwmPagerL: IconGeometry -1921-1
*FvwmPagerL: Font none
*FvwmPagerL: SmallFont -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-15
*FvwmPagerL: StartIconic

*FvwmPagerR: Monitor HDMI-A-0
*FvwmPagerR: Back LightSteelBlue4
*FvwmPagerR: Fore LightSteelBlue3
*FvwmPagerR: Hilight LightSteelBlue2
*FvwmPagerR: Rows 1
*FvwmPagerR: Columns 1
*FvwmPagerR: Geometry -1-1
*FvwmPagerR: IconGeometry -1-1
*FvwmPagerR: Font none
*FvwmPagerR: SmallFont -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-15
*FvwmPagerR: StartIconic

AddToFunc GoHome

  • "I" GoToDesk 0 0
  • "I" GoToPage 0 0

DestroyFunc StartFunction
AddToFunc StartFunction

  • "I" Test (Start) Module FvwmPager FvwmPagerL -1 1
  • "I" Test (Start) Module FvwmPager FvwmPagerR -1 1
  • "I" GoHome
  • "I" Next (CurrentScreen, CurrentDesk) WarpToWindow 50 10p
@ileGITimo ileGITimo added the type:bug Something's broken! label Jul 5, 2024
@ThomasAdam
Copy link
Member

Do you have any Style settings using IconBox/IconFill at all?

@ileGITimo
Copy link
Contributor Author

Yes
Style * IconBox 500x50+200-1, IconSize Shrunk 50 50 50 50
Let me get rid of this and retry.

@ileGITimo
Copy link
Contributor Author

Same problem, only difference is that the iconic pagers show up at top left of the left monitor (0,0?), and right below it, (IconBox defaults?) with one still on the wrong monitor. Going to normal state show proper position/monitor. Back to icons now they are both at 0.0, of their assigned monitor.

Need to tell IconBox to not capture pager icons? Didn't have to do this (explicitly) for fvwm2.
And it seems start iconic doesn't respect the assigned monitor, until going to normal then back to icon.

@ThomasAdam
Copy link
Member

I'll take a look later. Thanks.

@ThomasAdam ThomasAdam added the relates:module Issue is in module code label Jul 5, 2024
@ThomasAdam ThomasAdam self-assigned this Jul 5, 2024
@ThomasAdam ThomasAdam added this to FVWM3 Jul 5, 2024
@github-project-automation github-project-automation bot moved this to To do in FVWM3 Jul 5, 2024
@ThomasAdam ThomasAdam added this to the 1.1.1 milestone Jul 5, 2024
@ileGITimo
Copy link
Contributor Author

Sure. And also that 1.1.1 doesn't respect the # of desks. Thanks.

@ileGITimo
Copy link
Contributor Author

I'll close this:-)

Added "IconBox None" to my config. Did a make clean, make install, rebooted, and now both pagers geometries and monitors are respected. One of those did it.

However, argc parsing on github's modules/FvwmPager/FvwmPager.c now contains the following lines

	if (desk1 < 0)
		desk1 = 0;
	if (desk2 < 0)
		desk2 = 0;

which explains why my "Pager -1 1", becomes "Pager 0 1". Are we losing our negative desks?

@github-project-automation github-project-automation bot moved this from To do to Done in FVWM3 Jul 7, 2024
@ThomasAdam ThomasAdam reopened this Jul 7, 2024
@github-project-automation github-project-automation bot moved this from Done to To do in FVWM3 Jul 7, 2024
@ThomasAdam
Copy link
Member

Reopening.

There's still more things I can do to make this work better with icon box styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relates:module Issue is in module code type:bug Something's broken!
Projects
Status: To do
Development

No branches or pull requests

2 participants