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

Varrious fixes for errors found in fvwm3-output.log #922

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

somiaj
Copy link
Collaborator

@somiaj somiaj commented Nov 7, 2023

In order to clean up the error log file I found that:

  • There were some instances of still using now removed color options. Removed them.
  • fvwm-menu-desktop was creating various errors in its menu output. Fixed them.
  • Removed pan_frame debugging, it is no longer needed and was filling up the log.

  The color commands have already been removed in favor of colorsets.
  This removes some commands that got missed in the removal.
  Applications with spaces caused a bad style option because
  of missing quotes. This adds quotes around the application name
  to deal with applications with spaces.
Copy link
Member

@ThomasAdam ThomasAdam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one request for change -- see in-line comments.

fvwm/events.c Show resolved Hide resolved
fvwm/virtual.c Show resolved Hide resolved
fvwm/virtual.c Show resolved Hide resolved
fvwm/virtual.c Show resolved Hide resolved
fvwm/virtual.c Outdated
Comment on lines 1379 to 1394
fvwm_debug(__func__, "Window is PanFrame top\n");
return True;
}

if (is_pf_bottom) {
fvwm_debug(__func__, "Window is PanFrame bottom\n");
return True;
}

if (is_pf_left) {
fvwm_debug(__func__, "Window is PanFrame left\n");
return True;
}

if (is_pf_right) {
fvwm_debug(__func__, "Window is PanFrame right\n");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These could do with staying around for now -- I still see weird things with different sized monitors and configurations where panframes can go wandering to different locations.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, they are back. I just do a lot of EdgeScrolling and my logs are getting filled with these messages.

  If xdg wasn't able to find a valid icon, the icon would revert
  to a string that is not a valid icon path, causing fvwm to
  return an error.  Add one final check to ensure that the icon
  path exists before using it.
@ThomasAdam ThomasAdam merged commit d47b2ba into main Nov 7, 2023
5 checks passed
@ThomasAdam ThomasAdam deleted the js/various-error-fixes branch November 7, 2023 16:42
@ThomasAdam
Copy link
Member

Awesome! Thanks, @somiaj.

@ThomasAdam ThomasAdam added the type:bug Something's broken! label Nov 7, 2023
@ThomasAdam ThomasAdam added this to the 1.0.9 milestone Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something's broken!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants